[GIT PATCH 01/02] add cpu codenames for Kconfig.cpu (i386, x86_64)

From: Oliver Pinter
Date: Thu Jul 26 2007 - 14:55:48 EST


commit 3393c5c744b1d18e73776c6e20f3676c9f2c07eb
Author: oliver <oliver@pancs.(none)>
Date: Thu Jul 26 20:33:47 2007 +0200

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

Signed-off-by: Oliver Pinter <oliver.pntr@xxxxxxxxx>

arch/i386/Kconfig.cpu | 34 +++++++++++++++++++++++++++++++---
arch/x86_64/Kconfig | 6 +++---
2 files changed, 34 insertions(+), 6 deletions(-)

--
Thanks,
Oliver
commit 3393c5c744b1d18e73776c6e20f3676c9f2c07eb
Author: Oliver Pinter <oliver.pntr@xxxxxxxxx>
Date: Thu Jul 26 20:33:47 2007 +0200

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

Signed-off-by: Oliver Pinter <oliver.pntr@xxxxxxxxx>

diff --git a/arch/i386/Kconfig.cpu b/arch/i386/Kconfig.cpu
index 11a24d5..af701b3 100644
--- a/arch/i386/Kconfig.cpu
+++ b/arch/i386/Kconfig.cpu
@@ -115,11 +115,39 @@ config MPENTIUM4
bool "Pentium-4/Celeron(P4-based)/Pentium-4 M/older Xeon"
help
Select this for Intel Pentium 4 chips. This includes the
- Pentium 4, P4-based Celeron and Xeon, and Pentium-4 M
- (not Pentium M) chips. This option enables compile flags
- optimized for the chip, uses the correct cache shift, and
+ Pentium 4, Pentium D, P4-based Celeron and Xeon, and
+ Pentium-4 M (not Pentium M) chips. This option enables compile
+ flags optimized for the chip, uses the correct cache shift, and
applies any applicable Pentium III 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
+
+ more info: http://balusc.xs4all.nl/srv/har-cpu.html
+
+
config MK6
bool "K6/K6-II/K6-III"
help
diff --git a/arch/x86_64/Kconfig b/arch/x86_64/Kconfig
index 45f82ae..47807e5 100644
--- a/arch/x86_64/Kconfig
+++ b/arch/x86_64/Kconfig
@@ -169,9 +169,9 @@ config MK8
config MPSC
bool "Intel P4 / older Netburst based Xeon"
help
- Optimize for Intel Pentium 4 and older Nocona/Dempsey Xeon CPUs
- with Intel Extended Memory 64 Technology(EM64T). For details see
- <http://www.intel.com/technology/64bitextensions/>.
+ Optimize for Intel Pentium 4, Pentium D and older Nocona/Dempsey
+ Xeon CPUs with Intel Extended Memory 64 Technology(EM64T). For
+ details see <http://www.intel.com/technology/64bitextensions/>.
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
using the cpu family field