diff options
author | 2024-09-04 10:07:11 -0500 | |
---|---|---|
committer | 2024-09-05 11:20:50 +0200 | |
commit | 1dbb6b1495d472806fef1f4c94f5b3e4c89a3c1d (patch) | |
tree | d79e64794d0d71ebca1e3fa7089956c91479be85 /scripts/generate_rust_analyzer.py | |
parent | x86/bugs: Add missing NO_SSB flag (diff) | |
download | linux-rng-1dbb6b1495d472806fef1f4c94f5b3e4c89a3c1d.tar.xz linux-rng-1dbb6b1495d472806fef1f4c94f5b3e4c89a3c1d.zip |
x86/bugs: Fix handling when SRSO mitigation is disabled
When the SRSO mitigation is disabled, either via mitigations=off or
spec_rstack_overflow=off, the warning about the lack of IBPB-enhancing
microcode is printed anyway.
This is unnecessary since the user has turned off the mitigation.
[ bp: Massage, drop SBPB rationale as it doesn't matter because when
mitigations are disabled x86_pred_cmd is not being used anyway. ]
Signed-off-by: David Kaplan <david.kaplan@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Acked-by: Josh Poimboeuf <jpoimboe@kernel.org>
Link: https://lore.kernel.org/r/20240904150711.193022-1-david.kaplan@amd.com
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions