Skip to content

Commit

Permalink
x86: set SPECTRE_BHI_ON as default
Browse files Browse the repository at this point in the history
commit 2bb69f5 upstream.

Part of a merge commit from Linus that adjusted the default setting of
SPECTRE_BHI_ON.

Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
gregkh committed Apr 10, 2024
1 parent a976b12 commit 8d8dc7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/Kconfig
Expand Up @@ -2508,7 +2508,7 @@ config MITIGATION_RFDS
choice
prompt "Clear branch history"
depends on CPU_SUP_INTEL
default SPECTRE_BHI_AUTO
default SPECTRE_BHI_ON
help
Enable BHI mitigations. BHI attacks are a form of Spectre V2 attacks
where the branch history buffer is poisoned to speculatively steer
Expand Down

0 comments on commit 8d8dc7e

Please sign in to comment.