AMD Family 10h cpufreq driver

G. Otsuji annona2 at gmail.com
Sun Sep 7 01:04:51 UTC 2008


Hello ,
I have AMD Phenom x4 9850 BE cpu ,but 
there was no sysctl oid dev.cpu.0.freq_levels.
so I read the BKDG (bios and kernel developer guide for AMD Family 10h)
and finally I reached some result.
I wrote pstate.c cpufreq driver module. attached in this mail.
I have tested this module on i386 current/stable, amd64 current/stable.
and make -j20 buildworld can be done with running powerd.
This module has capability to down clock to 400MHz.
but It's slow, so echo "debug.cpufreq.lowest=1200" >>/boot/loader.conf.
and the reuslt is as follows.
$ sysctl dev.cpu.0.freq_levels
dev.cpu.0.freq_levels: 2500/-1 2400/-1 2300/-1 2200/-1 2100/-1 2000/-1 
1900/-1 1800/-1 1700/-1 1600/-1 1500/-1 1400/-1 1300/-1 1200/-1

I have enjoying this module in a few days but It's OK.

AMD Family 10h cpu_id's are 100f23,100f2a,100f22.
I don't have Opteron 13XX 23XX 83XX,Phenom X3, and other Phenom X4,And MP system.
if you have these cpu's , i would like you to try this module.
feel free to contact me.

Sincerely,
G. Otsuji <annona2 at gmail.com>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pstate.c
Type: application/octet-stream
Size: 12086 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20080907/e98020fd/pstate.obj
-------------- next part --------------




More information about the freebsd-current mailing list