]> git.ipfire.org Git - thirdparty/linux.git/commit
x86/bugs: Remove CONFIG_BHI_MITIGATION_AUTO and spectre_bhi=auto
authorJosh Poimboeuf <jpoimboe@kernel.org>
Thu, 11 Apr 2024 05:40:50 +0000 (22:40 -0700)
committerIngo Molnar <mingo@kernel.org>
Fri, 12 Apr 2024 10:05:54 +0000 (12:05 +0200)
commit36d4fe147c870f6d3f6602befd7ef44393a1c87a
treedc661efcbf9df6eb054f91302e3d59ff9299b33f
parent5f882f3b0a8bf0788d5a0ee44b1191de5319bb8a
x86/bugs: Remove CONFIG_BHI_MITIGATION_AUTO and spectre_bhi=auto

Unlike most other mitigations' "auto" options, spectre_bhi=auto only
mitigates newer systems, which is confusing and not particularly useful.

Remove it.

Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Nikolay Borisov <nik.borisov@suse.com>
Cc: Sean Christopherson <seanjc@google.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/r/412e9dc87971b622bbbaf64740ebc1f140bff343.1712813475.git.jpoimboe@kernel.org
Documentation/admin-guide/hw-vuln/spectre.rst
Documentation/admin-guide/kernel-parameters.txt
arch/x86/Kconfig
arch/x86/kernel/cpu/bugs.c