projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12005ec
)
hwmon: (k10temp) 27C Offset needed for Threadripper2
author
Michael Larabel
<michael@phoronix.com>
Tue, 7 Aug 2018 13:54:54 +0000
(09:54 -0400)
committer
Guenter Roeck
<linux@roeck-us.net>
Tue, 7 Aug 2018 16:18:32 +0000
(09:18 -0700)
For at least the Threadripper 2950X and Threadripper 2990WX,
it's confirmed a 27 degree offset is needed.
Signed-off-by: Michael Larabel <michael@phoronix.com>
Cc: stable@vger.kernel.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/k10temp.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/k10temp.c
b/drivers/hwmon/k10temp.c
index
17c6460
..
577e2ed
100644
(file)
--- a/
drivers/hwmon/k10temp.c
+++ b/
drivers/hwmon/k10temp.c
@@
-105,6
+105,8
@@
static const struct tctl_offset tctl_offset_table[] = {
{ 0x17, "AMD Ryzen Threadripper 1950", 10000 },
{ 0x17, "AMD Ryzen Threadripper 1920", 10000 },
{ 0x17, "AMD Ryzen Threadripper 1910", 10000 },
+ { 0x17, "AMD Ryzen Threadripper 2950X", 27000 },
+ { 0x17, "AMD Ryzen Threadripper 2990WX", 27000 },
};
static void read_htcreg_pci(struct pci_dev *pdev, u32 *regval)