]> www.infradead.org Git - users/jedix/linux-maple.git/commit
EDAC/ie31200: Make the memory controller resources configurable
authorQiuxu Zhuo <qiuxu.zhuo@intel.com>
Mon, 10 Mar 2025 01:14:06 +0000 (09:14 +0800)
committerTony Luck <tony.luck@intel.com>
Mon, 10 Mar 2025 17:45:07 +0000 (10:45 -0700)
commit2a52cce6486171a1adb43f8f17ad3f1d1c234c7c
treefea2205e0e3b704164287d3f320fc6b32a23537c
parent312e67a03d8bb1745804936a4f6fdb69d64c3435
EDAC/ie31200: Make the memory controller resources configurable

The resources such as MMIO, register offset, register mask, memory DIMM
information, ECC error log location, etc., of the memory controller, and
the number of memory controllers can be device-ID-specific. It requires
adding numerous 'if (device_id == new_id)' special handling cases to the
code to support a new SoC.

Make these kinds of resources configurable and separate them from the code
to facilitate the addition of new SoC support.

No functional changes intended.

Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Tested-by: Gary Wang <gary.c.wang@intel.com>
Link: https://lore.kernel.org/r/20250310011411.31685-7-qiuxu.zhuo@intel.com
drivers/edac/ie31200_edac.c