Re: [PATCH v4] x86/bugs: Add a separate config for each mitigation

From: Borislav Petkov
Date: Wed Oct 11 2023 - 15:03:37 EST


On Tue, Oct 10, 2023 at 09:42:52PM -0700, Josh Poimboeuf wrote:
> MITIGATION_PAGE_TABLE_ISOLATION
> MITIGATION_RETPOLINE
> MITIGATION_UNRET_ENTRY
> MITIGATION_CALL_DEPTH_TRACKING
> MITIGATION_IBPB_ENTRY
> MITIGATION_IBRS_ENTRY
> MITIGATION_SRSO
> MITIGATION_SLS

The train has already left the station on those. The other mitigations
don't have "MITIGAT*" at all in front of the name. I.e.:

config RETHUNK
config CALL_DEPTH_TRACKING
...

and prepending them all with MITIGATION_ is going to cause too much
senseless churn for a reason which I don't think is worth the effort.

So let's stick with the current naming scheme and do

config MDS
config TAA
...

and so on.

Thx.

--
Regards/Gruss,
Boris.

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