summaryrefslogtreecommitdiff
path: root/include/linux/edac.h
diff options
context:
space:
mode:
authorQiuxu Zhuo <qiuxu.zhuo@intel.com>2020-11-17 20:49:52 +0800
committerTony Luck <tony.luck@intel.com>2020-11-19 12:57:09 -0800
commitbc1c99a5971aa7571e8b9731c28fa32abe12cab8 (patch)
tree6259dcec1c31095603a689f527730d461e58f9b9 /include/linux/edac.h
parent83ff51c4e3fecf6b8587ce4d46f6eac59f5d7c5a (diff)
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>
Diffstat (limited to 'include/linux/edac.h')
-rw-r--r--include/linux/edac.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/edac.h b/include/linux/edac.h
index 8f63245f7f7c..e64b73b556eb 100644
--- a/include/linux/edac.h
+++ b/include/linux/edac.h
@@ -181,6 +181,7 @@ static inline char *mc_event_error_type(const unsigned int err_type)
* This is a variant of the DDR4 memories.
* @MEM_LRDDR4: Load-Reduced DDR4 memory.
* @MEM_LPDDR4: Low-Power DDR4 memory.
+ * @MEM_DDR5: Unbuffered DDR5 RAM
* @MEM_NVDIMM: Non-volatile RAM
* @MEM_WIO2: Wide I/O 2.
*/
@@ -208,6 +209,7 @@ enum mem_type {
MEM_RDDR4,
MEM_LRDDR4,
MEM_LPDDR4,
+ MEM_DDR5,
MEM_NVDIMM,
MEM_WIO2,
};
@@ -234,6 +236,7 @@ enum mem_type {
#define MEM_FLAG_RDDR4 BIT(MEM_RDDR4)
#define MEM_FLAG_LRDDR4 BIT(MEM_LRDDR4)
#define MEM_FLAG_LPDDR4 BIT(MEM_LPDDR4)
+#define MEM_FLAG_DDR5 BIT(MEM_DDR5)
#define MEM_FLAG_NVDIMM BIT(MEM_NVDIMM)
#define MEM_FLAG_WIO2 BIT(MEM_WIO2)