please try the following patch if you would like the ability to change the voltage at boot time or whenever inserting powernow-k8 module
patch kernel 2.6.16-rc2 (only tested on vanilla) with this patch:
http://dev.gentoo.org/~morfic/powernow- ... 6-rc2.diff
add powernow-k8.vcore_list=value1,value2,value3 to the kernel command line in grub or lilo
or build powernow-k8 as module and do 'modprobe powernow-k8 vcore_list=value1,value2,value3
please only specify any new voltages for each powernow-k8 step you have
dmesg | grep powernow will show current values/number of states you have
value is in millivolt, so to change from 1.3 to 1.1 you would specify 1100
i will now paste my dmesg to illustrate how this works on a turion64 with 2 states
morfic@localhost64 ~ $ dmesg | grep powernow
Bootdata ok (command line is root=/dev/hda7 vga=792 powernow-k8.vcore_list=1100,900)
Kernel command line: root=/dev/hda7 vga=792 powernow-k8.vcore_list=1100,900
powernow-k8: Found 1 AMD Athlon 64 / Opteron processors (version 1.60.0)
powernow-k8: Request Voltage for id0 is 1100 mV default voltage is 1450
powernow-k8: Performing required adjustment of 350 mV or 14 25mV steps
powernow-k8: Request Voltage for id1 is 900 mV default voltage is 1000
powernow-k8: Performing required adjustment of 100 mV or 4 25mV steps
powernow-k8: 0 : fid 0x8 (1600 MHz), vid 0x12 (1100 mV)
powernow-k8: 1 : fid 0x0 (800 MHz), vid 0x1a (900 mV)
powernow-k8: ph2 null fid transition 0x8
morfic@localhost64 ~ $
the ph2 line means we trigger a transition where the frequency has not changed
i have made the patch because calculating it was too cumbersome fr me and friends, aside my default voltage is 1.45V in linux while i used the spec of 1.5V so i was always off by .05V, the patch will adjust the voltage by the difference of currently read from bios from requested voltage, much more failsafe i think
as usual, neither i nor gentoo grant no guarantees and warrantees, use fhis patch is entirely at your own risk, improper use of this patch can lead to system instabilities and damage your hardware, by downloading the and applying the patch you acknowledge this.
i would appreciate user feedback, especially from people with 3 or more power states
note: the power usage in /proc/acpi/processor/cpu*/power is hardcoded and will not change when you lower your vcore
note: if you build powernow-k8 as module you will not automatically use your usual scaling governor, modprobe powernow-k8 and set your usual scaling governor