From patchwork Thu Sep 18 19:56:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aravind Gopalakrishnan X-Patchwork-Id: 4933791 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4FD339F2EC for ; Thu, 18 Sep 2014 19:54:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 065D42017D for ; Thu, 18 Sep 2014 19:54:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 248C220166 for ; Thu, 18 Sep 2014 19:54:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756232AbaIRTy0 (ORCPT ); Thu, 18 Sep 2014 15:54:26 -0400 Received: from mail-bn1bon0138.outbound.protection.outlook.com ([157.56.111.138]:35185 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753340AbaIRTyZ (ORCPT ); Thu, 18 Sep 2014 15:54:25 -0400 Received: from BLUPR02CA058.namprd02.prod.outlook.com (25.160.23.176) by BN1PR02MB200.namprd02.prod.outlook.com (10.242.214.156) with Microsoft SMTP Server (TLS) id 15.0.1029.13; Thu, 18 Sep 2014 19:39:09 +0000 Received: from BN1AFFO11FD054.protection.gbl (2a01:111:f400:7c10::177) by BLUPR02CA058.outlook.office365.com (2a01:111:e400:8ad::48) with Microsoft SMTP Server (TLS) id 15.0.1034.13 via Frontend Transport; Thu, 18 Sep 2014 19:39:09 +0000 Received: from atltwp01.amd.com (165.204.84.221) by BN1AFFO11FD054.mail.protection.outlook.com (10.58.53.69) with Microsoft SMTP Server id 15.0.1029.15 via Frontend Transport; Thu, 18 Sep 2014 19:39:08 +0000 X-WSS-ID: 0NC43X7-07-PQ1-02 X-M-MSG: Received: from satlvexedge02.amd.com (satlvexedge02.amd.com [10.177.96.29]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by atltwp01.amd.com (Axway MailGate 5.3.1) with ESMTPS id 2DC26CAE642; Thu, 18 Sep 2014 14:39:07 -0500 (CDT) Received: from SATLEXDAG05.amd.com (10.181.40.11) by SATLVEXEDGE02.amd.com (10.177.96.29) with Microsoft SMTP Server (TLS) id 14.3.195.1; Thu, 18 Sep 2014 14:39:19 -0500 Received: from arav-dinar.amd.com (10.180.168.240) by satlexdag05.amd.com (10.181.40.11) with Microsoft SMTP Server id 14.3.195.1; Thu, 18 Sep 2014 15:39:08 -0400 From: Aravind Gopalakrishnan To: , , , , , , , , , , , CC: Aravind Gopalakrishnan Subject: [PATCH 3/4] edac: Add DDR3 LRDIMM support, entries in edac_mem_types[] Date: Thu, 18 Sep 2014 14:56:58 -0500 Message-ID: <1411070218-10258-1-git-send-email-Aravind.Gopalakrishnan@amd.com> X-Mailer: git-send-email 2.0.2 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:165.204.84.221; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(428002)(189002)(199003)(2201001)(93916002)(99396002)(47776003)(92726001)(95666004)(87936001)(104166001)(36756003)(83072002)(83322001)(101416001)(85852003)(74502003)(92566001)(106466001)(44976005)(19580395003)(20776003)(89996001)(85306004)(90102001)(21056001)(81342003)(74662003)(77982003)(64706001)(50226001)(88136002)(50986999)(68736004)(19580405001)(81542003)(53416004)(105586002)(79102003)(86362001)(76482002)(46102003)(62966002)(50466002)(97736003)(229853001)(107046002)(77096002)(31966008)(48376002)(77156001)(80022003)(87286001)(4396001)(84676001)(1121002)(921003)(83996005)(2101003); DIR:OUT; SFP:1102; SCL:1; SRVR:BN1PR02MB200; H:atltwp01.amd.com; FPR:; MLV:sfv; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;UriScan:; X-Forefront-PRVS: 033857D0BD Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) Authentication-Results: spf=none (sender IP is 165.204.84.221) smtp.mailfrom=Aravind.Gopalakrishnan@amd.com; X-OriginatorOrg: amd4.onmicrosoft.com Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP F15hM60h adds support for DDR4 and DDR3 LRDIMMS. Adding them here. Signed-off-by: Aravind Gopalakrishnan --- drivers/edac/edac_mc.c | 3 +++ include/linux/edac.h | 2 ++ 2 files changed, 5 insertions(+) diff --git a/drivers/edac/edac_mc.c b/drivers/edac/edac_mc.c index 9f134823..71fd9fb 100644 --- a/drivers/edac/edac_mc.c +++ b/drivers/edac/edac_mc.c @@ -146,6 +146,9 @@ const char *edac_mem_types[] = { "Rambus XDR", "Unbuffered DDR3 RAM", "Registered DDR3 RAM", + "Load-Reduce DDR3 RAM", + "Unbuffered DDR4 RAM", + "Registered DDR4 RAM", }; EXPORT_SYMBOL_GPL(edac_mem_types); diff --git a/include/linux/edac.h b/include/linux/edac.h index e1e68da..7a80100 100644 --- a/include/linux/edac.h +++ b/include/linux/edac.h @@ -194,6 +194,7 @@ 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_LRDDR3 Load-Reduce DDR3 memory * @MEM_DDR4: 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, };