summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Zapletal <lzap+git@redhat.com>2019-09-23 12:59:31 +0200
committerGuenter Roeck <linux@roeck-us.net>2019-10-02 06:35:57 -0700
commit43fd0cf4c6dcd5a0e383e60168428bda0bc56374 (patch)
treeb6bfe87cc385eed8d6b4a287f6d5a8e29a0d39ba
parent539ad001d1557731cb38d4a9d0e8e16244b2d913 (diff)
downloadlinux-stable-43fd0cf4c6dcd5a0e383e60168428bda0bc56374.tar.gz
linux-stable-43fd0cf4c6dcd5a0e383e60168428bda0bc56374.tar.bz2
linux-stable-43fd0cf4c6dcd5a0e383e60168428bda0bc56374.zip
hwmon: (k10temp) Update documentation and add temp2_input info
It's been a while since the k10temp documentation has been updated. There are new CPU families supported as well as Tdie temp was added. This patch adds all missing families which I was able to find from git history and provides more info about Tctl vs Tdie exported temps. Signed-off-by: Lukas Zapletal <lzap+git@redhat.com> Link: https://lore.kernel.org/r/20190923105931.27881-1-lzap+git@redhat.com [groeck: Formatting] Signed-off-by: Guenter Roeck <linux@roeck-us.net>
-rw-r--r--Documentation/hwmon/k10temp.rst18
1 files changed, 17 insertions, 1 deletions
diff --git a/Documentation/hwmon/k10temp.rst b/Documentation/hwmon/k10temp.rst
index 12a86ba17de9..4451d59b9425 100644
--- a/Documentation/hwmon/k10temp.rst
+++ b/Documentation/hwmon/k10temp.rst
@@ -21,10 +21,17 @@ Supported chips:
* AMD Family 14h processors: "Brazos" (C/E/G/Z-Series)
-* AMD Family 15h processors: "Bulldozer" (FX-Series), "Trinity", "Kaveri", "Carrizo"
+* AMD Family 15h processors: "Bulldozer" (FX-Series), "Trinity", "Kaveri",
+ "Carrizo", "Stoney Ridge", "Bristol Ridge"
* AMD Family 16h processors: "Kabini", "Mullins"
+* AMD Family 17h processors: "Zen", "Zen 2"
+
+* AMD Family 18h processors: "Hygon Dhyana"
+
+* AMD Family 19h processors: "Zen 3"
+
Prefix: 'k10temp'
Addresses scanned: PCI space
@@ -110,3 +117,12 @@ The maximum value for Tctl is available in the file temp1_max.
If the BIOS has enabled hardware temperature control, the threshold at
which the processor will throttle itself to avoid damage is available in
temp1_crit and temp1_crit_hyst.
+
+On some AMD CPUs, there is a difference between the die temperature (Tdie) and
+the reported temperature (Tctl). Tdie is the real measured temperature, and
+Tctl is used for fan control. While Tctl is always available as temp1_input,
+the driver exports Tdie temperature as temp2_input for those CPUs which support
+it.
+
+Models from 17h family report relative temperature, the driver aims to
+compensate and report the real temperature.