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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/9/23 15:15, bindkeys@xxxxxxxxx wrote:
From: Jami Kurki <bindkeys@xxxxxxxxx>

Signed-off-by: Jami Kurki <bindkeys@xxxxxxxxx>

This is not an appropriate patch subject and description.

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

Thanks,
Guenter

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





[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux