]> git.karo-electronics.de Git - karo-tx-linux.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>
Mon, 16 Dec 2013 02:18:56 +0000 (18:18 -0800)
commited3f03c98c440bf895c7f2daee66b9a8ce08837c
treeec48e930e8e5d0a983af19024c35fd59f561d89d
parentba09def4eb7d83e88b934b3ee69178283a10c36f
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