linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] EDAC driver for Jacobsville microserver
@ 2019-01-25 19:58 Tony Luck
  2019-01-25 19:58 ` [PATCH 1/4] EDAC, skx_comm_edac: Separate common codes from the skx_edac driver Tony Luck
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Tony Luck @ 2019-01-25 19:58 UTC (permalink / raw)
  To: Borislav Petkov
  Cc: Tony Luck, Qiuxu Zhuo, Aristeu Rozanski, Mauro Carvalho Chehab,
	Kan Liang, linux-edac, linux-kernel

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-01-29 17:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-25 19:58 [PATCH 0/4] EDAC driver for Jacobsville microserver Tony Luck
2019-01-25 19:58 ` [PATCH 1/4] EDAC, skx_comm_edac: Separate common codes from the skx_edac driver Tony Luck
2019-01-29 16:09   ` Borislav Petkov
2019-01-25 19:59 ` [PATCH 2/4] EDAC, skx_edac: Delete the duplicated codes Tony Luck
2019-01-29 17:12   ` Borislav Petkov
2019-01-25 19:59 ` [PATCH 3/4] x86: intel-family.h: Add Atom Tremont (Jacobsville) Tony Luck
2019-01-29 15:48   ` [tip:x86/urgent] x86/cpu: " tip-bot for Kan Liang
2019-01-25 19:59 ` [PATCH 4/4] EDAC, i10nm_edac: Add EDAC driver for Intel 10nm server processors Tony Luck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).