lkml.org 
[lkml]   [2023]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3] x86/bugs: Add a separate config for each mitigation
On Thu, Oct 05, 2023 at 11:29:02AM -0700, Linus Torvalds wrote:
> ...
> "complex" conditionals may also be annoying, but dammit, they are
> important documentation about why we do those things, and unlike just
> comments that will inevitably bit-rot, they have semantics and get
> tested.

Thanks for explaining - it does make sense to me.

So, from the looks of it, we're halfway there:

- SPECULATION_MITIGATIONS is there for people who want to whack off the
whole crap

- the separate Kconfig switches are for people who want to do
a finer-grained control. And yeah, they might be annoying the first
time but you do them once and then you use the .config forever, like
with anything else.

So yeah, sounds like a plan. Breno, please add Linus' explanation to the
commit message why we're doing it this way, when sending your new
version.

Thx.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette

\
 
 \ /
  Last update: 2023-10-06 11:55    [W:0.075 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site