HEADSUP: cpufreq import complete, acpi_throttling changed

Nate Lawson nate at root.org
Mon Feb 7 07:33:58 PST 2005


Anish Mistry wrote:
> On Sunday 06 February 2005 04:21 pm, Nate Lawson wrote:
> 
>>I'd also like to issue a call for developers to help by porting older
>>drivers (like longrun) and out-of-tree new drivers (like powernow-k7/k8
>>and speedstep-m) to the cpufreq interface.  It's very simple and you
>>just have to figure out if your driver is absolute or relative, and
>>convert values to the proper units (percent in hundredths, power in mW,
>>etc.)  Once that is done, please send me the diff for review before
>>commit so I can make sure it works properly.
>>
> 
> I'm interested in porting Longrun to the new framework.  So all that is need 
> is just to expose the existing sysctl values hw.crusoe through the acpi_perf 
> framework and some minor conversion if necessary?

Sort of.  It's more than sysctls, that's why it took so long.  :)  Just 
implement the 3 methods cpufreq_drv_settings, cpufreq_drv_get, and 
cpufreq_drv_set as well as make the driver probe under cpu0 instead of 
through a SYSINIT (see foo_identify() in the drivers).

-- 
Nate


More information about the freebsd-acpi mailing list