Skip to content

Commit 4ec656b

Browse files
aegltorvalds
authored andcommitted
EDAC, skx_edac: Add EDAC driver for Skylake
This is an entirely new driver instead of yet another set of patches to sb_edac.c because: 1) Mapping from PCI devices to socket/memory controller is significantly different. Skylake scatters devices on a socket across a number of PCI buses. 2) There is an extra level of interleaving via the "mcroute" register that would be a little messy to squeeze into the old driver. 3) Validation is getting too expensive. Changes to sb_edac need to be checked against Sandy Bridge, Ivy Bridge, Haswell, Broadwell and Knights Landing. Acked-by: Aristeu Rozanski <aris@redhat.com> Acked-by: Borislav Petkov <bp@suse.de> Signed-off-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 6040e57 commit 4ec656b

File tree

4 files changed

+1136
-0
lines changed

4 files changed

+1136
-0
lines changed

MAINTAINERS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4525,6 +4525,12 @@ L: linux-edac@vger.kernel.org
45254525
S: Maintained
45264526
F: drivers/edac/sb_edac.c
45274527

4528+
EDAC-SKYLAKE
4529+
M: Tony Luck <tony.luck@intel.com>
4530+
L: linux-edac@vger.kernel.org
4531+
S: Maintained
4532+
F: drivers/edac/skx_edac.c
4533+
45284534
EDAC-XGENE
45294535
APPLIED MICRO (APM) X-GENE SOC EDAC
45304536
M: Loc Ho <lho@apm.com>

drivers/edac/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,14 @@ config EDAC_SBRIDGE
251251
Support for error detection and correction the Intel
252252
Sandy Bridge, Ivy Bridge and Haswell Integrated Memory Controllers.
253253

254+
config EDAC_SKX
255+
tristate "Intel Skylake server Integrated MC"
256+
depends on EDAC_MM_EDAC && PCI && X86_64 && X86_MCE_INTEL
257+
depends on PCI_MMCONFIG
258+
help
259+
Support for error detection and correction the Intel
260+
Skylake server Integrated Memory Controllers.
261+
254262
config EDAC_MPC85XX
255263
tristate "Freescale MPC83xx / MPC85xx"
256264
depends on EDAC_MM_EDAC && FSL_SOC

drivers/edac/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ obj-$(CONFIG_EDAC_I5400) += i5400_edac.o
3131
obj-$(CONFIG_EDAC_I7300) += i7300_edac.o
3232
obj-$(CONFIG_EDAC_I7CORE) += i7core_edac.o
3333
obj-$(CONFIG_EDAC_SBRIDGE) += sb_edac.o
34+
obj-$(CONFIG_EDAC_SKX) += skx_edac.o
3435
obj-$(CONFIG_EDAC_E7XXX) += e7xxx_edac.o
3536
obj-$(CONFIG_EDAC_E752X) += e752x_edac.o
3637
obj-$(CONFIG_EDAC_I82443BXGX) += i82443bxgx_edac.o

0 commit comments

Comments
 (0)