]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
x86/cpu: Remove TSC-less CONFIG_M586 support
authorIngo Molnar <mingo@kernel.org>
Fri, 25 Apr 2025 08:42:01 +0000 (10:42 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 6 May 2026 06:02:10 +0000 (08:02 +0200)
Remove support for TSC-less Pentium variants.

All TSC-capable Pentium variants, derivatives and
clones should still work under the M586TSC or M586MMX
options.

Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/r/20250425084216.3913608-5-mingo@kernel.org
arch/x86/Kconfig.cpu
arch/x86/Makefile_32.cpu
arch/x86/include/asm/vermagic.h

index 71f264443d78b7fd7036d59a33aee94192e54cef..9b912091dabd8b48fa4a6ee92c942392e7490aad 100644 (file)
@@ -43,14 +43,6 @@ choice
          See each option's help text for additional details. If you don't know
          what to do, choose "Pentium-Pro".
 
-config M586
-       bool "586/K5/5x86/6x86/6x86MX"
-       depends on X86_32
-       help
-         Select this for an 586 or 686 series processor such as the AMD K5,
-         the Cyrix 5x86, 6x86 and 6x86MX.  This choice does not
-         assume the RDTSC (Read Time Stamp Counter) instruction.
-
 config M586TSC
        bool "Pentium-Classic"
        depends on X86_32
@@ -250,7 +242,7 @@ config X86_L1_CACHE_SHIFT
        default "7" if MPENTIUM4
        default "6" if MK7 || MPENTIUMM || MATOM || MVIAC7 || X86_GENERIC || X86_64
        default "4" if MGEODEGX1
-       default "5" if MCRUSOE || MEFFICEON || MCYRIXIII || MK6 || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || M586TSC || M586 || MVIAC3_2 || MGEODE_LX
+       default "5" if MCRUSOE || MEFFICEON || MCYRIXIII || MK6 || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || M586TSC || MVIAC3_2 || MGEODE_LX
 
 config X86_F00F_BUG
        def_bool y
index 707827f555d1a21268762434c58e9c7c3fb26540..ec9f34db9a8b40be9cdde363ad6bf25835c5571f 100644 (file)
@@ -10,7 +10,6 @@ else
 align          := -falign-functions=0 -falign-jumps=0 -falign-loops=0
 endif
 
-cflags-$(CONFIG_M586)          += -march=i586
 cflags-$(CONFIG_M586TSC)       += -march=i586
 cflags-$(CONFIG_M586MMX)       += -march=pentium-mmx
 cflags-$(CONFIG_M686)          += -march=i686
index b3a8beb32dfda1b7cf46f5da9fe69f3955f17bdf..e26061df0c9b115350333a4b9efb014c925866b6 100644 (file)
@@ -5,8 +5,6 @@
 
 #ifdef CONFIG_X86_64
 /* X86_64 does not define MODULE_PROC_FAMILY */
-#elif defined CONFIG_M586
-#define MODULE_PROC_FAMILY "586 "
 #elif defined CONFIG_M586TSC
 #define MODULE_PROC_FAMILY "586TSC "
 #elif defined CONFIG_M586MMX