diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-04-09 20:32:41 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-04-10 17:38:24 +0300 |
commit | 9634ee70691a868737d1e665e3afa5a76f04d523 (patch) | |
tree | aedc6f8c256531b90fa3ff574b4a6c89d2b8143a | |
parent | 15d6de3746ed724b93aca6c16e1ada68d379cb48 (diff) | |
download | linux-9634ee70691a868737d1e665e3afa5a76f04d523.tar.xz |
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/Kconfig | 2 |
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 |