Skip to content

Commit 128066c

Browse files
superm1groeck
authored andcommitted
hwmon: (k10temp) Add additional missing Zen2 and Zen3 APUs
These follow the rest of the existing codepaths for families 17h and 19h. Signed-off-by: Mario Limonciello <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
1 parent b3a7ab2 commit 128066c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

drivers/hwmon/k10temp.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,8 @@ static int k10temp_probe(struct pci_dev *pdev, const struct pci_device_id *id)
437437
k10temp_get_ccd_support(pdev, data, 4);
438438
break;
439439
case 0x31: /* Zen2 Threadripper */
440+
case 0x60: /* Renoir */
441+
case 0x68: /* Lucienne */
440442
case 0x71: /* Zen2 */
441443
k10temp_get_ccd_support(pdev, data, 8);
442444
break;
@@ -450,7 +452,7 @@ static int k10temp_probe(struct pci_dev *pdev, const struct pci_device_id *id)
450452
switch (boot_cpu_data.x86_model) {
451453
case 0x0 ... 0x1: /* Zen3 SP3/TR */
452454
case 0x21: /* Zen3 Ryzen Desktop */
453-
case 0x50: /* Zen3 Ryzen APU */
455+
case 0x50 ... 0x5f: /* Green Sardine */
454456
k10temp_get_ccd_support(pdev, data, 8);
455457
break;
456458
}

0 commit comments

Comments
 (0)