Re: [PATCH] x86/pti: Add pti= cmdline option and documentation
From: Will Deacon
Date: Tue Dec 12 2017 - 09:28:55 EST
Hi Borislav, [+ tglx]
On Tue, Dec 12, 2017 at 02:39:52PM +0100, Borislav Petkov wrote:
> From: Borislav Petkov <bp@xxxxxxx>
>
> Keep the "nopti" for traditional reasons.
>
> Requested-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Borislav Petkov <bp@xxxxxxx>
> Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
> Cc: Andy Lutomirsky <luto@xxxxxxxxxx>
> Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> Cc: Dave Hansen <dave.hansen@xxxxxxxxx>
> Cc: Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx>
> Cc: keescook@xxxxxxxxxx
> Cc: hughd@xxxxxxxxxx
> Cc: Brian Gerst <brgerst@xxxxxxxxx>
> Cc: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
> Cc: Denys Vlasenko <dvlasenk@xxxxxxxxxx>
> Cc: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
> Cc: Juergen Gross <jgross@xxxxxxxx>
> Cc: David Laight <David.Laight@xxxxxxxxxx>
> Cc: Eduardo Valentin <eduval@xxxxxxxxxx>
> Cc: aliguori@xxxxxxxxxx
> Cc: Will Deacon <will.deacon@xxxxxxx>
> Cc: daniel.gruss@xxxxxxxxxxxxxx
> ---
> Documentation/admin-guide/kernel-parameters.txt | 6 ++++++
> arch/x86/mm/pti.c | 18 ++++++++++++++++++
> 2 files changed, 24 insertions(+)
On arm64, I've gone for kpti=. I'm happy to change this to align with x86,
but the patches are queued now so I don't want to keep changing it.
Is "pti=" definitely what you're going for on x86?
Will