diff mbox series

hwmon: (k10temp) 27C offset needed for Threadripper 2920X / 2970WX

Message ID 962bacd7-4369-0e36-ef55-ee3681baa27e@phoronix.com (mailing list archive)
State Accepted
Headers show
Series hwmon: (k10temp) 27C offset needed for Threadripper 2920X / 2970WX | expand

Commit Message

Michael Larabel Aug. 9, 2018, 4:26 p.m. UTC
Guenter, list:

I was able to confirm that the AMD Threadripper 2920X and 2970WX also 
require a 27 degree Tctl offset.

Michael

Comments

Guenter Roeck Aug. 9, 2018, 6:47 p.m. UTC | #1
Hi Michael,

On Thu, Aug 09, 2018 at 11:26:14AM -0500, Michael Larabel wrote:
> Guenter, list:
> 
> I was able to confirm that the AMD Threadripper 2920X and 2970WX also
> require a 27 degree Tctl offset.
> 

Thanks a lot for the update. I'll update (and simplify) the driver
and Cc: you on the patch.

Guenter
--
To unsubscribe from this list: send the line "unsubscribe linux-hwmon" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox series

Patch

From f368ba0dce5eb94e4552650595082b51ebc37b55 Mon Sep 17 00:00:00 2001
From: Michael Larabel <michael@phoronix.com>
Date: Tue, 7 Aug 2018 09:54:54 -0400
Subject: [PATCH] k10temp: 27C Offset needed for Threadripper2

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(+)

diff --git a/drivers/hwmon/k10temp.c b/drivers/hwmon/k10temp.c
index 17c6460ae351..577e2ede5a1a 100644
--- 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)
-- 
2.17.1