]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
EDAC/{skx_common,i10nm,imh}: Move MC register access helpers to skx_common
authorQiuxu Zhuo <qiuxu.zhuo@intel.com>
Thu, 21 May 2026 07:31:05 +0000 (15:31 +0800)
committerTony Luck <tony.luck@intel.com>
Fri, 29 May 2026 15:34:12 +0000 (08:34 -0700)
commitbebda0aba2cf64271ded37746c48f9ab6652ca31
treecfd8b229a124b3cee7c7baed4f61b0520cd2e999
parentc63ed6e1f5fe648a4a099b6717f679999be482ef
EDAC/{skx_common,i10nm,imh}: Move MC register access helpers to skx_common

Both i10nm_basic.c and imh_basic.c use identical helpers for accessing
memory controller MMIO-based registers. Move these helpers to skx_common.c
to eliminate code duplication. This change also prepares for an upcoming
patch that will move RRL(retry_rd_err_log) code from i10nm_basic.c to
skx_common.c, which requires these helpers to be available in skx_common.c.

Additionally, prefix these function names with 'skx_' to maintain naming
consistency within the file.

No functional changes intended.

Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Tested-by: Yi Lai <yi1.lai@intel.com>
Link: https://patch.msgid.link/20260521073112.3881223-2-qiuxu.zhuo@intel.com
drivers/edac/i10nm_base.c
drivers/edac/imh_base.c
drivers/edac/skx_common.c
drivers/edac/skx_common.h