Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Feb 2005 11:26:26 -0800
From:      Nate Lawson <nate@root.org>
To:        Rong-En Fan <rafan@infor.org>
Cc:        current@freebsd.org
Subject:   Re: patch: p4tcc and speedstep cpufreq drivers
Message-ID:  <42164162.5090005@root.org>
In-Reply-To: <20050218075843.GA42365@svm.csie.ntu.edu.tw>
References:  <4213F066.2050708@root.org> <4214119B.2010909@telia.com> <421537E9.8050203@root.org> <20050218075843.GA42365@svm.csie.ntu.edu.tw>

next in thread | previous in thread | raw e-mail | index | archive | help
Rong-En Fan wrote:
> On Thu, Feb 17, 2005 at 04:33:45PM -0800, Nate Lawson wrote:
> 
>>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.
>>>
>>>
>>>Hi Nate,
>>>
>>>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> 
>>
>>Apologies.  I found 2 bugs, one was not calling cpufreq_register() and 
>>the other was that the code to detect acpi_perf (in ichss and est) was 
>>incorrect.  I've committed fixes for that and have updated the patch. 
>>Please ues this version and test again.
> 
> 
> Hi,
> 
> This is an TP X31.
> 
> CPU: Intel(R) Pentium(R) M processor 1400MHz (1398.82-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,C
> LFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE>
> 
> freq_levels looks strange.. and changes...
> (only cpufreq is loaded at boot)
> 
> rafan@woodstock|UTF-8 [~] (15:57)$ sysctl dev.cpu
> dev.cpu.0.%desc: ACPI CPU (3 Cx states)
> dev.cpu.0.%driver: cpu
> dev.cpu.0.%location: handle=\_PR_.CPU_
> dev.cpu.0.%pnpinfo: _HID=none _UID=0
> dev.cpu.0.%parent: acpi0
> dev.cpu.0.freq: 1399
> dev.cpu.0.freq_levels: -738340620/0 0/0 0/0

Which cpufreq drivers are detected in dmesg (ichss, est, p4tcc, 
acpi_perf, acpi_throttle)?


-- 
Nate



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42164162.5090005>