]> git.ipfire.org Git - thirdparty/linux.git/commit
EDAC/{skx_common,skx,i10nm}: Make skx_register_mci() independent of pci_dev
authorQiuxu Zhuo <qiuxu.zhuo@intel.com>
Wed, 19 Nov 2025 20:11:40 +0000 (12:11 -0800)
committerTony Luck <tony.luck@intel.com>
Wed, 19 Nov 2025 20:11:40 +0000 (12:11 -0800)
commitb3d70059cbb262eef12927dbcf37ba8586d4a3ab
tree4dafcd2e2e1b695c7a54ca6923e2844ab107fd7a
parentcdf5ecc3f6e1b3cc5475b879c64e16ecf6de569b
EDAC/{skx_common,skx,i10nm}: Make skx_register_mci() independent of pci_dev

Memory controllers in the new Intel server CPUs, such as Diamond Rapids,
are presented as MMIO-based devices rather than PCI devices.
Modify skx_register_mci() to be independent of 'pci_dev' and use a generic
'dev' of 'struct device' to prepare for support of such MMIO-based memory
controllers.

Tested-by: Yi Lai <yi1.lai@intel.com>
Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Link: https://patch.msgid.link/20251119134132.2389472-2-qiuxu.zhuo@intel.com
drivers/edac/i10nm_base.c
drivers/edac/skx_base.c
drivers/edac/skx_common.c
drivers/edac/skx_common.h