EDAC/igen6: Skip absent memory controllers
authorQiuxu Zhuo <qiuxu.zhuo@intel.com>
Tue, 8 Apr 2025 13:24:53 +0000 (21:24 +0800)
committerTony Luck <tony.luck@intel.com>
Thu, 17 Apr 2025 17:06:32 +0000 (10:06 -0700)
commit20e190b1c1fd88b21cc5106c12cfe6def5ab849d
tree08fc165ac9c3268cbb3a612c921b8e81bf8254e5
parent8ffd015db85fea3e15a77027fda6c02ced4d2444
EDAC/igen6: Skip absent memory controllers

Some BIOS versions may fuse off certain memory controllers and set the
registers of these absent memory controllers to ~0. The current igen6_edac
mistakenly enumerates these absent memory controllers and registers them
with the EDAC core.

Skip the absent memory controllers to avoid mistakenly enumerating them.

Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/r/20250408132455.489046-2-qiuxu.zhuo@intel.com
drivers/edac/igen6_edac.c