Re: AMD Family 10h cpufreq driver

From: G .Otsuji <annona2_at_gmail.com>
Date: Tue, 23 Sep 2008 15:23:05 +0900
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
_at__at_ -362,11 +362,16 _at__at_
 				*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>
Received on Tue Sep 23 2008 - 04:23:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:35 UTC