Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1214204ybb; Wed, 1 Apr 2020 18:28:55 -0700 (PDT) X-Google-Smtp-Source: APiQypLieHbc2wm8ijgP8zMiiWuudG6igmssqATknpDAuGJvHBVmTg9okREQTWpzqj4wRxX/K7g5 X-Received: by 2002:aca:75d5:: with SMTP id q204mr609484oic.9.1585790935404; Wed, 01 Apr 2020 18:28:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585790935; cv=none; d=google.com; s=arc-20160816; b=R4ZJbdcIcVBnColm59E5bl+ThuFEBygBTaZ/RQJ+1tJLNIF9BtAg9ocLpb+zRa/6H9 9tPbVtLs1TUBvr/+M/dG2VabinrPXwXIIJvVOXHDUFR/9p69/XL6zKnKE0/X/ovV5vb+ BhcOGKGof1dqqBNFPcxsE+pOEDLY+n3wAlX+s3bZWcpfjnDDZvoHNdcnS8Xk4zGUsS48 ht0T87TGUwI0nfNaUXYEs8u5Jsxl5I5s1o5snRxwZMsAhJXKSOamdBl1DE3P7Atx/HdT auVa/67lSEbB1IFDshxhcRTy0WO+W7nuxkvCxReQcL56651AlgxqsAY2byp5LIF09YRt M9jQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=14+23GlEFyImVj6DMCz5ATPX6/qBUQ/k3h1raUwCZ88=; b=QJbPHZ+Vfac7oxgvI2+eq7aCOOXAsXmGho6680f9r+8VTf7h9mbqDU3G5rf7NggL2Z dYJC1SjEvD4C1W4Brg/xr+8xp9+4GKleD+NdW2YcpNlNLUv3E1/esV269+4Fl/REnnrG G//QM8lEoQ6ARxutSg52LFj4QsjjddYxIsGIB5p0QxtIoU3FC8V2aNEefHUQI9Qe3DzN w8+YBF9dkfLko+vExLCm/X0MfHMoZCViEXmfZQXXlQhtpGjZa2TsOvE1LDfwKkI0Skhi BsH27WXz7X6pLdPpuRiQ6kbfaK5HxxXKnbe8cedbbYzDVeS/1taaCfepcuhA5jfBPl2W UspA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c9si2196689ots.110.2020.04.01.18.28.42; Wed, 01 Apr 2020 18:28:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732664AbgDBB20 (ORCPT + 99 others); Wed, 1 Apr 2020 21:28:26 -0400 Received: from inva020.nxp.com ([92.121.34.13]:44248 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726319AbgDBB20 (ORCPT ); Wed, 1 Apr 2020 21:28:26 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 51FC91A1109; Thu, 2 Apr 2020 03:28:24 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 993D71A1105; Thu, 2 Apr 2020 03:28:18 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id DDF0A402DF; Thu, 2 Apr 2020 09:28:11 +0800 (SGT) From: Sherry Sun To: bp@alien8.de, mchehab@kernel.org, tony.luck@intel.com, james.morse@arm.com, rrichter@marvell.com, michal.simek@xilinx.com, manish.narani@xilinx.com Cc: linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org, linux-imx@nxp.com, frank.li@nxp.com Subject: [patch v3 0/4] Add edac driver for i.MX8MP based on synopsys edac driver Date: Thu, 2 Apr 2020 09:20:29 +0800 Message-Id: <1585790433-31465-1-git-send-email-sherry.sun@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset add edac driver support for i.MX8MP, since i.MX8MP use the same synopsys memory controller with ZynqMP, so the driver is based on synopsys_edac driver. Considering that i.MX8MP dts file is still in kernel/git/shawnguo/linux.git and isn't in mainline now, I will add EDAC node in i.MX8MP dts after this file is pushed to mainline. And the edac driver for i.MX8MP has been tested in kernel/git/shawnguo/linux.git where i.MX8MP is supported, it turns out that this driver works well to detect corrected and uncorrected errors for LPDDR4 in i.MX8MP. Changes since v2: ================= - Use u64 data instead u32 data_low and u32 data_high as robert suggested in patch 4/4. - Add edac_dbg() for the != DEV_X8 cases in zynqmp_get_error_info() in patch 4/4. - Change the format of the output data to avoid build warnings in patch 4/4. Changes since v1: ================= - Reorganized the patchset, no content changes. Sherry Sun (4): dt-bindings: memory-controllers: Add i.MX8MP DDRC binding doc EDAC: Add synopsys edac driver support for i.MX8MP EDAC: synopsys: Add edac driver support for i.MX8MP EDAC: synopsys: Add useful debug and output information for 64bit systems .../bindings/memory-controllers/synopsys.txt | 8 +- drivers/edac/Kconfig | 2 +- drivers/edac/synopsys_edac.c | 248 ++++++++++++------ 3 files changed, 179 insertions(+), 79 deletions(-) -- 2.17.1