Skip to contentSkip to conversation

Added support for Zen 3 based AMD Threadrippers (5000WX series). They were previously under Zen3 SP models, but this was incorrect.

PATCH In review [email protected] 2 participants 2 messages Dec 9, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Added support for Zen 3 based AMD Threadrippers (5000WX series). They were previously under Zen3 SP models, but this was incorrect.

From: Jami Kurki <[email protected]>

---
 drivers/hwmon/k10temp.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/hwmon/k10temp.c +2 -1
index bae0becfa24b..b5738dd8d442 100644
@@ -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;
Signature · 1 line
2.39.2
maintainer
#1 lore raw
Quoted 3 lines · On 12/9/23 15:15, [email protected] wrote:

From: Jami Kurki <[email protected]>

This is not an appropriate patch subject and description.

Please follow Documentation/process/submitting-patches.rst, "The canonical patch format".

Thanks,
Guenter

Quoted 18 lines
---
  drivers/hwmon/k10temp.c | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
drivers/hwmon/k10temp.c +2 -1
index bae0becfa24b..b5738dd8d442 100644
@@ -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;