linux-hwmon.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] k10temp: 27C Offset needed for Threadripper2
@ 2018-08-07 16:17 Guenter Roeck
  2018-08-07 16:20 ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: Guenter Roeck @ 2018-08-07 16:17 UTC (permalink / raw)
  To: Hardware Monitoring; +Cc: Jean Delvare, Michael Larabel

From: Michael Larabel <michael@phoronix.com>

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] k10temp: 27C Offset needed for Threadripper2
  2018-08-07 16:17 [PATCH] k10temp: 27C Offset needed for Threadripper2 Guenter Roeck
@ 2018-08-07 16:20 ` Guenter Roeck
  0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2018-08-07 16:20 UTC (permalink / raw)
  To: Hardware Monitoring; +Cc: Jean Delvare, Michael Larabel

On Tue, Aug 07, 2018 at 09:17:28AM -0700, Guenter Roeck wrote:
> From: Michael Larabel <michael@phoronix.com>
> 
> 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

> ---
>  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
> 
> --
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-08-07 18:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-07 16:17 [PATCH] k10temp: 27C Offset needed for Threadripper2 Guenter Roeck
2018-08-07 16:20 ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).