Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751277AbeAPVUq (ORCPT + 1 other); Tue, 16 Jan 2018 16:20:46 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:44361 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750772AbeAPVUp (ORCPT ); Tue, 16 Jan 2018 16:20:45 -0500 Date: Tue, 16 Jan 2018 22:20:40 +0100 (CET) From: Thomas Gleixner 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 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> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: 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