From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752605AbeAESCF (ORCPT + 1 other); Fri, 5 Jan 2018 13:02:05 -0500 Received: from merlin.infradead.org ([205.233.59.134]:35866 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752263AbeAESCC (ORCPT ); Fri, 5 Jan 2018 13:02:02 -0500 Subject: Re: [PATCH] [v4] x86/doc: add PTI description To: Dave Hansen , linux-kernel@vger.kernel.org Cc: x86@kernel.org, keescook@chromium.org, moritz.lipp@iaik.tugraz.at, daniel.gruss@iaik.tugraz.at, michael.schwarz@iaik.tugraz.at, richard.fellner@student.tugraz.at, luto@kernel.org, torvalds@linux-foundation.org, hughd@google.com References: <20180105174436.1BC6FA2B@viggo.jf.intel.com> From: Randy Dunlap Message-ID: Date: Fri, 5 Jan 2018 10:01:35 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20180105174436.1BC6FA2B@viggo.jf.intel.com> 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/05/2018 09:44 AM, Dave Hansen wrote: > Changes from v3: > * Increasingly minor text fixes. Yeah. Just merge it and use patches for anything else. Reviewed-by: Randy Dunlap Thanks. > Changes from v2: > * Update some wording > * Minor typo and grammar fixes > * Further clarify what INVPCID is. > > Changes from v1: > * update kernel-parameters.txt to clarify that the pti= option > is not just for disabling. Also describe what 'pti=auto' does > and why > * Add a note about the presence of NX in the user portion of the > kernel page tables > * Clarify _additional_ 4k of PGD space > * Add a note about the runtime overhead of PCID without INVPCID > > --- > > From: Dave Hansen > > Add some details about how PTI works, what some of the downsides > are, and how to debug it when things go wrong. > > Also document the kernel parameter: 'nopti'. > > Signed-off-by: Dave Hansen > Reviewed-by: Kees Cook > Cc: Moritz Lipp > Cc: Daniel Gruss > Cc: Michael Schwarz > Cc: Richard Fellner > Cc: Andy Lutomirski > Cc: Linus Torvalds > Cc: Hugh Dickins > Cc: x86@kernel.org > --- > > b/Documentation/admin-guide/kernel-parameters.txt | 21 +- > b/Documentation/x86/pti.txt | 186 ++++++++++++++++++++++ > 2 files changed, 200 insertions(+), 7 deletions(-) -- ~Randy