EDAC, skx_common: Separate common code out from skx_edac
authorQiuxu Zhuo <qiuxu.zhuo@intel.com>
Wed, 30 Jan 2019 19:15:17 +0000 (11:15 -0800)
committerBorislav Petkov <bp@suse.de>
Sat, 2 Feb 2019 09:50:59 +0000 (10:50 +0100)
commit88a242c9874044740ab990d4fccba8bb90cb924b
tree4a111eb5c9d93fb3d00c621acf1cd5fc686f4f3b
parent84ba10d633f1e8886e62bfd88e1b04ea28310483
EDAC, skx_common: Separate common code out from skx_edac

Parts of skx_edac can be shared with the Intel 10nm server EDAC driver.

Carve out the common parts from skx_edac in preparation to support both
skx_edac driver and i10nm_edac drivers.

Co-developed-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: James Morse <james.morse@arm.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: https://lkml.kernel.org/r/20190130191519.15393-3-tony.luck@intel.com
drivers/edac/skx_common.c [new file with mode: 0644]
drivers/edac/skx_common.h [new file with mode: 0644]