]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r210624 and r210833:
authordelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 28 Aug 2010 00:48:40 +0000 (00:48 +0000)
committerdelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 28 Aug 2010 00:48:40 +0000 (00:48 +0000)
commit29fc4ec02f771b6e6c9721157d216a90f1037385
tree9f0d0b588088aaccd61737c63899e571f3bdd538
parent5545b9b42f45954e28a94c5cea96ec8ec233125e
MFC r210624 and r210833:

Improve cputemp(4) driver wrt newer Intel processors, especially
Xeon 5500/5600 series:

 - Utilize IA32_TEMPERATURE_TARGET, a.k.a. Tj(target) in place
   of Tj(max) when a sane value is available, as documented
   in Intel whitepaper "CPU Monitoring With DTS/PECI"; (By sane
   value we mean 70C - 100C for now);
 - Print the probe results when booting verbose;
 - Replace cpu_mask with cpu_stepping;
 - Use CPUID_* macros instead of rolling our own.

Catch known CPUs before using IA32_TEMPERATURE_TARGET.
This way we would have an opportunity to hide the
Tj(target) value doesn't seem right stuff if we know
it's not working there.

Add temperature value for Core2 Duo Extreme Mobile that
I have access to.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211914 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/amd64/include/specialreg.h
sys/dev/coretemp/coretemp.c
sys/i386/include/specialreg.h