diff options
-rw-r--r-- | drivers/edac/edac_mc_sysfs.c | 4 | ||||
-rw-r--r-- | include/linux/edac.h | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/drivers/edac/edac_mc_sysfs.c b/drivers/edac/edac_mc_sysfs.c index 01fae8289cf0..a6cd36100663 100644 --- a/drivers/edac/edac_mc_sysfs.c +++ b/drivers/edac/edac_mc_sysfs.c | |||
@@ -108,7 +108,9 @@ static const char * const mem_types[] = { | |||
108 | [MEM_RDDR2] = "Registered-DDR2", | 108 | [MEM_RDDR2] = "Registered-DDR2", |
109 | [MEM_XDR] = "XDR", | 109 | [MEM_XDR] = "XDR", |
110 | [MEM_DDR3] = "Unbuffered-DDR3", | 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 | static const char * const dev_types[] = { | 116 | static const char * const dev_types[] = { |
diff --git a/include/linux/edac.h b/include/linux/edac.h index 8e6c20af11a2..e1e68da6f35c 100644 --- a/include/linux/edac.h +++ b/include/linux/edac.h | |||
@@ -194,6 +194,9 @@ static inline char *mc_event_error_type(const unsigned int err_type) | |||
194 | * @MEM_DDR3: DDR3 RAM | 194 | * @MEM_DDR3: DDR3 RAM |
195 | * @MEM_RDDR3: Registered DDR3 RAM | 195 | * @MEM_RDDR3: Registered DDR3 RAM |
196 | * This is a variant of the DDR3 memories. | 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 | enum mem_type { | 201 | enum mem_type { |
199 | MEM_EMPTY = 0, | 202 | MEM_EMPTY = 0, |
@@ -213,6 +216,8 @@ enum mem_type { | |||
213 | MEM_XDR, | 216 | MEM_XDR, |
214 | MEM_DDR3, | 217 | MEM_DDR3, |
215 | MEM_RDDR3, | 218 | MEM_RDDR3, |
219 | MEM_DDR4, | ||
220 | MEM_RDDR4, | ||
216 | }; | 221 | }; |
217 | 222 | ||
218 | #define MEM_FLAG_EMPTY BIT(MEM_EMPTY) | 223 | #define MEM_FLAG_EMPTY BIT(MEM_EMPTY) |