x86: set SPECTRE_BHI_ON as default

BugLink: https://bugs.launchpad.net/bugs/2060909

commit 2bb69f5fc72183e1c62547d900f560d0e9334925 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>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
This commit is contained in:
Greg Kroah-Hartman
2024-04-09 19:32:41 +02:00
committed by Paolo Pisati
parent 0821916c6d
commit 4876d0b75a
+1 -1
View File
@@ -2628,7 +2628,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