]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Improve cputemp(4) driver wrt newer Intel processors, especially
authordelphij <delphij@FreeBSD.org>
Thu, 29 Jul 2010 19:08:22 +0000 (19:08 +0000)
committerdelphij <delphij@FreeBSD.org>
Thu, 29 Jul 2010 19:08:22 +0000 (19:08 +0000)
commit7cbaa3e8e6d153c09e6a5a92a11f6b17529e1bca
treead4719c73f7fa8cc8d6d65806e7966d6fed45576
parent007376c918adfea0ab81ac43b33dc3f8297b4e6e
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.

Approved by: rpaulo
MFC after: 1 month
sys/amd64/include/specialreg.h
sys/dev/coretemp/coretemp.c
sys/i386/include/specialreg.h