Skip to contentSkip to conversation

x86/cpu: keep the PROCESSOR_SELECT menu together

PATCH Applied Randy Dunlap 2 participants 2 messages May 19 – Jun 1 x86

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 x86/cpu: keep the PROCESSOR_SELECT menu together

Having a stray kconfig symbol in the middle of the PROCESSOR_SELECT menu (this symbol plus its dependent symbols) causes the menu dependencies not to be displayed correctly in "make {menu,n,g,x}config".

Move the BROADCAST_TLB_FLUSH symbol away from the PROCESSOR_SELECT menu so that the list of processors is displayed correctly.

Fixes 767ae437a32d ("x86/mm: Add INVLPGB feature and Kconfig entry")

---
v2: change subject from x86/mm to x86/cpu;
note that this affects all "make *config" variants

Cc Rik van Riel <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc Dave Hansen <[email protected]>
 arch/x86/Kconfig.cpu |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
arch/x86/Kconfig.cpu +4 -4
@@ -302,10 +302,6 @@ menuconfig PROCESSOR_SELECT
 	  This lets you choose what x86 vendor support code your kernel
 	  will include.
 
-config BROADCAST_TLB_FLUSH
-	def_bool y
-	depends on CPU_SUP_AMD && 64BIT
-
 config CPU_SUP_INTEL
 	default y
 	bool "Support Intel processors" if PROCESSOR_SELECT
@@ -412,3 +408,7 @@ config CPU_SUP_VORTEX_32
 	  makes the kernel a tiny bit smaller.
 
 	  If unsure, say N.
+
+config BROADCAST_TLB_FLUSH
+	def_bool y
+	depends on CPU_SUP_AMD && 64BIT
merge bot Applied
#1 lore raw

[tip: x86/cleanups] x86/cpu: Keep the PROCESSOR_SELECT menu together

The following commit has been merged into the x86/cleanups branch of tip:

The following commit has been merged into the x86/cleanups branch of tip:

Commit-ID:     1df61a8b2d01c560822a0421f2a76af7fda34c1f
Gitweb:        https://git.kernel.org/tip/1df61a8b2d01c560822a0421f2a76af7fda34c1f
Author:        Randy Dunlap <[email protected]>
AuthorDate:    Tue, 19 May 2026 10:35:26 -07:00
Committer:     Borislav Petkov (AMD) <[email protected]>
CommitterDate: Mon, 01 Jun 2026 13:44:56 -07:00

x86/cpu: Keep the PROCESSOR_SELECT menu together

Having a stray kconfig symbol in the middle of the PROCESSOR_SELECT menu (this symbol plus its dependent symbols) causes the menu dependencies not to be displayed correctly in "make {menu,n,g,x}config".

Move the BROADCAST_TLB_FLUSH symbol away from the PROCESSOR_SELECT menu so that the list of processors is displayed correctly.

Fixes 767ae437a32d ("x86/mm: Add INVLPGB feature and Kconfig entry")
---
 arch/x86/Kconfig.cpu | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
arch/x86/Kconfig.cpu +4 -4
index d7ba921..df003a4 100644
@@ -334,10 +334,6 @@ menuconfig PROCESSOR_SELECT
 	  This lets you choose what x86 vendor support code your kernel
 	  will include.
 
-config BROADCAST_TLB_FLUSH
-	def_bool y
-	depends on CPU_SUP_AMD && 64BIT
-
 config CPU_SUP_INTEL
 	default y
 	bool "Support Intel processors" if PROCESSOR_SELECT
@@ -458,3 +454,7 @@ config CPU_SUP_VORTEX_32
 	  makes the kernel a tiny bit smaller.
 
 	  If unsure, say N.
+
+config BROADCAST_TLB_FLUSH
+	def_bool y
+	depends on CPU_SUP_AMD && 64BIT