diff options
author | Josh Poimboeuf <jpoimboe@kernel.org> | 2024-04-11 08:40:47 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2024-04-11 11:30:33 +0300 |
commit | 1cea8a280dfd1016148a3820676f2f03e3f5b898 (patch) | |
tree | 40f1e43dcec158a28a3df64570a986c068b34ea2 /scripts/gdb/linux/utils.py | |
parent | d0485730d2189ffe5d986d4e9e191f1e4d5ffd24 (diff) | |
download | linux-1cea8a280dfd1016148a3820676f2f03e3f5b898.tar.xz |
x86/bugs: Fix BHI handling of RRSBA
The ARCH_CAP_RRSBA check isn't correct: RRSBA may have already been
disabled by the Spectre v2 mitigation (or can otherwise be disabled by
the BHI mitigation itself if needed). In that case retpolines are fine.
Fixes: ec9404e40e8f ("x86/bhi: Add BHI mitigation knob")
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/6f56f13da34a0834b69163467449be7f58f253dc.1712813475.git.jpoimboe@kernel.org
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions