[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230510065713.10996-2-lukas.bulwahn@gmail.com>
Date: Wed, 10 May 2023 08:57:12 +0200
From: Lukas Bulwahn <lukas.bulwahn@...il.com>
To: Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
Dave Hansen <dave.hansen@...ux.intel.com>, x86@...nel.org,
"H . Peter Anvin" <hpa@...or.com>
Cc: Masahiro Yamada <masahiroy@...nel.org>,
Arnd Bergmann <arnd@...db.de>, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org,
Lukas Bulwahn <lukas.bulwahn@...il.com>
Subject: [PATCH 1/2] x86: make X86_FEATURE_NAMES non-configurable in prompt
While discussing to change the visibility of X86_FEATURE_NAMES (see Link)
in order to remove CONFIG_EMBEDDED, Boris suggested to simply make the
X86_FEATURE_NAMES functionality unconditional.
As a first step, make X86_FEATURE_NAMES disappear in the config prompt. So,
as X86_FEATURE_NAMES defaults to yes, to disable it, one now needs to
modify the .config file before compiling the kernel.
If there are no complaints on this config after a grace period, we can then
further remove the config entirely.
Link: https://lore.kernel.org/all/20230509084007.24373-1-lukas.bulwahn@gmail.com/
Suggested-by: Borislav Petkov <bp@...en8.de>
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@...il.com>
---
arch/x86/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 53bab123a8ee..a7db116e429a 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -442,7 +442,7 @@ config SMP
If you don't know what to do here, say N.
config X86_FEATURE_NAMES
- bool "Processor feature human-readable names" if EMBEDDED
+ bool
default y
help
This option compiles in a table of x86 feature bits and corresponding
--
2.17.1
Powered by blists - more mailing lists