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

edac: add DDR4 and RDDR4

Haswell memory controller can make use of DDR4 and Registered DDR4

Cc: tony.luck@intel.com
Signed-off-by: Aristeu Rozanski <aris@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>

authored by

Aristeu Rozanski and committed by
Mauro Carvalho Chehab
7b827835 adc61bcd

+8 -1
+3 -1
drivers/edac/edac_mc_sysfs.c
··· 108 108 [MEM_RDDR2] = "Registered-DDR2", 109 109 [MEM_XDR] = "XDR", 110 110 [MEM_DDR3] = "Unbuffered-DDR3", 111 - [MEM_RDDR3] = "Registered-DDR3" 111 + [MEM_RDDR3] = "Registered-DDR3", 112 + [MEM_DDR4] = "Unbuffered-DDR4", 113 + [MEM_RDDR4] = "Registered-DDR4" 112 114 }; 113 115 114 116 static const char * const dev_types[] = {
+5
include/linux/edac.h
··· 194 194 * @MEM_DDR3: DDR3 RAM 195 195 * @MEM_RDDR3: Registered DDR3 RAM 196 196 * This is a variant of the DDR3 memories. 197 + * @MEM_DDR4: DDR4 RAM 198 + * @MEM_RDDR4: Registered DDR4 RAM 199 + * This is a variant of the DDR4 memories. 197 200 */ 198 201 enum mem_type { 199 202 MEM_EMPTY = 0, ··· 216 213 MEM_XDR, 217 214 MEM_DDR3, 218 215 MEM_RDDR3, 216 + MEM_DDR4, 217 + MEM_RDDR4, 219 218 }; 220 219 221 220 #define MEM_FLAG_EMPTY BIT(MEM_EMPTY)