mirror of https://gitee.com/openkylin/linux.git
EDAC: Add DDR3 LRDIMM entries to edac_mem_types
F15hM60h adds support for DDR4 and DDR3 LRDIMMs. Add them here. Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com> Link: http://lkml.kernel.org/r/1411070218-10258-1-git-send-email-Aravind.Gopalakrishnan@amd.com [ Boris: improve comments. ] Signed-off-by: Borislav Petkov <bp@suse.de>
This commit is contained in:
parent
15895a729e
commit
348fec7021
|
@ -146,6 +146,9 @@ const char * const edac_mem_types[] = {
|
|||
"Rambus XDR",
|
||||
"Unbuffered DDR3 RAM",
|
||||
"Registered DDR3 RAM",
|
||||
"Load-Reduced DDR3 RAM",
|
||||
"Unbuffered DDR4 RAM",
|
||||
"Registered DDR4 RAM",
|
||||
};
|
||||
EXPORT_SYMBOL_GPL(edac_mem_types);
|
||||
|
||||
|
|
|
@ -194,7 +194,8 @@ static inline char *mc_event_error_type(const unsigned int err_type)
|
|||
* @MEM_DDR3: DDR3 RAM
|
||||
* @MEM_RDDR3: Registered DDR3 RAM
|
||||
* This is a variant of the DDR3 memories.
|
||||
* @MEM_DDR4: DDR4 RAM
|
||||
* @MEM_LRDDR3 Load-Reduced DDR3 memory.
|
||||
* @MEM_DDR4: Unbuffered DDR4 RAM
|
||||
* @MEM_RDDR4: Registered DDR4 RAM
|
||||
* This is a variant of the DDR4 memories.
|
||||
*/
|
||||
|
@ -216,6 +217,7 @@ enum mem_type {
|
|||
MEM_XDR,
|
||||
MEM_DDR3,
|
||||
MEM_RDDR3,
|
||||
MEM_LRDDR3,
|
||||
MEM_DDR4,
|
||||
MEM_RDDR4,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue