Skip to contentSkip to conversation

x86: remove NexGen support

PATCH Applied Dmitri Vorobiev 2 participants 2 messages Apr 20, 2008 – Apr 21, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: remove NexGen support

It is claimed that NexGen CPUs were never shipped:

http://lkml.org/lkml/2008/4/20/179

Also, the kernel support for these chips has been broken for a long time, the code intended to support NexGen thereby being essentially dead.

As an outcome of the discussion that can be found using the URL above, this patch removes the NexGen support altogether.

The changes in this patch survived a defconfig build for i386, a couple of successful randconfig builds, as well as a runtime test, which consisted in booting a 32-bit x86 box up to the shell prompt.

---
 arch/x86/Kconfig.cpu         |    4 +-
 arch/x86/kernel/cpu/Makefile |    1 -
 arch/x86/kernel/cpu/nexgen.c |   59 ------------------------------------------
 arch/x86/mm/init_32.c        |    6 ++--
 include/asm-x86/processor.h  |    1 -
 5 files changed, 5 insertions(+), 66 deletions(-)
 delete mode 100644 arch/x86/kernel/cpu/nexgen.c
arch/x86/Kconfig.cpu +2 -2
index ee7ab45..f6c8b38 100644
@@ -21,8 +21,8 @@ config M386
 
 	  Here are the settings recommended for greatest speed:
 	  - "386" for the AMD/Cyrix/Intel 386DX/DXL/SL/SLC/SX, Cyrix/TI
-	  486DLC/DLC2, UMC 486SX-S and NexGen Nx586.  Only "386" kernels
-	  will run on a 386 class machine.
+	  486DLC/DLC2, and UMC 486SX-S.  Only "386" kernels will run on a 386
+	  class machine.
 	  - "486" for the AMD/Cyrix/IBM/Intel 486DX/DX2/DX4 or
 	  SL/SLC/SLC2/SLC3/SX/SX2 and UMC U5D or U5S.
 	  - "586" for generic Pentium CPUs lacking the TSC
arch/x86/kernel/cpu/Makefile +0 -1
index ee7c452..a0c6f81 100644
@@ -11,7 +11,6 @@ obj-$(CONFIG_X86_32)	+= cyrix.o
 obj-$(CONFIG_X86_32)	+= centaur.o
 obj-$(CONFIG_X86_32)	+= transmeta.o
 obj-$(CONFIG_X86_32)	+= intel.o
-obj-$(CONFIG_X86_32)	+= nexgen.o
 obj-$(CONFIG_X86_32)	+= umc.o
 
 obj-$(CONFIG_X86_MCE)	+= mcheck/
arch/x86/kernel/cpu/nexgen.c deleted +0 -59

59 lines not on this page · raw message

arch/x86/mm/init_32.c +3 -3
index baf7c4f..4a47618 100644
@@ -566,9 +566,9 @@ void __init paging_init(void)
 
 /*
  * Test if the WP bit works in supervisor mode. It isn't supported on 386's
- * and also on some strange 486's (NexGen etc.). All 586+'s are OK. This
- * used to involve black magic jumps to work around some nasty CPU bugs,
- * but fortunately the switch to using exceptions got rid of all that.
+ * and also on some strange 486's. All 586+'s are OK. This used to involve
+ * black magic jumps to work around some nasty CPU bugs, but fortunately the
+ * switch to using exceptions got rid of all that.
  */
 static void __init test_wp_bit(void)
 {
include/asm-x86/processor.h +0 -1
index 0b0a859..cf71977 100644
@@ -119,7 +119,6 @@ struct cpuinfo_x86 {
 #define X86_VENDOR_CYRIX	1
 #define X86_VENDOR_AMD		2
 #define X86_VENDOR_UMC		3
-#define X86_VENDOR_NEXGEN	4
 #define X86_VENDOR_CENTAUR	5
 #define X86_VENDOR_TRANSMETA	7
 #define X86_VENDOR_NSC		8
Signature · 1 line
1.5.3
Applied
#1 lore raw
Quoted 8 lines · Dmitri Vorobiev

It is claimed that NexGen CPUs were never shipped:

http://lkml.org/lkml/2008/4/20/179

Also, the kernel support for these chips has been broken for a long time, the code intended to support NexGen thereby being essentially dead.

Quoted 6 lines

As an outcome of the discussion that can be found using the URL above, this patch removes the NexGen support altogether.

The changes in this patch survived a defconfig build for i386, a couple of successful randconfig builds, as well as a runtime test, which consisted in booting a 32-bit x86 box up to the shell prompt.

thanks, applied.

Ingo