]> Gentwo Git Trees - linux/.git/commit
EDAC/skx_common: Prepare for skx_get_edac_list()
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)
commit9529e697739e2d4dc8c4129bbe91576f744f79f6
treef81d5342d197477f4173d0ee0c5ca47eba6ff21b
parentb3d70059cbb262eef12927dbcf37ba8586d4a3ab
EDAC/skx_common: Prepare for skx_get_edac_list()

The Intel EDAC library 'skx_common' maintains the Intel server EDAC device
list for {skx, i10nm}_edac drivers, which use skx_get_all_bus_mappings()
to build and retrieve the EDAC device list.

However, the upcoming Intel EDAC driver, imh_edac, for Diamond Rapids
servers is designed for memory controllers that are MMIO-based devices
rather than PCI devices. Consequently, it can't use
skx_get_all_bus_mappings() due to the absence of a PCI bus. To accommodate
this, prepare skx_get_edac_list() to enable the upcoming imh_edac driver
to obtain the EDAC device list from the skx_common library and build the
EDAC device list independently.

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-3-qiuxu.zhuo@intel.com
drivers/edac/skx_common.c
drivers/edac/skx_common.h