[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231209231545.1272806-1-bindkeys@gmail.com>
Date: Sun, 10 Dec 2023 01:15:44 +0200
From: bindkeys@...il.com
To: Clemens Ladisch <clemens@...isch.de>,
Jean Delvare <jdelvare@...e.com>,
Guenter Roeck <linux@...ck-us.net>
Cc: Jami Kurki <bindkeys@...il.com>, linux-hwmon@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] Added support for Zen 3 based AMD Threadrippers (5000WX series). They were previously under Zen3 SP models, but this was incorrect.
From: Jami Kurki <bindkeys@...il.com>
Signed-off-by: Jami Kurki <bindkeys@...il.com>
---
drivers/hwmon/k10temp.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/hwmon/k10temp.c b/drivers/hwmon/k10temp.c
index bae0becfa24b..b5738dd8d442 100644
--- a/drivers/hwmon/k10temp.c
+++ b/drivers/hwmon/k10temp.c
@@ -454,7 +454,8 @@ static int k10temp_probe(struct pci_dev *pdev, const struct pci_device_id *id)
data->is_zen = true;
switch (boot_cpu_data.x86_model) {
- case 0x0 ... 0x1: /* Zen3 SP3/TR */
+ case 0x0 ... 0x1: /* Zen3 SP3 */
+ case 0x8: /* Zen3 TR */
case 0x21: /* Zen3 Ryzen Desktop */
case 0x50 ... 0x5f: /* Green Sardine */
data->ccd_offset = 0x154;
--
2.39.2
Powered by blists - more mailing lists