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.