]> www.infradead.org Git - users/jedix/linux-maple.git/commit
EDAC/{skx_common,i10nm}: Refactor show_retry_rd_err_log()
authorQiuxu Zhuo <qiuxu.zhuo@intel.com>
Thu, 17 Apr 2025 15:07:23 +0000 (23:07 +0800)
committerTony Luck <tony.luck@intel.com>
Thu, 17 Apr 2025 17:33:37 +0000 (10:33 -0700)
commit126168fa2c3e16113ea75a656fff5156a54a5726
treee9497bc93fc759d1945553541c4072959b0d662e
parentba3985c1faf5eb72084ddc31204b076c2a450263
EDAC/{skx_common,i10nm}: Refactor show_retry_rd_err_log()

Make the {valid bit, overwritten status, number} of RRL registers and the
{number, offsets, widths} of per-channel CORRERRCNT registers configurable.
Refactor show_retry_rd_err_log() to use the configurable fields of struct
reg_rrl, making the code more scalable and simpler.

No functional changes intended.

Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Tested-by: Feng Xu <feng.f.xu@intel.com>
Link: https://lore.kernel.org/r/20250417150724.1170168-7-qiuxu.zhuo@intel.com
drivers/edac/i10nm_base.c
drivers/edac/skx_common.h