]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (coretemp) Refine TjMax detection
authorGuenter Roeck <linux@roeck-us.net>
Sat, 9 Nov 2013 17:38:14 +0000 (09:38 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 15 Jan 2014 05:36:31 +0000 (21:36 -0800)
commite4b6991fed32ad4e99e603eff29de898c4561ddc
tree790f952ca7c7b5170f4233e419323d638f9569c4
parent1b43acaa64c78603662bf6550d03b500cb300a9f
hwmon: (coretemp) Refine TjMax detection

Intel's turbostat code uses only 7 bits from MSR_IA32_TEMPERATURE_TARGET to
read TjMax, and also only accepts it if the reported temperature is at least
85 degrees C. Play safe and do the same.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/coretemp.c