[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190125195902.17109-1-tony.luck@intel.com>
Date: Fri, 25 Jan 2019 11:58:58 -0800
From: Tony Luck <tony.luck@...el.com>
To: Borislav Petkov <bp@...en8.de>
Cc: Tony Luck <tony.luck@...el.com>, Qiuxu Zhuo <qiuxu.zhuo@...el.com>,
Aristeu Rozanski <aris@...hat.com>,
Mauro Carvalho Chehab <mchehab@...pensource.com>,
Kan Liang <kan.liang@...ux.intel.com>,
linux-edac@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH 0/4] EDAC driver for Jacobsville microserver
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
Powered by blists - more mailing lists