Re: [PATCH] [4/50] x86: add cpu codenames for Kconfig.cpu

2007-10-01 Thread Andi Kleen

> 
> This will never be up to date. 

It will. There are no new P4 cores anymore.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] [4/50] x86: add cpu codenames for Kconfig.cpu

2007-10-01 Thread Andi Kleen

 
 This will never be up to date. 

It will. There are no new P4 cores anymore.

-Andi
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] [4/50] x86: add cpu codenames for Kconfig.cpu

2007-09-30 Thread Andi Kleen
On Saturday 22 September 2007 00:45:39 Dave Jones wrote:
> On Sat, Sep 22, 2007 at 12:32:02AM +0200, Andi Kleen wrote:
> 
> 
>  > +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
> 
> This seems like yet another list that will need to be perpetually
> kept up to date, and given 99% of users don't know the codename
> of their core, just the marketing name, I question its value.

The problem is that it is hard to distingush Core2 based Xeons
from P4 based Xeons.

There won't be any new Pentium 4 cores so that list should be static.
But yes the C2 list is a little problematic. Will remove that
and just say "family 6" 

Perhaps we should just bit the bullet and add a "optimize for current 
CPU" option.

> 
>  > +more info: http://balusc.xs4all.nl/srv/har-cpu.html
>  
> This URL is dead already.
> 
>  >  config MPSC
>  > bool "Intel P4 / older Netburst based Xeon"
>  > help
> 
> sidenote: I always wondered what 'PSC' stood for ?

Prescott; the Intel codename for their first x86-64 core.
Rhymes with K8 which was AMD's codename for the same.

Admittedly MCORE2 doesn't fit the pattern, it should have 
been MMEROM. But then when the C2 support was implemented
the Marketing name was already known, which wasn't the case
with the others.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] [4/50] x86: add cpu codenames for Kconfig.cpu

2007-09-30 Thread Andi Kleen
On Saturday 22 September 2007 00:45:39 Dave Jones wrote:
 On Sat, Sep 22, 2007 at 12:32:02AM +0200, Andi Kleen wrote:
 
 
   +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
 
 This seems like yet another list that will need to be perpetually
 kept up to date, and given 99% of users don't know the codename
 of their core, just the marketing name, I question its value.

The problem is that it is hard to distingush Core2 based Xeons
from P4 based Xeons.

There won't be any new Pentium 4 cores so that list should be static.
But yes the C2 list is a little problematic. Will remove that
and just say family 6 

Perhaps we should just bit the bullet and add a optimize for current 
CPU option.

 
   +more info: http://balusc.xs4all.nl/srv/har-cpu.html
  
 This URL is dead already.
 
config MPSC
   bool Intel P4 / older Netburst based Xeon
   help
 
 sidenote: I always wondered what 'PSC' stood for ?

Prescott; the Intel codename for their first x86-64 core.
Rhymes with K8 which was AMD's codename for the same.

Admittedly MCORE2 doesn't fit the pattern, it should have 
been MMEROM. But then when the C2 support was implemented
the Marketing name was already known, which wasn't the case
with the others.

-Andi
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] [4/50] x86: add cpu codenames for Kconfig.cpu

2007-09-22 Thread Thomas Gleixner
On Sat, 2007-09-22 at 00:32 +0200, Andi Kleen wrote:
> From: "Oliver Pinter" <[EMAIL PROTECTED]>
> 
> 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 <[EMAIL PROTECTED]>
> Signed-off-by: Andi Kleen <[EMAIL PROTECTED]>
> Acked-by: Sam Ravnborg <[EMAIL PROTECTED]>
> Cc: Andi Kleen <[EMAIL PROTECTED]>
> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
> ---
> 
>  arch/i386/Kconfig.cpu |   34 +++---
>  arch/x86_64/Kconfig   |6 +++---
>  2 files changed, 34 insertions(+), 6 deletions(-)
> 
> Index: linux/arch/i386/Kconfig.cpu
> ===
> --- linux.orig/arch/i386/Kconfig.cpu
> +++ linux/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

This will never be up to date. Also the URL above is redirected to an
empty bye/bye page. Put this up to one of the kernel related wikis, if
you think it might be useful at all. 99% of the users do not even know
which CPU they have in their system.

tglx




-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] [4/50] x86: add cpu codenames for Kconfig.cpu

2007-09-22 Thread Randy Dunlap
On Sat, 22 Sep 2007 10:23:25 -0400 Dave Jones wrote:

> On Sat, Sep 22, 2007 at 08:57:24AM +0200, Sam Ravnborg wrote:
> 
>  > > This seems like yet another list that will need to be perpetually
>  > > kept up to date, and given 99% of users don't know the codename
>  > > of their core, just the marketing name, I question its value.
>  > 
>  > As a bare minimum requirement the list presented here shall use same
>  > names as used in /proc/cpuinfo
>  > 
>  > On this box I read:
>  > 
>  > vendor_id  : GenuineIntel
>  > model name : Pentium III (Coppermine)
> 
> There are *dozens* of possible entries here, and always new ones.
> The list will become so cumbersome that searching for the name
> through the help text of each possible option will become a
> really boring task, that I doubt anyone will seriously do.

Yep.  help text:  see www.wikipedia.org :)

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] [4/50] x86: add cpu codenames for Kconfig.cpu

2007-09-22 Thread Dave Jones
On Sat, Sep 22, 2007 at 08:57:24AM +0200, Sam Ravnborg wrote:

 > > This seems like yet another list that will need to be perpetually
 > > kept up to date, and given 99% of users don't know the codename
 > > of their core, just the marketing name, I question its value.
 > 
 > As a bare minimum requirement the list presented here shall use same
 > names as used in /proc/cpuinfo
 > 
 > On this box I read:
 > 
 > vendor_id: GenuineIntel
 > model name   : Pentium III (Coppermine)

There are *dozens* of possible entries here, and always new ones.
The list will become so cumbersome that searching for the name
through the help text of each possible option will become a
really boring task, that I doubt anyone will seriously do.

Dave

-- 
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] [4/50] x86: add cpu codenames for Kconfig.cpu

2007-09-22 Thread Jan Engelhardt

On Sep 22 2007 08:57, Sam Ravnborg wrote:
>> 
>> This seems like yet another list that will need to be perpetually
>> kept up to date, and given 99% of users don't know the codename
>> of their core, just the marketing name, I question its value.
>
>As a bare minimum requirement the list presented here shall use same
>names as used in /proc/cpuinfo
>
>On this box I read:
>
>vendor_id  : GenuineIntel
>model name : Pentium III (Coppermine)
>
>This info must be present in Kconfig text (help text) too.
>I always have trouble selecting the right CPU before so I welcome this patch
>that give me more info - and maybe a bit too much.

model name  : AMD Athlon(tm) XP 2000+

here. Seems like Intel encodes their codenames into cpuid :(
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] [4/50] x86: add cpu codenames for Kconfig.cpu

2007-09-22 Thread Sam Ravnborg
On Fri, Sep 21, 2007 at 06:45:39PM -0400, Dave Jones wrote:
> On Sat, Sep 22, 2007 at 12:32:02AM +0200, Andi Kleen wrote:
> 
> 
>  > +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
> 
> This seems like yet another list that will need to be perpetually
> kept up to date, and given 99% of users don't know the codename
> of their core, just the marketing name, I question its value.

As a bare minimum requirement the list presented here shall use same
names as used in /proc/cpuinfo

On this box I read:

vendor_id   : GenuineIntel
model name  : Pentium III (Coppermine)

This info must be present in Kconfig text (help text) too.
I always have trouble selecting the right CPU before so I welcome this patch
that give me more info - and maybe a bit too much.

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] [4/50] x86: add cpu codenames for Kconfig.cpu

2007-09-22 Thread Sam Ravnborg
On Fri, Sep 21, 2007 at 06:45:39PM -0400, Dave Jones wrote:
 On Sat, Sep 22, 2007 at 12:32:02AM +0200, Andi Kleen wrote:
 
 
   +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
 
 This seems like yet another list that will need to be perpetually
 kept up to date, and given 99% of users don't know the codename
 of their core, just the marketing name, I question its value.

As a bare minimum requirement the list presented here shall use same
names as used in /proc/cpuinfo

On this box I read:

vendor_id   : GenuineIntel
model name  : Pentium III (Coppermine)

This info must be present in Kconfig text (help text) too.
I always have trouble selecting the right CPU before so I welcome this patch
that give me more info - and maybe a bit too much.

Sam
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] [4/50] x86: add cpu codenames for Kconfig.cpu

2007-09-22 Thread Jan Engelhardt

On Sep 22 2007 08:57, Sam Ravnborg wrote:
 
 This seems like yet another list that will need to be perpetually
 kept up to date, and given 99% of users don't know the codename
 of their core, just the marketing name, I question its value.

As a bare minimum requirement the list presented here shall use same
names as used in /proc/cpuinfo

On this box I read:

vendor_id  : GenuineIntel
model name : Pentium III (Coppermine)

This info must be present in Kconfig text (help text) too.
I always have trouble selecting the right CPU before so I welcome this patch
that give me more info - and maybe a bit too much.

model name  : AMD Athlon(tm) XP 2000+

here. Seems like Intel encodes their codenames into cpuid :(
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] [4/50] x86: add cpu codenames for Kconfig.cpu

2007-09-22 Thread Dave Jones
On Sat, Sep 22, 2007 at 08:57:24AM +0200, Sam Ravnborg wrote:

   This seems like yet another list that will need to be perpetually
   kept up to date, and given 99% of users don't know the codename
   of their core, just the marketing name, I question its value.
  
  As a bare minimum requirement the list presented here shall use same
  names as used in /proc/cpuinfo
  
  On this box I read:
  
  vendor_id: GenuineIntel
  model name   : Pentium III (Coppermine)

There are *dozens* of possible entries here, and always new ones.
The list will become so cumbersome that searching for the name
through the help text of each possible option will become a
really boring task, that I doubt anyone will seriously do.

Dave

-- 
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] [4/50] x86: add cpu codenames for Kconfig.cpu

2007-09-22 Thread Randy Dunlap
On Sat, 22 Sep 2007 10:23:25 -0400 Dave Jones wrote:

 On Sat, Sep 22, 2007 at 08:57:24AM +0200, Sam Ravnborg wrote:
 
This seems like yet another list that will need to be perpetually
kept up to date, and given 99% of users don't know the codename
of their core, just the marketing name, I question its value.
   
   As a bare minimum requirement the list presented here shall use same
   names as used in /proc/cpuinfo
   
   On this box I read:
   
   vendor_id  : GenuineIntel
   model name : Pentium III (Coppermine)
 
 There are *dozens* of possible entries here, and always new ones.
 The list will become so cumbersome that searching for the name
 through the help text of each possible option will become a
 really boring task, that I doubt anyone will seriously do.

Yep.  help text:  see www.wikipedia.org :)

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] [4/50] x86: add cpu codenames for Kconfig.cpu

2007-09-22 Thread Thomas Gleixner
On Sat, 2007-09-22 at 00:32 +0200, Andi Kleen wrote:
 From: Oliver Pinter [EMAIL PROTECTED]
 
 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 [EMAIL PROTECTED]
 Signed-off-by: Andi Kleen [EMAIL PROTECTED]
 Acked-by: Sam Ravnborg [EMAIL PROTECTED]
 Cc: Andi Kleen [EMAIL PROTECTED]
 Signed-off-by: Andrew Morton [EMAIL PROTECTED]
 ---
 
  arch/i386/Kconfig.cpu |   34 +++---
  arch/x86_64/Kconfig   |6 +++---
  2 files changed, 34 insertions(+), 6 deletions(-)
 
 Index: linux/arch/i386/Kconfig.cpu
 ===
 --- linux.orig/arch/i386/Kconfig.cpu
 +++ linux/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

This will never be up to date. Also the URL above is redirected to an
empty bye/bye page. Put this up to one of the kernel related wikis, if
you think it might be useful at all. 99% of the users do not even know
which CPU they have in their system.

tglx




-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] [4/50] x86: add cpu codenames for Kconfig.cpu

2007-09-21 Thread Alan Cox
>  >  config MPSC
>  > bool "Intel P4 / older Netburst based Xeon"
>  > help
> 
> sidenote: I always wondered what 'PSC' stood for ?

Produces Smoke and Cooks ?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] [4/50] x86: add cpu codenames for Kconfig.cpu

2007-09-21 Thread Dave Jones
On Sat, Sep 22, 2007 at 12:32:02AM +0200, Andi Kleen wrote:


 > +  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

This seems like yet another list that will need to be perpetually
kept up to date, and given 99% of users don't know the codename
of their core, just the marketing name, I question its value.

 > +  more info: http://balusc.xs4all.nl/srv/har-cpu.html
 
This URL is dead already.

 >  config MPSC
 > bool "Intel P4 / older Netburst based Xeon"
 > help

sidenote: I always wondered what 'PSC' stood for ?

Dave

-- 
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] [4/50] x86: add cpu codenames for Kconfig.cpu

2007-09-21 Thread Andi Kleen

From: "Oliver Pinter" <[EMAIL PROTECTED]>

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 <[EMAIL PROTECTED]>
Signed-off-by: Andi Kleen <[EMAIL PROTECTED]>
Acked-by: Sam Ravnborg <[EMAIL PROTECTED]>
Cc: Andi Kleen <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

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

Index: linux/arch/i386/Kconfig.cpu
===
--- linux.orig/arch/i386/Kconfig.cpu
+++ linux/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
Index: linux/arch/x86_64/Kconfig
===
--- linux.orig/arch/x86_64/Kconfig
+++ linux/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
- .
+ Optimize for Intel Pentium 4, Pentium D and older Nocona/Dempsey
+ Xeon CPUs with Intel Extended Memory 64 Technology(EM64T). For
+ details see .
  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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] [4/50] x86: add cpu codenames for Kconfig.cpu

2007-09-21 Thread Andi Kleen

From: Oliver Pinter [EMAIL PROTECTED]

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 [EMAIL PROTECTED]
Signed-off-by: Andi Kleen [EMAIL PROTECTED]
Acked-by: Sam Ravnborg [EMAIL PROTECTED]
Cc: Andi Kleen [EMAIL PROTECTED]
Signed-off-by: Andrew Morton [EMAIL PROTECTED]
---

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

Index: linux/arch/i386/Kconfig.cpu
===
--- linux.orig/arch/i386/Kconfig.cpu
+++ linux/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
Index: linux/arch/x86_64/Kconfig
===
--- linux.orig/arch/x86_64/Kconfig
+++ linux/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
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] [4/50] x86: add cpu codenames for Kconfig.cpu

2007-09-21 Thread Dave Jones
On Sat, Sep 22, 2007 at 12:32:02AM +0200, Andi Kleen wrote:


  +  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

This seems like yet another list that will need to be perpetually
kept up to date, and given 99% of users don't know the codename
of their core, just the marketing name, I question its value.

  +  more info: http://balusc.xs4all.nl/srv/har-cpu.html
 
This URL is dead already.

   config MPSC
  bool Intel P4 / older Netburst based Xeon
  help

sidenote: I always wondered what 'PSC' stood for ?

Dave

-- 
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] [4/50] x86: add cpu codenames for Kconfig.cpu

2007-09-21 Thread Alan Cox
config MPSC
   bool Intel P4 / older Netburst based Xeon
   help
 
 sidenote: I always wondered what 'PSC' stood for ?

Produces Smoke and Cooks ?
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/