]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "hwmon: (coretemp) Refine TjMax detection"
authorGuenter Roeck <linux@roeck-us.net>
Wed, 30 Apr 2014 21:08:14 +0000 (14:08 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 1 May 2014 11:07:52 +0000 (04:07 -0700)
commit27729497896652b3c59cc8136d18a3a2ce09b536
tree777190e02b9990579f00b1d1281d85f98900cccc
parent9cfe9a0f84f48513d06a3b0897b12f075dc945f6
Revert "hwmon: (coretemp) Refine TjMax detection"

This reverts commit e4b6991fed32ad4e99e603eff29de898c4561ddc.

Tjmax on some Intel CPUs is below 85 degrees C. One known example is
L5630 with Tjmax of 71 degrees C. There are other Xeon processors with
Tjmax of 70 or 80 degrees C. Also, the Intel IA32 System Programming
document states that the temperature target is in bits 23:16 of MSR 0x1a2
(MSR_TEMPERATURE_TARGET), which is 8 bits, not 7.

So even if turbostat uses similar checks to validate Tjmax, there is no
evidence that the checks are actually required. On the contrary, the
checks are known to cause problems and therefore need to be removed.

This fixes https://bugzilla.kernel.org/show_bug.cgi?id=75071.

Fixes: e4b6991 hwmon: (coretemp) Refine TjMax detection
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Cc: stable@vger.kernel.org # 3.14+
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/coretemp.c