AMD Family 10h cpufreq driver
G .Otsuji
annona2 at gmail.com
Tue Sep 23 06:23:16 UTC 2008
Hi Veronica,
I 've tested in amd64 environment. But ...
Here's a temprorary patch,
--- pstate.c.before 2008-09-23 14:56:57.000000000 +0900
+++ pstate.c 2008-09-23 15:19:39.000000000 +0900
@@ -362,11 +362,16 @@
*p++ = (char)((reg >> 24) & 0xff);
}
}
+ if (sc->mof_id == 0) {
+ device_printf(dev, "msr is = %x\n",msr);
+ }
if (strstr(cpu_model, "Phenom")) {
if (strstr(cpu_model, "9600")) {
sc->mof_id = 23; /* 2.3 GHz */
} else if (strstr(cpu_model, "9850")) {
sc->mof_id = 25; /* 2.5 GHz */
+ } else if (strstr(cpu_model, "9350e")) {
+ sc->mof_id = 20; /* 2.0 GHz */
} else if (strstr(cpu_model, "9950")) {
sc->mof_id = 26; /* 2.6 GHz */
}
Is this cpu is black edition or not?
I think more verbose debugging message is needed . so msr is = %x
is added. send me the result please.
I had an idea that it will be cool that message says Cool`n'quiet 2.0
and it is not any further deep thought. :-)
And I have little knowledge about C1E state. :-<
Thank you for testing.
and be careful that ,before down clock, mount -u -o ro as much as possible,or sync sync.
Cheers,
G. Otsuji <annona2 at gmail.com>
More information about the freebsd-current
mailing list