According to the Intel AP-485 for Family 6 processors both the model 9 and model
13 are Pentium M:
http://www.intel.com/design/processor/applnots/241618.htm
The attached patch allows both models to be identified as Pentium M. I have
tried this patch out on a Family 6, Model 9 based processor and it does identify
the processor as "Intel Pentium M", which now aggrees with the /proc/cpuinfo:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 9
model name : Intel(R) Pentium(R) M processor 1600MHz
stepping : 5
cpu MHz : 1600.000
cache size : 1024 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr mce cx8 apic mtrr pge mca cmov pat clfl
ush dts acpi mmx fxsr sse sse2 tm pbe up est tm2
bogomips : 3190.85
-Will
Index: lib/pfmlib_i386_p6.c
===================================================================
RCS file: /cvsroot/perfmon2/libpfm/lib/pfmlib_i386_p6.c,v
retrieving revision 1.26
diff -u -r1.26 pfmlib_i386_p6.c
--- lib/pfmlib_i386_p6.c 30 Jul 2008 04:08:06 -0000 1.26
+++ lib/pfmlib_i386_p6.c 12 Aug 2008 12:46:05 -0000
@@ -188,7 +188,6 @@
switch(model) {
case 7: /* Pentium III Katmai */
case 8: /* Pentium III Coppermine */
- case 9: /* Mobile Pentium III */
case 10:/* Pentium III Cascades */
case 11:/* Pentium III Tualatin */
break;
@@ -226,8 +225,13 @@
return PFMLIB_ERR_NOTSUPP;
model = atoi(buffer);
- if (model != 13)
- return PFMLIB_ERR_NOTSUPP;
+ switch (model) {
+ case 9:
+ case 13:
+ break;
+ default:
+ return PFMLIB_ERR_NOTSUPP;
+ }
return PFMLIB_SUCCESS;
}
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel