]> git.karo-electronics.de Git - linux-beck.git/commitdiff
EDAC: Add DDR3 LRDIMM entries to edac_mem_types
authorAravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
Thu, 18 Sep 2014 19:56:58 +0000 (14:56 -0500)
committerBorislav Petkov <bp@suse.de>
Mon, 20 Oct 2014 12:22:22 +0000 (14:22 +0200)
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>
drivers/edac/edac_mc.c
include/linux/edac.h

index c3893b0ddb18425c733cb9446818d9feddcc2ace..129ff9c36a7812dcddb5f96d70a83a16f11b4f0c 100644 (file)
@@ -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);
 
index e1e68da6f35c2edd71a08c47ddede967c90db3f9..da3b72e95db3cb0ba734ff736ad94aab6fd5b175 100644 (file)
@@ -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,
 };