patch: p4tcc and speedstep cpufreq drivers

Nate Lawson nate at root.org
Mon Feb 21 14:18:52 PST 2005


Pawel Worach wrote:
> Nate Lawson wrote:
> 
>> Attached is a patch that I'd like to get tested.  After applying it,
>> rebuild and load the cpufreq.ko module.  Be sure you do _not_ have
>> "options CPU_ENABLE_TCC" in your kernel config or the new driver will
>> conflict with the old.
> 
> This is what I get on a TP T41, do the cpufreq results below look right?
> Also if I loaded both modules all I got for dev.cpu.0.freq was -1 or 
> 1700 and no levels.
> 
> CPU: Intel(R) Pentium(R) M processor 1700MHz (1698.56-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0x695  Stepping = 5
> Features=0xa7e9f9bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE> 
> 
> 
>   Only acpi_perf loaded at boot:
> +acpi_perf0: <ACPI CPU Frequency Control> on cpu0
> +acpi_throttle0: <ACPI CPU Throttling> on cpu0
> 
> # sysctl dev.cpu|grep freq
> dev.cpu.0.freq: 1700
> dev.cpu.0.freq_levels: 1700/24500 1487/21437 1400/19500 1275/18375 
> 1225/17062 1200/16000 1062/15312 1000/13000 900/12000 875/12187 
> 850/12250 800/9500 750/10000
> 700/9750 637/9187 600/6000 525/7312 500/6500 450/6000 425/6125 400/4750 
> 375/4875 350/4875 300/4000 250/3250 212/3062 175/2437 150/2000 125/1625 
> 100/1187 75/750
> 
>   Only cpufreq loaded at boot:
> +est0: <Enhanced SpeedStep Frequency Control> on cpu0
> +p4tcc0: <CPU Frequency Thermal Control> on cpu0
> +ichss: enabling SpeedStep support
> +ichss0: <SpeedStep ICH> on cpu0
> 
> # sysctl dev.cpu|grep freq
> dev.cpu.0.freq: 1699

Try it now.  I committed a patch to prevent ichss from attaching when 
est is present.  I think some systems had an older ICH chipset with a 
newer Pentium M CPU since you shouldn't be getting ichss on a newer 
system like yours.

-- 
Nate


More information about the freebsd-acpi mailing list