]> Gentwo Git Trees - linux/.git/commit
EDAC/skx_common: Move mc_mapping to be a field inside struct skx_imc
authorQiuxu Zhuo <qiuxu.zhuo@intel.com>
Thu, 31 Jul 2025 14:55:29 +0000 (22:55 +0800)
committerTony Luck <tony.luck@intel.com>
Tue, 19 Aug 2025 23:23:22 +0000 (16:23 -0700)
commit59cfc06a874e01633865d0b05eba47b09b8b3a8f
tree9fd8a6646468b094e9305b63b5ab8b0730958e6a
parent219af5dfce98fe254335ea79c2bf98428c38370c
EDAC/skx_common: Move mc_mapping to be a field inside struct skx_imc

The mc_mapping and imc fields of struct skx_dev have the same size,
NUM_IMC. Move mc_mapping to be a field inside struct skx_imc to prepare
for making the imc array of memory controller instances a flexible array.

No functional changes intended.

Suggested-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/r/20250731145534.2759334-3-qiuxu.zhuo@intel.com
drivers/edac/skx_common.c
drivers/edac/skx_common.h