]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit193a5646ee9183e8cb12399502886676c6125f4b
tree63accb060eb2ff3719d4b35ab34fec163624ab35
parent517d83235f614753c61c0ce47b844926d3fe7660
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