]> git.itanic.dy.fi Git - linux-stable/commitdiff
x86: set SPECTRE_BHI_ON as default
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Apr 2024 17:32:41 +0000 (19:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Apr 2024 14:38:24 +0000 (16:38 +0200)
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>
arch/x86/Kconfig

index 316b2d2574fc1f02795a22824acb1c849859b0fd..890ba8e48bc39ce3b72df5ba5dccf70f0607ab6b 100644 (file)
@@ -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