Identifying Intel Atom Z500PT
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 : 0vendor_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 : 0fdiv_bug : nohlt_bug : nof00f_bug : nocoma_bug : no
fpu : yesfpu_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 : 1vendor_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 : 1fdiv_bug : nohlt_bug : nof00f_bug : nocoma_bug : no
fpu : yesfpu_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:
Signature · 4 lines
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 |
Quoted 4 lines · Robert Schwebel
Does anyone have an idea how to properly identify an Atom Z500PT cpu? The
get_model_name()mechanics inarch/x86/kernel/cpu/common.cusescpuid()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
Quoted 9 lines · Thomas Gleixner
Quoted 4 lines
Does anyone have an idea how to properly identify an Atom Z500PT cpu? The
get_model_name()mechanics inarch/x86/kernel/cpu/common.cusescpuid()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
Signature · 4 lines
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 |
Hi!
Quoted 4 lines · Robert Schwebel
Does anyone have an idea how to properly identify an Atom Z500PT cpu? The
get_model_name()mechanics inarch/x86/kernel/cpu/common.cusescpuid()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.
Quoted 5 lines
Below is the output of
/proc/cpuinfoon 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).
Signature · 2 lines
Michael "Tired" Riepe <[email protected]> X-Tired: Each morning I get up I die a little
Hi Michael,
Quoted 13 lines · Michael Riepe
Quoted 4 lines · Robert Schwebel
Does anyone have an idea how to properly identify an Atom Z500PT cpu? The
get_model_name()mechanics inarch/x86/kernel/cpu/common.cusescpuid()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.
Quoted 2 lines
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.
Quoted 11 lines
Quoted 5 lines
Below is the output of
/proc/cpuinfoon that box:root@phyCORE:~ cat
/proc/cpuinfo| grep model | head -n 2
model : 28
model name : Genuine Intel(R) CPU @ 1.10GHzStrange - 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
Signature · 4 lines
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 |