Skip to content

Commit 2ade8fc

Browse files
dtbartlesuryasaimadhu
authored andcommitted
x86/amd_nb: Add AMD family 19h model 50h PCI ids
This is required to support Zen3 APUs in k10temp. Signed-off-by: David Bartley <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Acked-by: Wei Huang <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent 28188cc commit 2ade8fc

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

arch/x86/kernel/amd_nb.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#define PCI_DEVICE_ID_AMD_17H_M60H_DF_F4 0x144c
2626
#define PCI_DEVICE_ID_AMD_17H_M70H_DF_F4 0x1444
2727
#define PCI_DEVICE_ID_AMD_19H_DF_F4 0x1654
28+
#define PCI_DEVICE_ID_AMD_19H_M50H_DF_F4 0x166e
2829

2930
/* Protect the PCI config register pairs used for SMN and DF indirect access. */
3031
static DEFINE_MUTEX(smn_mutex);
@@ -57,6 +58,7 @@ static const struct pci_device_id amd_nb_misc_ids[] = {
5758
{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_CNB17H_F3) },
5859
{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_17H_M70H_DF_F3) },
5960
{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_19H_DF_F3) },
61+
{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_19H_M50H_DF_F3) },
6062
{}
6163
};
6264

@@ -72,6 +74,7 @@ static const struct pci_device_id amd_nb_link_ids[] = {
7274
{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_17H_M60H_DF_F4) },
7375
{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_17H_M70H_DF_F4) },
7476
{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_19H_DF_F4) },
77+
{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_19H_M50H_DF_F4) },
7578
{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_CNB17H_F4) },
7679
{}
7780
};

include/linux/pci_ids.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,7 @@
555555
#define PCI_DEVICE_ID_AMD_17H_M60H_DF_F3 0x144b
556556
#define PCI_DEVICE_ID_AMD_17H_M70H_DF_F3 0x1443
557557
#define PCI_DEVICE_ID_AMD_19H_DF_F3 0x1653
558+
#define PCI_DEVICE_ID_AMD_19H_M50H_DF_F3 0x166d
558559
#define PCI_DEVICE_ID_AMD_CNB17H_F3 0x1703
559560
#define PCI_DEVICE_ID_AMD_LANCE 0x2000
560561
#define PCI_DEVICE_ID_AMD_LANCE_HOME 0x2001

0 commit comments

Comments
 (0)