summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-04-09 19:32:41 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-04-10 16:38:24 +0200
commit9634ee70691a868737d1e665e3afa5a76f04d523 (patch)
treeaedc6f8c256531b90fa3ff574b4a6c89d2b8143a
parent15d6de3746ed724b93aca6c16e1ada68d379cb48 (diff)
downloadlinux-stable-9634ee70691a868737d1e665e3afa5a76f04d523.tar.gz
linux-stable-9634ee70691a868737d1e665e3afa5a76f04d523.tar.bz2
linux-stable-9634ee70691a868737d1e665e3afa5a76f04d523.zip
x86: set SPECTRE_BHI_ON as default
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>
-rw-r--r--arch/x86/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 316b2d2574fc..890ba8e48bc3 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -2615,7 +2615,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