From patchwork Wed Apr 27 01:51:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sherry Sun X-Patchwork-Id: 12828170 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C1272C433F5 for ; Wed, 27 Apr 2022 01:53:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=/ouLH3NvLUKRzRvN78FvIGu9r1yuD00GQMC7d+dH20Y=; b=T+kIL0oWmzzHYo xK+7LG8wfBquR2u9e3+3BYvbnIwB2Wo3xOAJP3npiuj0iBnVgZi+I0ylZgoYx8zT+GwNv7JDOh/Uv as0seJeqF6y/19mqH6Tm9wXdxS9NMwL0IEZVFuMruXyClLc3jy18t9didCdsnVk1D8aL02ksZeEY+ ACVXFfIXZr6vU7Lfz5svpjPSCAsh65LT7zlUN6uJUJmAVyYSZ8W1id29fY3QyFOsJn33dqW/EEhkl ID94h0Gps0tQP//g0BoXjslLetb34vT/EVO/gTxqkB4aWEJC2in2elwFV6fDLSINjM9rjIn/F0UC2 MFv3camhzGaBPjBjaUhA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1njWrH-00GxVY-KE; Wed, 27 Apr 2022 01:52:47 +0000 Received: from mail-he1eur04on061e.outbound.protection.outlook.com ([2a01:111:f400:fe0d::61e] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1njWrE-00GxUc-9M for linux-arm-kernel@lists.infradead.org; Wed, 27 Apr 2022 01:52:45 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i0t623aEiroS8m3FlOWsr0hzEBEZMjaX78o0uwLpS4M+KsC4qScy3m7jBweFQLaR8d3Fmwbg+ZM1e2rDGjJFh9eicPL2hyGdoOdUQEr8KRrntZX4n4S7QnXLNYcFe+NmqH1lRsySKgjbsUi4AocJFu88UyERaoGOiLpxZQ/dw8Zf/6JP6dV1ik2oLfJumxJHv4LeelLZ+SZUNSmMicVkxYoPlieChU9ctgbZ49axaA3J8dZuSObT2d7VYo2hHFlHmjykgCijOpcpA20IUVYhIcINPKmb8XVG3rhGbON/iA4/JR6APORWCoszpejCKLRAPGaUdW+GWBIsSkEQ0GVBRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=cxanjDe5IFpB8yyg6ZLFfb94x5Ftowg/aQq7V9hYeQ8=; b=ey+hfDOWYhEv53kF3vd7bB0Pr3VNhjXmJ8FZL/6durYxHgwp4snoOY+lyoLR3hBM8vIcPndOcvE9IwmtEYUa13OJZv+lFU26xMPGPkyniJsA/9Wal0mqYwocml4/AtqgolJ+WuZxmeT6eKM2W4sacNVjB38uxEn/XA1329eKy99J+bgM54eUvTpXYhLy/HEYIIlH9dnyJzdyZWNEhi9L5VxmFT1FSbAVue/0lK9t3aGUR1pqFVkRfhZi1eCMs+TNjAJAOx3HLSaRRKEfIwLwE66VFilZuwuEO5gABGBXy1GBdQOGya2AGUs+zbOF7/4d8C9irWPP5Yci3J5Hxik+Tg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cxanjDe5IFpB8yyg6ZLFfb94x5Ftowg/aQq7V9hYeQ8=; b=anqtZJCOuCO37dn4uLNfVMZQlhzEMXoBzCW4jk8MFFe99RbYG0B/j986a2pSx7bSUSdVgPdWNrj5rMzg9WnBKYtV9gGAUC7DX/90FBYCn+/tm+5OAae6mGNGiVjuH342LYkj6cf4d+nq0LH+ZWNaUIGa/Ga5jYsax7puQ/vU6UA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AS8PR04MB8404.eurprd04.prod.outlook.com (2603:10a6:20b:3f8::7) by VI1PR0401MB2589.eurprd04.prod.outlook.com (2603:10a6:800:4f::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5186.21; Wed, 27 Apr 2022 01:52:40 +0000 Received: from AS8PR04MB8404.eurprd04.prod.outlook.com ([fe80::1cff:564b:c3cf:46e6]) by AS8PR04MB8404.eurprd04.prod.outlook.com ([fe80::1cff:564b:c3cf:46e6%5]) with mapi id 15.20.5186.021; Wed, 27 Apr 2022 01:52:39 +0000 From: Sherry Sun To: bp@alien8.de, michal.simek@xilinx.com, Shubhrajyoti.datta@xilinx.com, dinguyen@kernel.org Cc: linux-edac@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-imx@nxp.com Subject: [PATCH V4 0/2] EDAC: synopsys: fix some bugs in v3.x Synopsys EDAC DDR driver Date: Wed, 27 Apr 2022 09:51:35 +0800 Message-Id: <20220427015137.8406-1-sherry.sun@nxp.com> X-Mailer: git-send-email 2.17.1 X-ClientProxiedBy: SI2PR01CA0002.apcprd01.prod.exchangelabs.com (2603:1096:4:191::21) To AS8PR04MB8404.eurprd04.prod.outlook.com (2603:10a6:20b:3f8::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 00ff4ffd-749a-49a3-6886-08da27f09c53 X-MS-TrafficTypeDiagnostic: VI1PR0401MB2589:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: y5ATC5LujRXOaJK8L6oKJ6+Sx2uSB/oYx708pYexr2XllocQfkPpRUX8mxY1Op/hO1S7b4aaPQxz31thHwSfRMC2/1uJTK58gtvMYU+okA2oGsFtZON7wwc/0fkt1cXsrtOAKpILMKt2gEKa6H/O9JJm+ulBnENsuGtVjPma5WFQbwSQi2ZuDfMX7QXPN/NgvaG/T6HnOaquvcxMfeXfX+cqRbgrOuAj94gpjeGY9ZZKe1zLY72/cJq403dj9MRFT/2Yeka77Gyu0KVab5cVeD+XOuxqWyn7x5Jlxxso4P4kcsY1SClpYonY+Ajd54AkqccdVXnXECG1WTiMHuthVv3feZ1aroQ935dKtqWT8XseyWAV2h/aPtEmRVFvQhEaviJ/nU7XZ3cW3gAYKb2hAfbBlVIbJYefm+0uvK8RW1Up3lU4C7YL81vQhHBHKwO0S9b0o7iXU0hosJGv45GeTyo3/eRS1a9GFs0uMdc5mCtd6WRxGU8+qmBohWfReMzOFD0A+OUMk7dmwxfT9HwvNGwtjGF3QxMDgDxVCazII/BEX/NtWdYJQ0lDAxQxWY1sKH0lZ/04wA4UnpmoCRYJ5/75DverGLwcE0xhGv5NATGIvZPIoXonsr1QWZfjMELnH0+Y1XPn0pbtvYS0KP3BmD0A2Tj6ZT36b4K5xjwx6IYdjuAc+P/YqiWPmGzIN538wrMUVC3S5abnGAcSwkRU4w== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR04MB8404.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(38350700002)(2906002)(6486002)(508600001)(4744005)(38100700002)(66556008)(66946007)(8676002)(4326008)(66476007)(86362001)(8936002)(44832011)(316002)(5660300002)(26005)(6512007)(83380400001)(2616005)(36756003)(186003)(6506007)(1076003)(52116002)(6666004); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: QbHjcgbXz8XSkFuP5J9qdluyOWqb0xgIXggU7UHfg3gNxNlG/H3XklsKPf896BJUfs6DcVSJ3/hevHECOrpoBGltDQKDMgQp9mwSFnUVgUAcqu67pQBk3SQC31rXmRGdVIBNl5R7d2fv39eF/p+fflZWBBffXyMMCCf6aRUpn4q8Z+DIcUbfOtLEq5mRbFD7jWftXUQmDtfW80vjJEAr3eKbAGI3CKzhBEPOBjgwulneHUw1ym3F8lbVem9xJhkhMZIoITdhtsLeH+Hx5hPvFFvGSZZ96H0G0g792wurTXRM8DLRRGNfSZdYlge/S38gunMX4GDgEeSFIO01NI/vWRB4iHv0rrTiTy2a5/8WCNG6MQiNj6T72PdRySM/vc/3rBS7JIxSIn0Vc3uzWpVtGSKSOrnTamOYpf8QudL4VfBFDs2XjjnVijk4w5qs/bW2xFgFXg+g94lKtwMq8hRqb9zGauwXAqbMlEJZvMWJ/VkxAx1mtW6eL+6tTKATz/e9rMAMFtGb8BQAK5bl+ysq3LttAmmlDohQlucIgmdHRki90k6SJoJbfiVNst0Jx/kDlCxyWlFCfalwdRWzW/Ev6lVgWnaUOgD5vx1caA2T/6/N1HhBn7slBzR9sx6UBjKA9ac1gIhojz8BZV6pJ+pm9HHANmOdST0/Ar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bxA== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 00ff4ffd-749a-49a3-6886-08da27f09c53 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8404.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Apr 2022 01:52:39.8335 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: r0sv6IG6MIxf9iBSVWptxzHROpddTfbGBodwODfDMoSHLWcRH4YYLfYwqS3jjisX+BFYQG0F9BeVFYL6UDBzuA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2589 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220426_185244_367064_E40798B5 X-CRM114-Status: UNSURE ( 6.37 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The two patches fix some issues for v3.x Synopsys EDAC DDR in synopsys_edac.c. For the details, please check the patch commit log. This has been verified on i.MX8MP platform. Sherry Sun (2): EDAC/synopsys: Disable the error interrupt on Synopsys EDAC v3.x hardware EDAC/synopsys: Re-enable the interrupts in intr_handler for v3.x Synopsys EDAC DDR drivers/edac/synopsys_edac.c | 44 ++++++++++++++++++++---------------- 1 file changed, 25 insertions(+), 19 deletions(-)