]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/hwmon/k10temp.c
hwmon: (k10temp) Add support for temperature offsets
authorGuenter Roeck <linux@roeck-us.net>
Tue, 5 Sep 2017 01:33:53 +0000 (18:33 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 30 Oct 2017 01:36:03 +0000 (18:36 -0700)
commit1b50b776355fa6c6d7b3281a63c275d5c18d629d
treee8621e268de948955cb7df61a912ba9d3340761b
parent9af0a9aecdb945cd5513941ffdcbcc031009b402
hwmon: (k10temp) Add support for temperature offsets

Add support for handling temperature offset values for various AMD CPUs,
similar to the code used in the coretemp driver for Intel CPUs. This is
primarily for Ryzen CPUs (which has documented temperature offsets),
but the code is kept generic to simplify adding additional CPUs.

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