Commit 484a84f2 authored by Michael Larabel's avatar Michael Larabel Committed by Guenter Roeck
Browse files

hwmon: (k10temp) 27C Offset needed for Threadripper2



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

Signed-off-by: default avatarMichael Larabel <michael@phoronix.com>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 12005ec3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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)