Date: Tue, 23 Sep 2008 15:23:05 +0900 From: "G .Otsuji" <annona2@gmail.com> To: "fluffles.net" <bsd@fluffles.net> Cc: "G.Otsuji" <annona2@gmail.com>, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: AMD Family 10h cpufreq driver Message-ID: <200809230623.m8N6N5rV002035@softbank219001162114.bbtec.net> In-Reply-To: <48D85FC0.5050807@fluffles.net> References: <200809070036.m870a3NC001532@softbank219001162114.bbtec.net> <48D72F0E.7040501@fluffles.net> <200809222333.m8MNXiuS064364@softbank219001162114.bbtec.net> <48D85FC0.5050807@fluffles.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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@gmail.com>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809230623.m8N6N5rV002035>
