Re: [PATCH v2 4/5] x86/bugs: Add attack vector controls for SSB

From: Pawan Gupta
Date: Thu Aug 21 2025 - 02:18:07 EST


On Tue, Aug 19, 2025 at 02:21:59PM -0500, David Kaplan wrote:
> @@ -2646,11 +2650,18 @@ early_param("spec_store_bypass_disable", ssb_parse_cmdline);
>
> static void __init ssb_select_mitigation(void)
> {
> - if (!boot_cpu_has_bug(X86_BUG_SPEC_STORE_BYPASS) || cpu_mitigations_off()) {
> + if (!boot_cpu_has_bug(X86_BUG_SPEC_STORE_BYPASS)) {

Nothing major, but this change belongs to the next patch that cleans up
cpu_mitigations_off().