]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
hwmon: (k10temp) Add temperature offset for Ryzen 1900X
authorGuenter Roeck <linux@roeck-us.net>
Fri, 19 Jan 2018 14:38:03 +0000 (06:38 -0800)
committerSeth Forshee <seth.forshee@canonical.com>
Wed, 28 Mar 2018 19:06:03 +0000 (14:06 -0500)
BugLink: http://bugs.launchpad.net/bugs/1759655
commit 6509614fdd2d05c6926d50901a45d5dfb852b715 upstream.

Like the other CPUs from the same series, the 1900X has a
temperature offset of 27 degrees C.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/hwmon/k10temp.c

index 144ff802306136925bba0f45f38a1237c53e7658..051a72eecb2455794d51becf66ea66348e6f17c9 100644 (file)
@@ -86,6 +86,7 @@ static const struct tctl_offset tctl_offset_table[] = {
        { 0x17, "AMD Ryzen 7 1800X", 20000 },
        { 0x17, "AMD Ryzen Threadripper 1950X", 27000 },
        { 0x17, "AMD Ryzen Threadripper 1920X", 27000 },
+       { 0x17, "AMD Ryzen Threadripper 1900X", 27000 },
        { 0x17, "AMD Ryzen Threadripper 1950", 10000 },
        { 0x17, "AMD Ryzen Threadripper 1920", 10000 },
        { 0x17, "AMD Ryzen Threadripper 1910", 10000 },