From: Breno Leitao Date: Mon, 29 Jul 2024 16:40:53 +0000 (-0700) Subject: x86/bugs: Add a separate config for RETBLEED X-Git-Tag: v6.12-rc1~224^2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=894e28857c112c5a31517b3837b507f1dcbe9da5;p=thirdparty%2Flinux.git x86/bugs: Add a separate config for RETBLEED Currently, the CONFIG_SPECULATION_MITIGATIONS is halfway populated, where some mitigations have entries in Kconfig, and they could be modified, while others mitigations do not have Kconfig entries, and could not be controlled at build time. Create an entry for the RETBLEED CPU mitigation under CONFIG_SPECULATION_MITIGATIONS. This allow users to enable or disable it at compilation time. Signed-off-by: Breno Leitao Signed-off-by: Borislav Petkov (AMD) Acked-by: Josh Poimboeuf Link: https://lore.kernel.org/r/20240729164105.554296-6-leitao@debian.org --- diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 290f0865fd85c..c9a9f928dddf2 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -2692,6 +2692,19 @@ config MITIGATION_L1TF hardware vulnerability which allows unprivileged speculative access to data available in the Level 1 Data Cache. See