Commit 75e3808b authored by Oliver Pinter's avatar Oliver Pinter Committed by Thomas Gleixner

x86: add cpu codenames for Kconfig.cpu

add cpu core name for arch/i386/Kconfig.cpu:Pentium 4 sections help
add Pentium D for arch/i386/Kconfig.cpu
add Pentium D for arch/x86_64/Kconfig

AK: Clarified some of the descriptions
[ tglx: arch/x86 adaptation ]
Signed-off-by: default avatarOliver Pinter <oliver.pntr@gmail.com>
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent fb893e99
...@@ -109,16 +109,42 @@ config MCORE2 ...@@ -109,16 +109,42 @@ config MCORE2
help help
Select this for Intel Core 2 and newer Core 2 Xeons (Xeon 51xx and 53xx) Select this for Intel Core 2 and newer Core 2 Xeons (Xeon 51xx and 53xx)
CPUs. You can distinguish newer from older Xeons by the CPU family CPUs. You can distinguish newer from older Xeons by the CPU family
in /proc/cpuinfo. Newer ones have 6. in /proc/cpuinfo. Newer ones have 6 and older ones 15 (not a typo)
config MPENTIUM4 config MPENTIUM4
bool "Pentium-4/Celeron(P4-based)/Pentium-4 M/older Xeon" bool "Pentium-4/Celeron(P4-based)/Pentium-4 M/older Xeon"
help help
Select this for Intel Pentium 4 chips. This includes the Select this for Intel Pentium 4 chips. This includes the
Pentium 4, P4-based Celeron and Xeon, and Pentium-4 M Pentium 4, Pentium D, P4-based Celeron and Xeon, and
(not Pentium M) chips. This option enables compile flags Pentium-4 M (not Pentium M) chips. This option enables compile
optimized for the chip, uses the correct cache shift, and flags optimized for the chip, uses the correct cache line size, and
applies any applicable Pentium III optimizations. applies any applicable optimizations.
CPUIDs: F[0-6][1-A] (in /proc/cpuinfo show = cpu family : 15 )
Select this for:
Pentiums (Pentium 4, Pentium D, Celeron, Celeron D) corename:
-Willamette
-Northwood
-Mobile Pentium 4
-Mobile Pentium 4 M
-Extreme Edition (Gallatin)
-Prescott
-Prescott 2M
-Cedar Mill
-Presler
-Smithfiled
Xeons (Intel Xeon, Xeon MP, Xeon LV, Xeon MV) corename:
-Foster
-Prestonia
-Gallatin
-Nocona
-Irwindale
-Cranford
-Potomac
-Paxville
-Dempsey
config MK6 config MK6
bool "K6/K6-II/K6-III" bool "K6/K6-II/K6-III"
......
...@@ -175,14 +175,12 @@ config MK8 ...@@ -175,14 +175,12 @@ config MK8
config MPSC config MPSC
bool "Intel P4 / older Netburst based Xeon" bool "Intel P4 / older Netburst based Xeon"
help help
Optimize for Intel Pentium 4 and older Nocona/Dempsey Xeon CPUs Optimize for Intel Pentium 4, Pentium D and older Nocona/Dempsey
with Intel Extended Memory 64 Technology(EM64T). For details see Xeon CPUs with Intel 64bit which is compatible with x86-64.
<http://www.intel.com/technology/64bitextensions/>.
Note that the latest Xeons (Xeon 51xx and 53xx) are not based on the Note that the latest Xeons (Xeon 51xx and 53xx) are not based on the
Netburst core and shouldn't use this option. You can distinguish them Netburst core and shouldn't use this option. You can distinguish them
using the cpu family field using the cpu family field
in /proc/cpuinfo. Family 15 is an older Xeon, Family 6 a newer one in /proc/cpuinfo. Family 15 is an older Xeon, Family 6 a newer one.
(this rule only applies to systems that support EM64T)
config MCORE2 config MCORE2
bool "Intel Core2 / newer Xeon" bool "Intel Core2 / newer Xeon"
...@@ -190,8 +188,7 @@ config MCORE2 ...@@ -190,8 +188,7 @@ config MCORE2
Optimize for Intel Core2 and newer Xeons (51xx) Optimize for Intel Core2 and newer Xeons (51xx)
You can distinguish the newer Xeons from the older ones using You can distinguish the newer Xeons from the older ones using
the cpu family field in /proc/cpuinfo. 15 is an older Xeon the cpu family field in /proc/cpuinfo. 15 is an older Xeon
(use CONFIG_MPSC then), 6 is a newer one. This rule only (use CONFIG_MPSC then), 6 is a newer one.
applies to CPUs that support EM64T.
config GENERIC_CPU config GENERIC_CPU
bool "Generic-x86-64" bool "Generic-x86-64"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment