public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Identifying Intel Atom Z500PT
@ 2009-04-07 22:21 Robert Schwebel
  2009-04-08  0:56 ` Thomas Gleixner
  2009-04-08 17:46 ` Michael Riepe
  0 siblings, 2 replies; 5+ messages in thread
From: Robert Schwebel @ 2009-04-07 22:21 UTC (permalink / raw)
  To: linux-kernel; +Cc: Ingo Molnar, tglx

Does anyone have an idea how to properly identify an Atom Z500PT cpu?
The get_model_name() mechanics in arch/x86/kernel/cpu/common.c uses
cpuid() to find out about the brand id, which is "Genuine Intel(R) CPU"
with family 6 and model 28.

Below is the output of /proc/cpuinfo on that box:

root@phyCORE:~ cat /proc/cpuinfo | grep model | head -n 2
model           : 28
model name      : Genuine Intel(R) CPU        @ 1.10GHz
root@phyCORE:~ cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 28
model name      : Genuine Intel(R) CPU        @ 1.10GHz
stepping        : 2
cpu MHz         : 416.000
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 1
apicid          : 0
initial apicid  : 0
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl vmx est tm2 ssse3 xtpr pdcm lahf_lm tpr_shadow vnmi flexpriority
bogomips        : 2194.69
clflush size    : 64
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 28
model name      : Genuine Intel(R) CPU        @ 1.10GHz
stepping        : 2
cpu MHz         : 416.000
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 1
apicid          : 1
initial apicid  : 1
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl vmx est tm2 ssse3 xtpr pdcm lahf_lm tpr_shadow vnmi flexpriority
bogomips        : 2194.51
clflush size    : 64
power management:

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Identifying Intel Atom Z500PT
  2009-04-07 22:21 Identifying Intel Atom Z500PT Robert Schwebel
@ 2009-04-08  0:56 ` Thomas Gleixner
  2009-04-08  6:56   ` Robert Schwebel
  2009-04-08 17:46 ` Michael Riepe
  1 sibling, 1 reply; 5+ messages in thread
From: Thomas Gleixner @ 2009-04-08  0:56 UTC (permalink / raw)
  To: Robert Schwebel; +Cc: linux-kernel, Ingo Molnar

On Wed, 8 Apr 2009, Robert Schwebel wrote:

> Does anyone have an idea how to properly identify an Atom Z500PT cpu?
> The get_model_name() mechanics in arch/x86/kernel/cpu/common.c uses
> cpuid() to find out about the brand id, which is "Genuine Intel(R) CPU"
> with family 6 and model 28.

AFAICT cpuid() is the way to get the model name. If it returns
"Genuine Intel(R) CPU" then the kernel merily prints that info.

Consult your board vendor / BIOS tinkerer^Wdeveloper

Thanks,

	tglx

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Identifying Intel Atom Z500PT
  2009-04-08  0:56 ` Thomas Gleixner
@ 2009-04-08  6:56   ` Robert Schwebel
  0 siblings, 0 replies; 5+ messages in thread
From: Robert Schwebel @ 2009-04-08  6:56 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-kernel, Ingo Molnar

On Wed, Apr 08, 2009 at 02:56:04AM +0200, Thomas Gleixner wrote:
> > Does anyone have an idea how to properly identify an Atom Z500PT cpu?
> > The get_model_name() mechanics in arch/x86/kernel/cpu/common.c uses
> > cpuid() to find out about the brand id, which is "Genuine Intel(R) CPU"
> > with family 6 and model 28.
>
> AFAICT cpuid() is the way to get the model name. If it returns
> "Genuine Intel(R) CPU" then the kernel merily prints that info.
>
> Consult your board vendor / BIOS tinkerer^Wdeveloper

Ah, that comes from the BIOS, good to know. Do you know any document
that shows what's the intended string for a Z500PT? I searched the intel
site but didn't find anything useful.

rsc
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Identifying Intel Atom Z500PT
  2009-04-07 22:21 Identifying Intel Atom Z500PT Robert Schwebel
  2009-04-08  0:56 ` Thomas Gleixner
@ 2009-04-08 17:46 ` Michael Riepe
  2009-04-08 18:24   ` Robert Schwebel
  1 sibling, 1 reply; 5+ messages in thread
From: Michael Riepe @ 2009-04-08 17:46 UTC (permalink / raw)
  To: Robert Schwebel; +Cc: linux-kernel, Ingo Molnar, tglx

Hi!

Robert Schwebel wrote:
> Does anyone have an idea how to properly identify an Atom Z500PT cpu?
> The get_model_name() mechanics in arch/x86/kernel/cpu/common.c uses
> cpuid() to find out about the brand id, which is "Genuine Intel(R) CPU"
> with family 6 and model 28.

Family 6, model 28, stepping 2 seems to be common to all current Atoms
-- my 330 reports the same. There are some flags, however, that
currently only appear in the Z series, e.g. vmx is not available on the
230/330/N270. To differentiate between the latter, you could look for
64-bit support (which is missing in the N270) and the number of cores.
Besides that, the 230/330 models lack the speedstep feature.

I don't know if there's a way to distinguish a -P model from a -PT
model. But from a software point of view, they should be identical anyway.

> Below is the output of /proc/cpuinfo on that box:
> 
> root@phyCORE:~ cat /proc/cpuinfo | grep model | head -n 2
> model           : 28
> model name      : Genuine Intel(R) CPU        @ 1.10GHz

Strange - the 330 reports:

model name      : Intel(R) Atom(TM) CPU  330   @ 1.60GHz

(running 2.6.29).

-- 
Michael "Tired" Riepe <michael.riepe@googlemail.com>
X-Tired: Each morning I get up I die a little

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Identifying Intel Atom Z500PT
  2009-04-08 17:46 ` Michael Riepe
@ 2009-04-08 18:24   ` Robert Schwebel
  0 siblings, 0 replies; 5+ messages in thread
From: Robert Schwebel @ 2009-04-08 18:24 UTC (permalink / raw)
  To: Michael Riepe; +Cc: linux-kernel, Ingo Molnar, tglx

Hi Michael,

On Wed, Apr 08, 2009 at 07:46:11PM +0200, Michael Riepe wrote:
> Robert Schwebel wrote:
> > Does anyone have an idea how to properly identify an Atom Z500PT cpu?
> > The get_model_name() mechanics in arch/x86/kernel/cpu/common.c uses
> > cpuid() to find out about the brand id, which is "Genuine Intel(R) CPU"
> > with family 6 and model 28.
>
> Family 6, model 28, stepping 2 seems to be common to all current Atoms
> -- my 330 reports the same. There are some flags, however, that
> currently only appear in the Z series, e.g. vmx is not available on the
> 230/330/N270. To differentiate between the latter, you could look for
> 64-bit support (which is missing in the N270) and the number of cores.
> Besides that, the 230/330 models lack the speedstep feature.
>
> I don't know if there's a way to distinguish a -P model from a -PT
> model. But from a software point of view, they should be identical anyway.

Yup, should not matter from the software side.

> > Below is the output of /proc/cpuinfo on that box:
> >
> > root@phyCORE:~ cat /proc/cpuinfo | grep model | head -n 2
> > model           : 28
> > model name      : Genuine Intel(R) CPU        @ 1.10GHz
>
> Strange - the 330 reports:
>
> model name      : Intel(R) Atom(TM) CPU  330   @ 1.60GHz
>
> (running 2.6.29).

Looks like the model name string comes from the BIOS, I suppose I'll
have to talk to the BIOS guys in order to resolve that issue.

rsc
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-04-08 18:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-07 22:21 Identifying Intel Atom Z500PT Robert Schwebel
2009-04-08  0:56 ` Thomas Gleixner
2009-04-08  6:56   ` Robert Schwebel
2009-04-08 17:46 ` Michael Riepe
2009-04-08 18:24   ` Robert Schwebel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox