Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

Commit 1fab023

Browse files
Shyam Sundar S Kgregkh
Shyam Sundar S K
authored andcommittedOct 17, 2024
x86/amd_nb: Add new PCI IDs for AMD family 1Ah model 60h
[ Upstream commit 59c3400 ] Add new PCI device IDs into the root IDs and miscellaneous IDs lists to provide support for the latest generation of AMD 1Ah family 60h processor models. Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Reviewed-by: Yazen Ghannam <yazen.ghannam@amd.com> Link: https://lore.kernel.org/r/20240722092801.3480266-1-Shyam-sundar.S-k@amd.com Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 9736678 commit 1fab023

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed
 

‎arch/x86/kernel/amd_nb.c

+3
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
#define PCI_DEVICE_ID_AMD_19H_M70H_ROOT 0x14e8
2727
#define PCI_DEVICE_ID_AMD_1AH_M00H_ROOT 0x153a
2828
#define PCI_DEVICE_ID_AMD_1AH_M20H_ROOT 0x1507
29+
#define PCI_DEVICE_ID_AMD_1AH_M60H_ROOT 0x1122
2930
#define PCI_DEVICE_ID_AMD_MI200_ROOT 0x14bb
3031

3132
#define PCI_DEVICE_ID_AMD_17H_DF_F4 0x1464
@@ -61,6 +62,7 @@ static const struct pci_device_id amd_root_ids[] = {
6162
{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_19H_M70H_ROOT) },
6263
{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_1AH_M00H_ROOT) },
6364
{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_1AH_M20H_ROOT) },
65+
{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_1AH_M60H_ROOT) },
6466
{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_MI200_ROOT) },
6567
{}
6668
};
@@ -92,6 +94,7 @@ static const struct pci_device_id amd_nb_misc_ids[] = {
9294
{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_19H_M78H_DF_F3) },
9395
{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_1AH_M00H_DF_F3) },
9496
{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_1AH_M20H_DF_F3) },
97+
{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_1AH_M60H_DF_F3) },
9598
{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_1AH_M70H_DF_F3) },
9699
{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_MI200_DF_F3) },
97100
{}

‎drivers/hwmon/k10temp.c

+1
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,7 @@ static const struct pci_device_id k10temp_id_table[] = {
545545
{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_19H_M78H_DF_F3) },
546546
{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_1AH_M00H_DF_F3) },
547547
{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_1AH_M20H_DF_F3) },
548+
{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_1AH_M60H_DF_F3) },
548549
{ PCI_VDEVICE(HYGON, PCI_DEVICE_ID_AMD_17H_DF_F3) },
549550
{}
550551
};

‎include/linux/pci_ids.h

+1
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,7 @@
580580
#define PCI_DEVICE_ID_AMD_19H_M78H_DF_F3 0x12fb
581581
#define PCI_DEVICE_ID_AMD_1AH_M00H_DF_F3 0x12c3
582582
#define PCI_DEVICE_ID_AMD_1AH_M20H_DF_F3 0x16fb
583+
#define PCI_DEVICE_ID_AMD_1AH_M60H_DF_F3 0x124b
583584
#define PCI_DEVICE_ID_AMD_1AH_M70H_DF_F3 0x12bb
584585
#define PCI_DEVICE_ID_AMD_MI200_DF_F3 0x14d3
585586
#define PCI_DEVICE_ID_AMD_VANGOGH_USB 0x163a

0 commit comments

Comments
 (0)
This repository has been archived.