From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751796AbeAPTCb (ORCPT + 1 other); Tue, 16 Jan 2018 14:02:31 -0500 Received: from mga14.intel.com ([192.55.52.115]:61510 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751732AbeAPTC3 (ORCPT ); Tue, 16 Jan 2018 14:02:29 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,369,1511856000"; d="scan'208";a="193827350" Subject: Re: [RFC PATCH 00/16] PTI support for x86-32 To: Linus Torvalds , Joerg Roedel References: <1516120619-1159-1-git-send-email-joro@8bytes.org> Cc: Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , the arch/x86 maintainers , Linux Kernel Mailing List , linux-mm , Andy Lutomirski , Josh Poimboeuf , Juergen Gross , Peter Zijlstra , Borislav Petkov , Jiri Kosina , Boris Ostrovsky , Brian Gerst , David Laight , Denys Vlasenko , Eduardo Valentin , Greg KH , Will Deacon , "Liguori, Anthony" , Daniel Gruss , Hugh Dickins , Kees Cook , Andrea Arcangeli , Waiman Long , Joerg Roedel From: Dave Hansen Message-ID: <90748aea-6fc0-48a5-d154-c98465fea42c@intel.com> Date: Tue, 16 Jan 2018 11:02:28 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On 01/16/2018 10:59 AM, Linus Torvalds wrote: >> The code has not run on bare-metal yet, I'll test that in >> the next days once I setup a 32 bit box again. I also havn't >> tested Wine and DosEMU yet, so this might also be broken. > .. and please run all the segment and syscall selfchecks that Andy has written. > > But yes, checking bare metal, and checking the "odd" applications like > Wine and dosemu (and kvm etc) within the PTI kernel is certainly a > good idea. I tried to document a list of the "gotchas" that tripped us up during the 64-bit effort under "Testing": > https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?h=x86/pti&id=01c9b17bf673b05bb401b76ec763e9730ccf1376 NMIs were a biggie too. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f70.google.com (mail-pg0-f70.google.com [74.125.83.70]) by kanga.kvack.org (Postfix) with ESMTP id B2F356B0280 for ; Tue, 16 Jan 2018 14:02:30 -0500 (EST) Received: by mail-pg0-f70.google.com with SMTP id x24so9839849pge.13 for ; Tue, 16 Jan 2018 11:02:30 -0800 (PST) Received: from mga11.intel.com (mga11.intel.com. [192.55.52.93]) by mx.google.com with ESMTPS id p13si2325603plo.628.2018.01.16.11.02.29 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Jan 2018 11:02:29 -0800 (PST) Subject: Re: [RFC PATCH 00/16] PTI support for x86-32 References: <1516120619-1159-1-git-send-email-joro@8bytes.org> From: Dave Hansen Message-ID: <90748aea-6fc0-48a5-d154-c98465fea42c@intel.com> Date: Tue, 16 Jan 2018 11:02:28 -0800 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Linus Torvalds , Joerg Roedel Cc: Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , the arch/x86 maintainers , Linux Kernel Mailing List , linux-mm , Andy Lutomirski , Josh Poimboeuf , Juergen Gross , Peter Zijlstra , Borislav Petkov , Jiri Kosina , Boris Ostrovsky , Brian Gerst , David Laight , Denys Vlasenko , Eduardo Valentin , Greg KH , Will Deacon , "Liguori, Anthony" , Daniel Gruss , Hugh Dickins , Kees Cook , Andrea Arcangeli , Waiman Long , Joerg Roedel On 01/16/2018 10:59 AM, Linus Torvalds wrote: >> The code has not run on bare-metal yet, I'll test that in >> the next days once I setup a 32 bit box again. I also havn't >> tested Wine and DosEMU yet, so this might also be broken. > .. and please run all the segment and syscall selfchecks that Andy has written. > > But yes, checking bare metal, and checking the "odd" applications like > Wine and dosemu (and kvm etc) within the PTI kernel is certainly a > good idea. I tried to document a list of the "gotchas" that tripped us up during the 64-bit effort under "Testing": > https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?h=x86/pti&id=01c9b17bf673b05bb401b76ec763e9730ccf1376 NMIs were a biggie too. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org