Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

EDAC/skx_common: Remove unused *NUM*_IMC macros

There are no references to the *NUM*_IMC macros, so remove them.

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-8-qiuxu.zhuo@intel.com

authored by

Qiuxu Zhuo and committed by
Tony Luck
a95dcf3d f7a29a37

-5
-5
drivers/edac/skx_common.h
··· 29 29 #define GET_BITFIELD(v, lo, hi) \ 30 30 (((v) & GENMASK_ULL((hi), (lo))) >> (lo)) 31 31 32 - #define SKX_NUM_IMC 2 /* Memory controllers per socket */ 33 32 #define SKX_NUM_CHANNELS 3 /* Channels per memory controller */ 34 33 #define SKX_NUM_DIMMS 2 /* Max DIMMS per channel */ 35 34 36 - #define I10NM_NUM_DDR_IMC 12 37 35 #define I10NM_NUM_DDR_CHANNELS 2 38 36 #define I10NM_NUM_DDR_DIMMS 2 39 37 40 - #define I10NM_NUM_HBM_IMC 16 41 38 #define I10NM_NUM_HBM_CHANNELS 2 42 39 #define I10NM_NUM_HBM_DIMMS 1 43 40 44 - #define I10NM_NUM_IMC (I10NM_NUM_DDR_IMC + I10NM_NUM_HBM_IMC) 45 41 #define I10NM_NUM_CHANNELS MAX(I10NM_NUM_DDR_CHANNELS, I10NM_NUM_HBM_CHANNELS) 46 42 #define I10NM_NUM_DIMMS MAX(I10NM_NUM_DDR_DIMMS, I10NM_NUM_HBM_DIMMS) 47 43 48 - #define NUM_IMC MAX(SKX_NUM_IMC, I10NM_NUM_IMC) 49 44 #define NUM_CHANNELS MAX(SKX_NUM_CHANNELS, I10NM_NUM_CHANNELS) 50 45 #define NUM_DIMMS MAX(SKX_NUM_DIMMS, I10NM_NUM_DIMMS) 51 46