Skip to content

Commit f12c946

Browse files
gnustompbp3tk0v
authored andcommitted
EDAC/ie31200: Add Kaby Lake-S dual-core host bridge ID
Add device ID for dual-core Kaby Lake-S processors e.g. i3-7100. Signed-off-by: James Ye <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Acked-by: Jason Baron <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent a366670 commit f12c946

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

drivers/edac/ie31200_edac.c

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
* 0c04: Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller
2020
* 0c08: Xeon E3-1200 v3 Processor DRAM Controller
2121
* 1918: Xeon E3-1200 v5 Skylake Host Bridge/DRAM Registers
22-
* 5918: Xeon E3-1200 Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers
22+
* 590f: Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers
23+
* 5918: Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers
2324
* 190f: 6th Gen Core Dual-Core Processor Host Bridge/DRAM Registers
2425
* 191f: 6th Gen Core Quad-Core Processor Host Bridge/DRAM Registers
2526
* 3e..: 8th/9th Gen Core Processor Host Bridge/DRAM Registers
@@ -67,7 +68,8 @@
6768
#define PCI_DEVICE_ID_INTEL_IE31200_HB_8 0x190F
6869
#define PCI_DEVICE_ID_INTEL_IE31200_HB_9 0x1918
6970
#define PCI_DEVICE_ID_INTEL_IE31200_HB_10 0x191F
70-
#define PCI_DEVICE_ID_INTEL_IE31200_HB_11 0x5918
71+
#define PCI_DEVICE_ID_INTEL_IE31200_HB_11 0x590f
72+
#define PCI_DEVICE_ID_INTEL_IE31200_HB_12 0x5918
7173

7274
/* Coffee Lake-S */
7375
#define PCI_DEVICE_ID_INTEL_IE31200_HB_CFL_MASK 0x3e00
@@ -88,6 +90,7 @@
8890
((did) == PCI_DEVICE_ID_INTEL_IE31200_HB_9) || \
8991
((did) == PCI_DEVICE_ID_INTEL_IE31200_HB_10) || \
9092
((did) == PCI_DEVICE_ID_INTEL_IE31200_HB_11) || \
93+
((did) == PCI_DEVICE_ID_INTEL_IE31200_HB_12) || \
9194
(((did) & PCI_DEVICE_ID_INTEL_IE31200_HB_CFL_MASK) == \
9295
PCI_DEVICE_ID_INTEL_IE31200_HB_CFL_MASK))
9396

@@ -587,6 +590,7 @@ static const struct pci_device_id ie31200_pci_tbl[] = {
587590
{ PCI_VEND_DEV(INTEL, IE31200_HB_9), PCI_ANY_ID, PCI_ANY_ID, 0, 0, IE31200 },
588591
{ PCI_VEND_DEV(INTEL, IE31200_HB_10), PCI_ANY_ID, PCI_ANY_ID, 0, 0, IE31200 },
589592
{ PCI_VEND_DEV(INTEL, IE31200_HB_11), PCI_ANY_ID, PCI_ANY_ID, 0, 0, IE31200 },
593+
{ PCI_VEND_DEV(INTEL, IE31200_HB_12), PCI_ANY_ID, PCI_ANY_ID, 0, 0, IE31200 },
590594
{ PCI_VEND_DEV(INTEL, IE31200_HB_CFL_1), PCI_ANY_ID, PCI_ANY_ID, 0, 0, IE31200 },
591595
{ PCI_VEND_DEV(INTEL, IE31200_HB_CFL_2), PCI_ANY_ID, PCI_ANY_ID, 0, 0, IE31200 },
592596
{ PCI_VEND_DEV(INTEL, IE31200_HB_CFL_3), PCI_ANY_ID, PCI_ANY_ID, 0, 0, IE31200 },

0 commit comments

Comments
 (0)