[PATCH 0/4] EDAC driver for Jacobsville microserver

From: Tony Luck
Date: Fri Jan 25 2019 - 14:59:06 EST


This driver can share a lot of the code from the Skylake driver. But
instead of turning that driver into a maze of twisty function pointers
as we did to share sb_edac.c across several generations we are taking
a different approach. Splitting out the common code into a source file
that can be linked with each driver (when they are modules) or built in
to kernel if the drivers are built in.

Four patches in the series (only part 3 of interest to general LKML audience)

1) Create new files skx_comm_edac.[ch] with all the common functions and
#defines.
2) Delete all that common code from skx_edac.c an rename what is left as
skx_base.c. Update Makefile to build driver from common+base.
3) New CPU model number for Jacobsville.
4) Add new EDAC driver for Jacobsville.

Kan Liang (1):
x86: intel-family.h: Add Atom Tremont (Jacobsville)

Qiuxu Zhuo (3):
EDAC, skx_comm_edac: Separate common codes from the skx_edac driver
EDAC, skx_edac: Delete the duplicated codes
EDAC, i10nm_edac: Add EDAC driver for Intel 10nm server processors

arch/x86/include/asm/intel-family.h | 3 +-
drivers/edac/Kconfig | 12 +
drivers/edac/Makefile | 7 +-
drivers/edac/i10nm_base.c | 279 ++++++
drivers/edac/skx_base.c | 673 +++++++++++++
drivers/edac/skx_comm_edac.c | 693 ++++++++++++++
drivers/edac/skx_comm_edac.h | 158 ++++
drivers/edac/skx_edac.c | 1358 ---------------------------
8 files changed, 1823 insertions(+), 1360 deletions(-)
create mode 100644 drivers/edac/i10nm_base.c
create mode 100644 drivers/edac/skx_base.c
create mode 100644 drivers/edac/skx_comm_edac.c
create mode 100644 drivers/edac/skx_comm_edac.h
delete mode 100644 drivers/edac/skx_edac.c

--
2.19.1