[PATCH 0/3] x86/bugs: Cleanup parameter parsing

From: David Kaplan
Date: Mon Aug 11 2025 - 10:28:02 EST


Most mitigations in bugs.c use early_param for parameter parsing. A few
older ones do not and look at boot_command_line directly.

This series modifies those to be consistent with the newer ones.

David Kaplan (3):
x86/bugs: Use early_param for spectre_v2_user
x86/bugs: Use early_param for spectre_v2
x86/bugs: Simplify SSB cmdline parsing

arch/x86/kernel/cpu/bugs.c | 331 ++++++++++++++++---------------------
1 file changed, 147 insertions(+), 184 deletions(-)


base-commit: 4b6b14d20bc04dcab6dd3ad0d5a50a0f473d1c18
--
2.34.1