lkml.org 
[lkml]   [2004]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [1/4] better i386 CPU selection
On Sat, 10 Jan 2004 01:52:32 +0100
Adrian Bunk <bunk@fs.tum.de> wrote:


> Changes:
>
> - changed the i386 CPU selection from a choice to single options for
> every cpu
> - X86_GENERIC is no longer required
> - renamed the M* variables to CPU_*, this is needed to ask the users
> upgrading from older kernels instead of silently changing the
> semantics
> - X86_GOOD_APIC -> X86_BAD_APIC
> - AMD Elan is a different subarch, you can't configure a kernel that
> runs on both the AMD Elan and other i386 CPUs
> - added optimizing CFLAGS for the AMD Elan
> - gcc 2.95 supports -march=k6 (no need for check_gcc)
> - help text changes/updates
>
> TODO:
> - module versioning
>
>
> diffstat output:
>
> arch/i386/Kconfig | 258 ++++++++++++---------------
> arch/i386/Makefile | 57 +++--
> arch/i386/boot/setup.S | 2
> arch/i386/lib/mmx.c | 2
> drivers/serial/8250.h | 2
> include/asm-i386/apic.h | 4
> include/asm-i386/bugs.h | 7
> include/asm-i386/module.h | 2
> include/asm-i386/processor.h | 4
> include/asm-i386/timex.h | 2
> arch/x86_64/Kconfig | 4
> include/asm-x86_64/apic.h | 2
> arch/i386/kernel/cpu/cpufreq/Kconfig | 2
> arch/i386/mach-voyager/voyager_smp.c | 6
> 14 files changed, 172 insertions(+), 182 deletions(-)
>
>
>
It would be good to also update arch/i386/defconfig, as the current
breaks our auto-compile, which uses 'make defconfig' This patch sets a
default CPU also.

Patch
-------------------------------
diff -Nur a/arch/i386/defconfig b/arch/i386/defconfig
--- a/arch/i386/defconfig 2004-01-16 11:09:48.703161400 -0800
+++ b/arch/i386/defconfig 2004-01-16 10:57:33.690900248 -0800
@@ -48,26 +48,36 @@
# CONFIG_X86_VISWS is not set
# CONFIG_X86_GENERICARCH is not set
# CONFIG_X86_ES7000 is not set
-# CONFIG_M386 is not set
-# CONFIG_M486 is not set
-# CONFIG_M586 is not set
-# CONFIG_M586TSC is not set
-# CONFIG_M586MMX is not set
-# CONFIG_M686 is not set
-# CONFIG_MPENTIUMII is not set
-# CONFIG_MPENTIUMIII is not set
-CONFIG_MPENTIUM4=y
-# CONFIG_MK6 is not set
-# CONFIG_MK7 is not set
-# CONFIG_MK8 is not set
-# CONFIG_MELAN is not set
-# CONFIG_MCRUSOE is not set
-# CONFIG_MWINCHIPC6 is not set
-# CONFIG_MWINCHIP2 is not set
-# CONFIG_MWINCHIP3D is not set
-# CONFIG_MCYRIXIII is not set
-# CONFIG_MVIAC3_2 is not set
-# CONFIG_X86_GENERIC is not set
+
+#
+
+#
+# Processor support
+#
+
+#
+# Select all processors your kernel should support
+#
+# CONFIG_CPU_386 is not set
+# CONFIG_CPU_486 is not set
+# CONFIG_CPU_586 is not set
+# CONFIG_CPU_586TSC is not set
+# CONFIG_CPU_586MMX is not set
+# CONFIG_CPU_686 is not set
+# CONFIG_CPU_PENTIUMII is not set
+# CONFIG_CPU_PENTIUMIII is not set
+# CONFIG_CPU_PENTIUMM is not set
+CONFIG_CPU_PENTIUM4=y
+# CONFIG_CPU_K6 is not set
+# CONFIG_CPU_K7 is not set
+# CONFIG_CPU_K8 is not set
+# CONFIG_CPU_CRUSOE is not set
+# CONFIG_CPU_WINCHIPC6 is not set
+# CONFIG_CPU_WINCHIP2 is not set
+# CONFIG_CPU_WINCHIP3D is not set
+# CONFIG_CPU_CYRIXIII is not set
+# CONFIG_CPU_VIAC3_2 is not set
+CONFIG_CPU_INTEL=y
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=7
-----------------------
cliffw
OSDL
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:00    [W:0.178 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site