[PATCH v2] hwmon: (k10temp) Add thermal support for AMD 1Ah Family Models 80h-8Fh

Muralidhara M K posted 1 patch 1 week, 2 days ago
drivers/hwmon/k10temp.c | 1 +
include/linux/pci_ids.h | 1 +
2 files changed, 2 insertions(+)
[PATCH v2] hwmon: (k10temp) Add thermal support for AMD 1Ah Family Models 80h-8Fh
Posted by Muralidhara M K 1 week, 2 days ago
Add the new PCI Device ID for AMD 1Ah Family 80h-8Fh Models and wire
it into the k10temp PCI device table so that thermal monitoring works
out of the box on these processors.

Signed-off-by: Muralidhara M K <muralidhara.mk@amd.com>
---
 drivers/hwmon/k10temp.c | 1 +
 include/linux/pci_ids.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/hwmon/k10temp.c b/drivers/hwmon/k10temp.c
index a5d8f45b7881..8e8614cdfcda 100644
--- a/drivers/hwmon/k10temp.c
+++ b/drivers/hwmon/k10temp.c
@@ -568,6 +568,7 @@ static const struct pci_device_id k10temp_id_table[] = {
 	{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_1AH_M50H_DF_F3) },
 	{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_1AH_M60H_DF_F3) },
 	{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_1AH_M70H_DF_F3) },
+	{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_1AH_M80H_DF_F3) },
 	{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_1AH_M90H_DF_F3) },
 	{ PCI_VDEVICE(HYGON, PCI_DEVICE_ID_AMD_17H_DF_F3) },
 	{}
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index 24cb42f66e4b..3301224c5845 100644
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -585,6 +585,7 @@
 #define PCI_DEVICE_ID_AMD_1AH_M20H_DF_F3 0x16fb
 #define PCI_DEVICE_ID_AMD_1AH_M60H_DF_F3 0x124b
 #define PCI_DEVICE_ID_AMD_1AH_M70H_DF_F3 0x12bb
+#define PCI_DEVICE_ID_AMD_1AH_M80H_DF_F3 0x1243
 #define PCI_DEVICE_ID_AMD_MI200_DF_F3	0x14d3
 #define PCI_DEVICE_ID_AMD_MI300_DF_F3	0x152b
 #define PCI_DEVICE_ID_AMD_VANGOGH_USB	0x163a
-- 
2.34.1
Re: [PATCH v2] hwmon: (k10temp) Add thermal support for AMD 1Ah Family Models 80h-8Fh
Posted by Guenter Roeck 10 hours ago
On 5/29/26 04:12, Muralidhara M K wrote:
> Add the new PCI Device ID for AMD 1Ah Family 80h-8Fh Models and wire
> it into the k10temp PCI device table so that thermal monitoring works
> out of the box on these processors.
> 
> Signed-off-by: Muralidhara M K <muralidhara.mk@amd.com>
> ---
>   drivers/hwmon/k10temp.c | 1 +
>   include/linux/pci_ids.h | 1 +
>   2 files changed, 2 insertions(+)
> 
> diff --git a/drivers/hwmon/k10temp.c b/drivers/hwmon/k10temp.c
> index a5d8f45b7881..8e8614cdfcda 100644
> --- a/drivers/hwmon/k10temp.c
> +++ b/drivers/hwmon/k10temp.c
> @@ -568,6 +568,7 @@ static const struct pci_device_id k10temp_id_table[] = {
>   	{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_1AH_M50H_DF_F3) },
>   	{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_1AH_M60H_DF_F3) },
>   	{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_1AH_M70H_DF_F3) },
> +	{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_1AH_M80H_DF_F3) },
>   	{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_1AH_M90H_DF_F3) },
>   	{ PCI_VDEVICE(HYGON, PCI_DEVICE_ID_AMD_17H_DF_F3) },
>   	{}
> diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
> index 24cb42f66e4b..3301224c5845 100644
> --- a/include/linux/pci_ids.h
> +++ b/include/linux/pci_ids.h
> @@ -585,6 +585,7 @@
>   #define PCI_DEVICE_ID_AMD_1AH_M20H_DF_F3 0x16fb
>   #define PCI_DEVICE_ID_AMD_1AH_M60H_DF_F3 0x124b
>   #define PCI_DEVICE_ID_AMD_1AH_M70H_DF_F3 0x12bb
> +#define PCI_DEVICE_ID_AMD_1AH_M80H_DF_F3 0x1243
>   #define PCI_DEVICE_ID_AMD_MI200_DF_F3	0x14d3
>   #define PCI_DEVICE_ID_AMD_MI300_DF_F3	0x152b
>   #define PCI_DEVICE_ID_AMD_VANGOGH_USB	0x163a


As Sashiko pointed out, this device ID should be defined in
drivers/hwmon/k10temp.c (unless it is used elsewhere, and then it
should be defined in a separate patch).

Guenter