Re: [patch 01/24] x86/speculation: Update the TIF_SSBD comment
From: Borislav Petkov
Date: Thu Nov 22 2018 - 12:52:40 EST
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.
Hmmm?
> Now off to eat a giant turkey.
Try not to fall into a turkey coma. :-P
--
Regards/Gruss,
Boris.
Good mailing practices for 400: avoid top-posting and trim the reply.