hwmon: (k10temp) Display both Tctl and Tdie
authorGuenter Roeck <linux@roeck-us.net>
Thu, 26 Apr 2018 19:22:29 +0000 (12:22 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 21 May 2018 14:51:58 +0000 (07:51 -0700)
commitf934c0599ecab63ec9cca0000315240c1202d20c
tree63accb060eb2ff3719d4b35ab34fec163624ab35
parentccaf63b4d6eaf3447037cefbb0b1038fa80c6639
hwmon: (k10temp) Display both Tctl and Tdie

On some AMD CPUs, there is a different between the die temperature
(Tdie) and the reported temperature (Tctl). Tdie is the real measured
temperature, and Tctl is used for fan control. Lets report both for
affected CPUs.

Tested-by: Gabriel Craciunescu <nix.or.die@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/k10temp.c