Skip to content

Commit f62ef5f

Browse files
Andreas HerrmannIngo Molnar
authored andcommitted
x86, amd: Fix up numa_node information for AMD CPU family 15h model 0-0fh northbridge functions
I've received complaints that the numa_node attribute for family 15h model 00-0fh (e.g. Interlagos) northbridge functions shows -1 instead of the proper node ID. Correct this with attached quirks (similar to quirks for other AMD CPU families used in multi-socket systems). Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com> Cc: Frank Arnold <frank.arnold@amd.com> Cc: Borislav Petkov <borislav.petkov@amd.com> Link: http://lkml.kernel.org/r/20111202072143.GA31916@alberich.amd.com Signed-off-by: Ingo Molnar <mingo@elte.hu>
1 parent 8360ee2 commit f62ef5f

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

‎arch/x86/kernel/quirks.c‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,4 +553,17 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_10H_NB_MISC,
553553
quirk_amd_nb_node);
554554
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_10H_NB_LINK,
555555
quirk_amd_nb_node);
556+
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_15H_NB_F0,
557+
quirk_amd_nb_node);
558+
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_15H_NB_F1,
559+
quirk_amd_nb_node);
560+
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_15H_NB_F2,
561+
quirk_amd_nb_node);
562+
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_15H_NB_F3,
563+
quirk_amd_nb_node);
564+
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_15H_NB_F4,
565+
quirk_amd_nb_node);
566+
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_15H_NB_F5,
567+
quirk_amd_nb_node);
568+
556569
#endif

‎include/linux/pci_ids.h‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,8 +517,12 @@
517517
#define PCI_DEVICE_ID_AMD_11H_NB_DRAM 0x1302
518518
#define PCI_DEVICE_ID_AMD_11H_NB_MISC 0x1303
519519
#define PCI_DEVICE_ID_AMD_11H_NB_LINK 0x1304
520+
#define PCI_DEVICE_ID_AMD_15H_NB_F0 0x1600
521+
#define PCI_DEVICE_ID_AMD_15H_NB_F1 0x1601
522+
#define PCI_DEVICE_ID_AMD_15H_NB_F2 0x1602
520523
#define PCI_DEVICE_ID_AMD_15H_NB_F3 0x1603
521524
#define PCI_DEVICE_ID_AMD_15H_NB_F4 0x1604
525+
#define PCI_DEVICE_ID_AMD_15H_NB_F5 0x1605
522526
#define PCI_DEVICE_ID_AMD_CNB17H_F3 0x1703
523527
#define PCI_DEVICE_ID_AMD_LANCE 0x2000
524528
#define PCI_DEVICE_ID_AMD_LANCE_HOME 0x2001

0 commit comments

Comments
 (0)