Skip to contentSkip to conversation

k10temp: 27C Offset needed for Threadripper2

PATCH Applied Guenter Roeck 1 participant 2 messages Aug 7, 2018

Subsystems (2)
lore
Share & tools
lore

Guenter Roeck

author maintainer
#0 lore raw

PATCH 1/1 k10temp: 27C Offset needed for Threadripper2

From: Michael Larabel <[email protected]>

For at least the Threadripper 2950X and Threadripper 2990WX, it's confirmed a 27 degree offset is needed.

---
 drivers/hwmon/k10temp.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/hwmon/k10temp.c +2 -0
index 17c6460ae351..577e2ede5a1a 100644
@@ -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)
Signature · 1 line
2.17.1
author maintainer Applied
#1 lore raw
Quoted 3 lines · Guenter Roeck

From: Michael Larabel <[email protected]>

For at least the Threadripper 2950X and Threadripper 2990WX, it's confirmed a 27 degree offset is needed.

Applied to hwmon-next, and added stable tag. Michael, I took the freedom to add your Signed-off-by:. Please let me know if that is not ok.

Thanks,
Guenter

Quoted 24 lines
---
 drivers/hwmon/k10temp.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/hwmon/k10temp.c +2 -0
index 17c6460ae351..577e2ede5a1a 100644
@@ -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)
Signature · 6 lines
2.17.1

--
To unsubscribe from this list: send the line "unsubscribe linux-hwmon" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html