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

EDAC: Add DDR5 new memory type

Add a new entry to 'enum mem_type' and a new string to
'edac_mem_types[]' for DDR5 new memory type.

Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>

authored by

Qiuxu Zhuo and committed by
Tony Luck
bc1c99a5 83ff51c4

+4
+1
drivers/edac/edac_mc.c
··· 163 163 [MEM_RDDR4] = "Registered-DDR4", 164 164 [MEM_LPDDR4] = "Low-Power-DDR4-RAM", 165 165 [MEM_LRDDR4] = "Load-Reduced-DDR4-RAM", 166 + [MEM_DDR5] = "Unbuffered-DDR5", 166 167 [MEM_NVDIMM] = "Non-volatile-RAM", 167 168 [MEM_WIO2] = "Wide-IO-2", 168 169 };
+3
include/linux/edac.h
··· 181 181 * This is a variant of the DDR4 memories. 182 182 * @MEM_LRDDR4: Load-Reduced DDR4 memory. 183 183 * @MEM_LPDDR4: Low-Power DDR4 memory. 184 + * @MEM_DDR5: Unbuffered DDR5 RAM 184 185 * @MEM_NVDIMM: Non-volatile RAM 185 186 * @MEM_WIO2: Wide I/O 2. 186 187 */ ··· 209 208 MEM_RDDR4, 210 209 MEM_LRDDR4, 211 210 MEM_LPDDR4, 211 + MEM_DDR5, 212 212 MEM_NVDIMM, 213 213 MEM_WIO2, 214 214 }; ··· 236 234 #define MEM_FLAG_RDDR4 BIT(MEM_RDDR4) 237 235 #define MEM_FLAG_LRDDR4 BIT(MEM_LRDDR4) 238 236 #define MEM_FLAG_LPDDR4 BIT(MEM_LPDDR4) 237 + #define MEM_FLAG_DDR5 BIT(MEM_DDR5) 239 238 #define MEM_FLAG_NVDIMM BIT(MEM_NVDIMM) 240 239 #define MEM_FLAG_WIO2 BIT(MEM_WIO2) 241 240