[PATCH v2 0/5] Bugs clean-up
From: David Kaplan
Date: Tue Aug 19 2025 - 15:23:23 EST
Patches 1-3 focus on cleaning up parameter parsing. Most mitigations use
early_param but a few older ones do not and look at boot_command_line
directly. Modify those to be consistent with the newer ones.
Patch 4 adds missing attack vector controls for spec store bypass.
Patch 5 cleans up straggling unnecessary calls to cpu_mitigations_off().
Changes from v1
- Removed spec_*_print_cond() functions
- Fixed bugs pointed out by Pawan
- Added last 2 patches
David Kaplan (5):
x86/bugs: Use early_param for spectre_v2_user
x86/bugs: Use early_param for spectre_v2
x86/bugs: Simplify SSB cmdline parsing
x86/bugs: Add attack vector controls for SSB
x86/bugs: Remove uses of cpu_mitigations_off()
.../hw-vuln/attack_vector_controls.rst | 5 +-
arch/x86/include/asm/nospec-branch.h | 1 +
arch/x86/kernel/cpu/bugs.c | 387 ++++++++----------
3 files changed, 169 insertions(+), 224 deletions(-)
base-commit: 2fd6a6194558303fffd2d7a7fa73fc318d680f38
--
2.34.1