lkml.org 
[lkml]   [2008]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectPATCH: enable PAT at Pentium M 1.7 GHz
Date
Hi there, 

Sending oneliner enabling PAT at my Pentium M 1.7 GHz CPU. It simply works.
Thanks for inclusion:

--- linux-2.6.26.2/arch/x86/kernel/cpu/addon_cpuid_features.c
2008-08-08 21:52:20.000000000 +0200
+++ linux-2.6.26.2/arch/x86/kernel/cpu/addon_cpuid_features.c 2008-08-08
21:41:17.000000000 +0200
@@ -59,7 +59,7 @@
return;
break;
case X86_VENDOR_INTEL:
- if (c->x86 == 0xF || (c->x86 == 6 && c->x86_model >= 15))
+ if (c->x86 == 0xF || (c->x86 == 6 && c->x86_model >= 13))
return;
break;
}
Listik:/usr/src# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 13
model name : Intel(R) Pentium(R) M processor 1.70GHz
stepping : 6
cpu MHz : 600.000
cache size : 2048 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 sep mtrr pge mca cmov
pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe bts est tm2
bogomips : 1200.47
clflush size : 64
power management:


before:
Aug 8 19:08:27 Listik kernel: PAT disabled. Not yet verified on this CPU
type.


after:
Aug 8 21:43:34 Listik kernel: x86 PAT enabled: cpu 0, old 0x7040600070406,
new 0x7010600070106

Bye

Michal


\
 
 \ /
  Last update: 2008-08-08 22:07    [W:0.290 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site