Re: [PATCH] x86/pti: Add pti= cmdline option and documentation

From: Will Deacon
Date: Thu Dec 14 2017 - 10:18:27 EST


On Tue, Dec 12, 2017 at 02:28:56PM +0000, Will Deacon wrote:
> 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?

It was pointed out to me yesterday that "kpti" can be pronounced "cuppatea",
whereas "pti" doesn't roll off the tongue nearly so easily this side of the
pond.

But I would still like to avoid divergence on the name.

Will