Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

hwmon: (k10temp) support Zen3 APUs

Add support for Zen3 Ryzen APU.

Signed-off-by: David Bartley <andareed@gmail.com>
Link: https://lore.kernel.org/r/20210517064131.4369-1-andareed@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>

authored by

David Bartley and committed by
Guenter Roeck
02c9dce4 276281b8

+2
+2
drivers/hwmon/k10temp.c
··· 450 450 switch (boot_cpu_data.x86_model) { 451 451 case 0x0 ... 0x1: /* Zen3 SP3/TR */ 452 452 case 0x21: /* Zen3 Ryzen Desktop */ 453 + case 0x50: /* Zen3 Ryzen APU */ 453 454 k10temp_get_ccd_support(pdev, data, 8); 454 455 break; 455 456 } ··· 492 491 { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_17H_M60H_DF_F3) }, 493 492 { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_17H_M70H_DF_F3) }, 494 493 { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_19H_DF_F3) }, 494 + { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_19H_M50H_DF_F3) }, 495 495 { PCI_VDEVICE(HYGON, PCI_DEVICE_ID_AMD_17H_DF_F3) }, 496 496 {} 497 497 };