cvs commit: src/sys/i386/i386 p4tcc.c src/sys/conf files.i386 options.i386 src/sys/i386/conf NOTES

Maxim Sobolev sobomax at portaone.com
Mon Jan 19 02:09:10 PST 2004


Nate Lawson wrote:

> On Sun, 18 Jan 2004, Maxim Sobolev wrote:
> 
>>  FreeBSD src repository
>>
>>  Modified files:
>>    sys/conf             options.i386 files.i386
>>    sys/i386/conf        NOTES
>>  Added files:
>>    sys/i386/i386        p4tcc.c
>>  Log:
>>  Add new CPU_ENABLE_TCC option, from NOTES:
>>
>>  CPU_ENABLE_TCC enables Thermal Control Circuitry (TCC) found in some
>>  Pentium(tm) 4 and (possibly) later CPUs. When enabled and detected,
>>  TCC allows to restrict power consumption by using machdep.cpuperf*
>>  sysctls. This operates independently of SpeedStep and is useful on
>>  systems where other mechanisms such as apm(4) or acpi(4) don't work.
>>
>>  Given the fact that many, even modern, notebooks don't work properly
>>  with Intel ACPI, this is indeed very useful option for notebook owners.
>>
>>  Obtained from:  OpenBSD
>>  MFC after:      2 weeks
> 
> 
> I can't seem to see where this was posted before committing.  Please
> coordinate power/thermal management code with me.  I have an upcoming
> cpufreq driver that will encapsulate all of these machdep CPU control
> drivers, including SpeedStep and LongRun.  It's not dependent on ACPI
> although ACPI can use it for passive cooling.  Also, your driver should
> use /etc/power_profile to set a sysctl, not proliferate
> performance/economy sysctls.  Drop me a private email and we can figure
> out how to coordinate.

Sorry, I did not know that you are working on this. Please feel free to 
take p4tcc support and integrate it into your framework.

-Maxim



More information about the cvs-src mailing list