[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231211210206.11060-1-W_Armin@gmx.de>
Date: Mon, 11 Dec 2023 22:02:06 +0100
From: Armin Wolf <W_Armin@....de>
To: clemens@...isch.de
Cc: jdelvare@...e.com, linux@...ck-us.net, linux-hwmon@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v2] hwmon: (k10temp) Add support for AMD Family 19h Model 8h
From: Jami Kurki <bindkeys@...il.com>
From: Jami Kurki <bindkeys@...il.com>
Add support for AMD Family 19h Model 8h CPUs, which appear to
be the Zen 3 based AMD Threadripper 5000WX series (Chagall).
The patch was tested with an AMD Threadripper 5955WX.
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218244
Tested-by: Jami Kurki <bindkeys@...il.com>
Signed-off-by: Jami Kurki <bindkeys@...il.com>
Co-developed-by: Armin Wolf <W_Armin@....de>
Signed-off-by: Armin Wolf <W_Armin@....de>
---
Changes since v1:
- reword patch description
- reduce changes to existing code
---
drivers/hwmon/k10temp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/hwmon/k10temp.c b/drivers/hwmon/k10temp.c
index bae0becfa24b..8092312c0a87 100644
--- a/drivers/hwmon/k10temp.c
+++ b/drivers/hwmon/k10temp.c
@@ -455,6 +455,7 @@ static int k10temp_probe(struct pci_dev *pdev, const struct pci_device_id *id)
switch (boot_cpu_data.x86_model) {
case 0x0 ... 0x1: /* Zen3 SP3/TR */
+ case 0x8: /* Zen3 TR Chagall */
case 0x21: /* Zen3 Ryzen Desktop */
case 0x50 ... 0x5f: /* Green Sardine */
data->ccd_offset = 0x154;
--
2.39.2
Powered by blists - more mailing lists