]> www.infradead.org Git - users/jedix/linux-maple.git/commit
EDAC/ie31200: Make struct dimm_data contain decoded information
authorQiuxu Zhuo <qiuxu.zhuo@intel.com>
Mon, 10 Mar 2025 01:14:07 +0000 (09:14 +0800)
committerTony Luck <tony.luck@intel.com>
Mon, 10 Mar 2025 17:45:56 +0000 (10:45 -0700)
commitafdbc36555567a622843c5330174260f7ea954fc
tree2e09ba10ee31ba914657bd1b13727d6b74a19e0b
parent2a52cce6486171a1adb43f8f17ad3f1d1c234c7c
EDAC/ie31200: Make struct dimm_data contain decoded information

The current dimm_data structure contains encoded DIMM information,
which needs to be decoded for a given SoC when it is used. Make it
contain decoded information when it's initialized so that the places
where it is used do not need to decode it again, thereby simplifying
the code.

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-8-qiuxu.zhuo@intel.com
drivers/edac/ie31200_edac.c