k10temp: 27C Offset needed for Threadripper2
Subsystems (2)
Guenter Roeck
maintainerPATCH 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
@@ -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
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@@ -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