From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f71.google.com (mail-wm0-f71.google.com [74.125.82.71]) by kanga.kvack.org (Postfix) with ESMTP id C9D1A28024A for ; Tue, 16 Jan 2018 16:20:47 -0500 (EST) Received: by mail-wm0-f71.google.com with SMTP id r82so2801914wme.0 for ; Tue, 16 Jan 2018 13:20:47 -0800 (PST) Received: from Galois.linutronix.de (Galois.linutronix.de. [2a01:7a0:2:106d:700::1]) by mx.google.com with ESMTPS id b62si2455832wma.55.2018.01.16.13.20.46 for (version=TLS1_2 cipher=AES128-SHA bits=128/128); Tue, 16 Jan 2018 13:20:46 -0800 (PST) Date: Tue, 16 Jan 2018 22:20:40 +0100 (CET) From: Thomas Gleixner Subject: Re: [RFC PATCH 00/16] PTI support for x86-32 In-Reply-To: <1516120619-1159-1-git-send-email-joro@8bytes.org> Message-ID: References: <1516120619-1159-1-git-send-email-joro@8bytes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Joerg Roedel Cc: Ingo Molnar , "H . Peter Anvin" , x86@kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Linus Torvalds , Andy Lutomirski , Dave Hansen , Josh Poimboeuf , Juergen Gross , Peter Zijlstra , Borislav Petkov , Jiri Kosina , Boris Ostrovsky , Brian Gerst , David Laight , Denys Vlasenko , Eduardo Valentin , Greg KH , Will Deacon , aliguori@amazon.com, daniel.gruss@iaik.tugraz.at, hughd@google.com, keescook@google.com, Andrea Arcangeli , Waiman Long , jroedel@suse.de On Tue, 16 Jan 2018, Joerg Roedel wrote: > here is my current WIP code to enable PTI on x86-32. It is > still in a pretty early state, but it successfully boots my > KVM guest with PAE and with legacy paging. The existing PTI > code for x86-64 already prepares a lot of the stuff needed > for 32 bit too, thanks for that to all the people involved > in its development :) > 16 files changed, 333 insertions(+), 123 deletions(-) Impressively small and well done ! Can you please make that patch set against git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-pti-for-linus so we immediately have it backportable for 4.14 stable? It's only a trivial conflict in pgtable.h, but we'd like to make the life of stable as simple as possible. They have enough headache with the pre 4.14 trees. We can pick some of the simple patches which make defines and inlines available out of the pile right away and apply them to x86/pti to shrink the amount of stuff you have to worry about. Thanks, tglx -- 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