Annoyances with passive thermal code (acpi_thermal)

Nate Lawson nate at root.org
Mon Aug 15 16:42:23 GMT 2005


Hajimu UMEMOTO wrote:
>>>>>>On Mon, 15 Aug 2005 04:05:52 +0900
>>>>>>Hajimu UMEMOTO <ume at freebsd.org> said:
> 
> 
> oberman> Ideally, acpi_thermal should store the frequency when it cuts speed and
> oberman> restore that speed when the CPU cools, not the maximum speed.
> 
> ume> CPUFREQ_SET() does it, actually.  However, since CPU speed is restored
> ume> by degrees, we couldn't use the facility effectively.  Please try the
> ume> attached patch.
> 
> It seems CPUFREQ_SET(NULL) doesn't restore previous setting correctly.
> So, I changed to make sure to restore previous setting for workaround.
> Please try this patch instead.

Would you mind checking the implementation of CPUFREQ_SET in kern_cpu.c? 
  I'm wondering what doesn't work about it and it's the right place to 
solve this problem.

-- 
Nate


More information about the freebsd-acpi mailing list