[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.21.1811222215360.1665@nanos.tec.linutronix.de>
Date: Thu, 22 Nov 2018 22:17:44 +0100 (CET)
From: Thomas Gleixner <tglx@...utronix.de>
To: Borislav Petkov <bp@...en8.de>
cc: Josh Poimboeuf <jpoimboe@...hat.com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Linux List Kernel Mailing <linux-kernel@...r.kernel.org>,
the arch/x86 maintainers <x86@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Andrew Lutomirski <luto@...nel.org>,
Jiri Kosina <jkosina@...e.cz>, thomas.lendacky@....com,
Andrea Arcangeli <aarcange@...hat.com>,
David Woodhouse <dwmw@...zon.co.uk>,
Andi Kleen <ak@...ux.intel.com>, dave.hansen@...el.com,
Casey Schaufler <casey.schaufler@...el.com>,
"Mallick, Asit K" <asit.k.mallick@...el.com>,
"Van De Ven, Arjan" <arjan@...ux.intel.com>, jcm@...hat.com,
longman9394@...il.com, Greg KH <gregkh@...uxfoundation.org>,
david.c.stewart@...el.com, Kees Cook <keescook@...omium.org>,
Tim Chen <tim.c.chen@...ux.intel.com>
Subject: Re: [patch 01/24] x86/speculation: Update the TIF_SSBD comment
On Thu, 22 Nov 2018, Borislav Petkov wrote:
> On Thu, Nov 22, 2018 at 11:30:04AM -0600, Josh Poimboeuf wrote:
> > But it does describe its purpose, especially in relation to the
> > 'spectre_v2=' option.
>
> Sure, but the thing I'm proposing
>
> spectre_v2_task_isol=
>
> describes it more precisely, IMHO. :)
>
> I.e., "enable/disable spectre v2 task isolation".
>
> > Previously 'spectre_v2=' might have been more appropriately named
> > 'spectre_v2_kernel=' because it only protected the kernel from Spectre
> > v2 attacks. Now with these new patches, 'spectre_v2=on' will protect
> > the entire system.
>
> Hmmm, crazy idea: can we extend the options of spectre_v2= nstead?
>
> spectre_v2=user_isolation,...
> spectre_v2=kernel,...
> spectre_v2=task_isolation,...
>
> and so on?
>
> This way we can do a couple of option switches in one go.
That's results in a huge parser state space and changes the existing
interface. We stay with the separate option.
Thanks,
tglx
Powered by blists - more mailing lists