cvs commit: src/sys/kern kern_cpu.c

Nate Lawson nate at root.org
Tue Aug 30 18:20:08 GMT 2005


Hajimu UMEMOTO wrote:
>>>>>>On Mon, 29 Aug 2005 21:51:17 -0700
>>>>>>Nate Lawson <nate at root.org> said:
> nate> If this commit gives you problems, please set debug.cpufreq.verbose=1 
> nate> and send me the output along with sysctl dev.cpu.  It should reduce the 
> nate> levels the same as Tijl's patch.  I took a very slightly different 
> nate> implementation approach but the code is mostly his.  Thanks!
> 
> I applied the diff to latest RELENG_6.  I believe it is equivalent to
> HEAD's kern_cpu.c.
> After applying the diff, the order of freq_level is apparently
> strange:
> 
> dev.cpu.0.freq_levels: 1200/5000 1050/4375 900/3750 750/3125 600/2500 450/1875 300/1250 150/625 1100/4700 962/4112 825/3525 687/2937 550/2350 412/1762 275/1175 137/587 1000/4300 875/3762 750/3225 625/2687 500/2150 375/1612 250/1075 125/537 900/4000 787/3500 675/3000 562/2500 450/2000 337/1500 225/1000 112/500 800/3700 700/3237 600/2775 500/2312 400/1850 300/1387 200/925 100/462 600/3000 525/2625 450/2250 375/1875 300/1500 225/1125 150/750 75/375

Yep, that's incorrect.  I'll look at your debug output and commit a fix.

-- 
Nate


More information about the freebsd-acpi mailing list