]> git.ipfire.org Git - thirdparty/linux.git/commit
x86/cpu: Drop configuration options for early 64-bit CPUs
authorArnd Bergmann <arnd@arndb.de>
Wed, 26 Feb 2025 21:37:08 +0000 (22:37 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 27 Feb 2025 10:19:06 +0000 (11:19 +0100)
commitf388f60ca9041a95c9b3f157d316ed7c8f297e44
treefd5edc7e09260bbddab23ed002082c7607849e8d
parentfc2d5cbe541032e74a66599ba843803cebbfed0e
x86/cpu: Drop configuration options for early 64-bit CPUs

The x86 CPU selection menu is confusing for a number of reasons:

When configuring 32-bit kernels, it shows a small number of early 64-bit
microarchitectures (K8, Core 2) but not the regular generic 64-bit target
that is the normal default.  There is no longer a reason to run 32-bit
kernels on production 64-bit systems, so only actual 32-bit CPUs need
to be shown here.

When configuring 64-bit kernels, the options also pointless as there is
no way to pick any CPU from the past 15 years, leaving GENERIC_CPU as
the only sensible choice.

Address both of the above by removing the obsolete options and making
all 64-bit kernels run on both Intel and AMD CPUs from any generation.
Testing generic 32-bit kernels on 64-bit hardware remains possible,
just not building a 32-bit kernel that requires a 64-bit CPU.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/r/20250226213714.4040853-5-arnd@kernel.org
arch/x86/Kconfig.cpu
arch/x86/Makefile
arch/x86/Makefile_32.cpu
arch/x86/include/asm/vermagic.h
drivers/misc/mei/Kconfig