diff options
author | David Kaplan <david.kaplan@amd.com> | 2025-09-15 08:47:01 -0500 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2025-09-15 17:26:49 +0200 |
commit | 9a9f8147ae7fd558d6f0d40b560ffbdd408768df (patch) | |
tree | 61a84657022d9b75634e795032055784d64309d6 /scripts/gdb/linux/clk.py | |
parent | 8edb9e77119be3cdd930e71204ee48c4994b217b (diff) |
x86/bugs: Use early_param() for spectre_v2
Most of the mitigations in bugs.c use early_param() for command line parsing.
Rework the spectre_v2 and nospectre_v2 command line options to be
consistent with the others.
Remove spec_v2_print_cond() as informing the user of the their cmdline
choice isn't interesting.
[ bp: Zap spectre_v2_check_cmd(). ]
Signed-off-by: David Kaplan <david.kaplan@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
Link: https://lore.kernel.org/r/20250819192200.2003074-3-david.kaplan@amd.com
Diffstat (limited to 'scripts/gdb/linux/clk.py')
0 files changed, 0 insertions, 0 deletions