summaryrefslogtreecommitdiff
path: root/drivers/hwmon/k10temp.c
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2021-08-26 13:40:52 -0500
committerGuenter Roeck <linux@roeck-us.net>2021-08-27 09:44:07 -0700
commit128066c88770c7b26352fa400cb67297775cc4e8 (patch)
treef03786251c8ca54b037480b8ecdb231d8adcef4a /drivers/hwmon/k10temp.c
parentb3a7ab2d4376726178909e27b6956c012277ac4e (diff)
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 <mario.limonciello@amd.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/k10temp.c')
-rw-r--r--drivers/hwmon/k10temp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/hwmon/k10temp.c b/drivers/hwmon/k10temp.c
index fe3d92152e35..1d3c8d319941 100644
--- a/drivers/hwmon/k10temp.c
+++ b/drivers/hwmon/k10temp.c
@@ -437,6 +437,8 @@ static int k10temp_probe(struct pci_dev *pdev, const struct pci_device_id *id)
k10temp_get_ccd_support(pdev, data, 4);
break;
case 0x31: /* Zen2 Threadripper */
+ case 0x60: /* Renoir */
+ case 0x68: /* Lucienne */
case 0x71: /* Zen2 */
k10temp_get_ccd_support(pdev, data, 8);
break;
@@ -450,7 +452,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 0x21: /* Zen3 Ryzen Desktop */
- case 0x50: /* Zen3 Ryzen APU */
+ case 0x50 ... 0x5f: /* Green Sardine */
k10temp_get_ccd_support(pdev, data, 8);
break;
}