|
@@ -186,6 +186,7 @@ static inline char *mc_event_error_type(const unsigned int err_type)
|
|
|
* @MEM_RDDR4: Registered DDR4 RAM
|
|
|
* This is a variant of the DDR4 memories.
|
|
|
* @MEM_LRDDR4: Load-Reduced DDR4 memory.
|
|
|
+ * @MEM_NVDIMM: Non-volatile RAM
|
|
|
*/
|
|
|
enum mem_type {
|
|
|
MEM_EMPTY = 0,
|
|
@@ -209,6 +210,7 @@ enum mem_type {
|
|
|
MEM_DDR4,
|
|
|
MEM_RDDR4,
|
|
|
MEM_LRDDR4,
|
|
|
+ MEM_NVDIMM,
|
|
|
};
|
|
|
|
|
|
#define MEM_FLAG_EMPTY BIT(MEM_EMPTY)
|
|
@@ -231,6 +233,7 @@ enum mem_type {
|
|
|
#define MEM_FLAG_DDR4 BIT(MEM_DDR4)
|
|
|
#define MEM_FLAG_RDDR4 BIT(MEM_RDDR4)
|
|
|
#define MEM_FLAG_LRDDR4 BIT(MEM_LRDDR4)
|
|
|
+#define MEM_FLAG_NVDIMM BIT(MEM_NVDIMM)
|
|
|
|
|
|
/**
|
|
|
* enum edac-type - Error Detection and Correction capabilities and mode
|