From patchwork Fri Mar 18 11:17:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sherry Sun X-Patchwork-Id: 12785186 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 D8E1AC433EF for ; Fri, 18 Mar 2022 11:21:34 +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=4HsTHnr6+1JpJ4jgCRfZFUwF0tG8ksP1480P5dffGv8=; b=PQUBGCrb2iunkE xFZjKMko0Rpzpz2Fs4NKhV/aw2RoXyKrHIrLSzhnP5puc/Wdjephz7fo0+V2bu/FZ7m1VW2uJzRZn c24HvqAOLWoRdLDwuGhbOvRXTAtZChz9QUPw80Hlzn8sWRwLgaeYyTWG+mM3lkl7T3uKZk/HxBt/f 5YsnwYlNAKyB9g/nEZ7LpQbhHwMOH7BrR7PDINCd9vACh6B5w6GPYPlVatmvm1afPPgBLSAHQsg5h BwYkXTVp7ssG+TFT3Tla/cshs43VmW31h6q0ALE2vDM/xeWo+o9pWkpeIzgRB67wcFpuuqkN/Exqg fgQSDB+bEW0KHR3z/4DQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nVAeY-001MmJ-QR; Fri, 18 Mar 2022 11:20:19 +0000 Received: from mail-vi1eur04on0607.outbound.protection.outlook.com ([2a01:111:f400:fe0e::607] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nVAeU-001Ml8-UZ for linux-arm-kernel@lists.infradead.org; Fri, 18 Mar 2022 11:20:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BwvRfMzRdzxZglWeIEhyrY6e5KqZm6pGetxfUzU5EFAy9Id0GHQIoIXvqOmWQAmke9gVyPNn9SN5TSE84I/xeYtMxYNdQ2+NUCCj7UK3T/bt1QZ/5rZsxiYJSvHVkGZ+nMQRjDvdpkPIapP3UVSQAD55kvyLTFBTMGasQLhN7/cWkUnm4fBCfwyvWko3wPb1aF3xBpVTHzEfcDglugYxxcVvSwQN8YxITK9FZcZkzN62M1ZdQqGeNYm7W2269qJnkRVLWsP+4LEYfnwszFrp/WZPydsktMqr4HoS4aG+wxnqhM6nm+yJq7rBho5tN67OHw4jJ16eLeClnQqPC6+u0w== 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=laEAGPUJ1L8UiJ3Wsl54wlV9Ig3njOhaqGNLzy3ciG0=; b=XXjq/RM92LLnyywL6Qet1DQpc55v6RR63MsZ1Z9p8Y5iRjoIOpxZtMdEFhad6OpY3nVpBvLqrkH8blddDHFr8aEiuVp01DHecwqre1X/Gcxrxf0ebcIZk2BTiDV9BZ/ff9hZcxbzwmpEgDmheShJr48MIsqJQXIe5QEuJz3//1Igsfzekm+cqUSkbcs/gnsV6PGxkT/cznGYP2535YPsY/d9YS5vii2aLNa8Hphd1ZEytL7ozUuFXpgZSEpK7z4WNkBwMrOQSIMg8fOlC0km1BomnZDEV+GfshYRcymoYwtKasdm1ZsOg72b38HIcj59tqzGn3PgVVyDF5PJkB9eQQ== 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=laEAGPUJ1L8UiJ3Wsl54wlV9Ig3njOhaqGNLzy3ciG0=; b=mFWUiBBIMi1Qp2ghop5JDCdgFhZOBQY6OIqf2QqxWVffbVhOeUXIj7Yr1EH7v7aT2j6xf3kpoKp7qi55edOoJConH+jU9IV8LvKPqFVYcI58oCfl3QuLzZ+hrpsaJdmYtl60OQ3OQePr99aTe5TNfJaeBYk2C23RPdxiPQ1Dhzc= 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 AM0PR04MB7108.eurprd04.prod.outlook.com (2603:10a6:208:19e::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5081.18; Fri, 18 Mar 2022 11:20:09 +0000 Received: from AS8PR04MB8404.eurprd04.prod.outlook.com ([fe80::6972:1f59:5d1c:e557]) by AS8PR04MB8404.eurprd04.prod.outlook.com ([fe80::6972:1f59:5d1c:e557%5]) with mapi id 15.20.5081.018; Fri, 18 Mar 2022 11:20:09 +0000 From: Sherry Sun To: bp@alien8.de, mchehab@kernel.org, michal.simek@xilinx.com, tony.luck@intel.com, james.morse@arm.com, rric@kernel.org Cc: linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com Subject: [PATCH 0/2] fix some bugs in V3.X Synopsys EDAC DDR driver Date: Fri, 18 Mar 2022 19:17:40 +0800 Message-Id: <20220318111742.15730-1-sherry.sun@nxp.com> X-Mailer: git-send-email 2.17.1 X-ClientProxiedBy: SG2PR06CA0088.apcprd06.prod.outlook.com (2603:1096:3:14::14) 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: 0ca2c191-77aa-4ab6-21a6-08da08d14332 X-MS-TrafficTypeDiagnostic: AM0PR04MB7108: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: m1eXrRyrbKLueUSp59v40NjuAdpQdsi2w/XIucb9ZakEcy3oBTEmeuvCsJStpXXrh+wnApypisFtkd6lGrcJVwICJ7pF6CxQPUusAzTQtG5iOxvr3tCzTQTY57/8k/FxB3sJZNQ61dcBbV3MH95lBBg0vA+wZFm1lUJFILWwjrgwAJNDb+IEchb4eMtOiMW1DaUhdW9VncAzlZd1joshxmrHoUb2CnwRC5F7AwMyup4zhhJXmhf2oGEzvIO+7fvi+bKjb4XnwjoHy9Cd6V6d0mbJr8u5D7Goykkow+9rpv2Jkdvh2mEJvWDfBi2GJ8e6d+tt/ob9XZ8+bv9Yo37E7BPsCvgD0xVEQ+RgMqTVkVUeRZfeQLWamV2/e6vl6w1O6YpCXW7TwWnAoJFNhzgTD0FndJ6Lbt2DFwXBPtzQFaHgcdt/KQJ+03uoFp9liz60DIQ8EItzqzjasNfCPqi7rJQyG4OY3GsJfAxMQSZez9yMwoNKcBVYQzRECxcaMQ+W5nRj6Y+wO/KWrw9vu53CUuyczaAqubLtxugSwZSb4/Taw494LXUNFZryIu8BByFmRB4B17Tjl0jq9yFFZ9ApGVQyYvc7D0Iru6JvETXjNJjFxkoaX9pLYx9kAgz/ZZ0G7bCm0j9P4xv2cw9qB/qTMI9LJsAj9sInD+kNBaRpixgQfxcIM00Iua178bven87DJCwdni4Wlbtft/5oflJJGg== 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)(6486002)(4326008)(8676002)(66476007)(66556008)(66946007)(4744005)(6666004)(6512007)(44832011)(316002)(2906002)(4743002)(83380400001)(36756003)(2616005)(26005)(186003)(1076003)(38100700002)(38350700002)(86362001)(508600001)(5660300002)(52116002)(6506007)(8936002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: AplEviC9Zg5deQZMo+9zyvRL7g981cmr9GDngxvzew/jG9pCiHOH4J0yL+vD7yUUmo++93TNPwFjecNgn+lPoUjRNLSkv/zi8al+hBZBWUL9Q1Ybh8yIYINXV3Qpp7M01D+dlmbp5f0T5DIkZI9z2xYXhcx/QUnCtxXMttiMNZlmnT97FTbDvjIdmSR8dYRrddzBvdnGzxQc6ciANnovqgKjlEWo02wPZR0Lp0DU1J4UBlMfQ9yTHA90N7NRzIMiyJfO+Bp8+y1KQo4EjKZJCosB8DlwFEamefC29nLS7UMs6tDIUggmL3bdTg1+cPzP5mOsRvUciqj3X6/xXsvZXGll5Fj3WRRCL8D2Wm/fkImwK62Sx2uhd5vxLrLM/9rF5WxTTyAvL/955xMTg/8AMU127qyCIUGyQcH7jHWOHo3dlbEbQlJ5JvpPgDACRu/NvD3gLzxZJf9Zg0OluUi1sBVQf4A8etfwJHWkO4YW3lT9FyQyj5cfHEIZ3s2f358rDRCxAuZOeMzgqctxxZPip011b/KJTfSoXK4zMuN4HEchYfUZ8Bu/grRc9q6klxFJxZJnDmFp7sY8okbERgjuwLAWQuuknTEt8xdzUHVo/xnE3L6+Kw9n/k5u3BAbt/jICOvykcgDBRcgtsFK9f123YxWvVipSwd+k0utVvXVbzOpl/PLXyzYKtws32ycxouui3V0KQlW39j11crTJnTwf/JFxrRcxqJqrxETXOQwDZWdng/Z+dOfYe91nV/cUBXAa/yBr45wDMbWuU2hxdvRwcELkfUqs/6MNX84MnXktrRJPlWl9dzkhZKjtBgfBLeDL85TlH7f9T6O63CdfD3wiGuArMSV2+C9ZvsQ5xkuU2o2aU/ACVxOkJJfZl9gIJAtA1uq+ZzAWHWwajBei5cMd3euXS9zFhjMC1lTgKmrqLovmFOBV0Kg6GudKL+Tgjrwzhxd02NP+/jhfIjEerFgmAcLaZAc9/zLW3dkRIEM887LMQW2cJ/+l1yOiLMMC6WZV2j6VDrOEnLHb7Q/wfISTiIZ4P3D3axCzgep9q8UoyULDq6Ta7moSM1s9qGAhTmoLyg1pjo1ztV3P+IAIw1q3l1RHGuauk2z0PiUIhimL8LxyfQoTP7g+mgmpgtCtUOo9wbRxbameDQ6tSquWj6KeIOym9yQg5APHEBqg0f7gWC6XU//dHxHrT/3XdclR3/lBLxtaHyKEfEa4HptbSt4i8n5AD4ar9MtOgziKEnzHq/5SmUpS0hukCVpypMKnMOBvEVbkxGzL9u1VigMr+a4qArr/96gIP9usoCzRM3nZbNpBuXomDGCUc4StiW3mtIZXtqoyVo0MFf8322inyRWPq+hGjKivpBOkxtV9PXd4FF5qmIXcdPb0egA+S0L9XmV3qk4XOe6GVcD8HDECDUbG1mE9NGVOIK6VSR+7J8pXsnfw83FC77Skm4ThZc8GErd X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0ca2c191-77aa-4ab6-21a6-08da08d14332 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8404.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Mar 2022 11:20:09.8004 (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: 1b2bdLlOvP6SfoUP4dLMvo88sziBSXw8u0p5tnRqarqWZQpvk9fxxVRmxmEmOudXguQMHLpLA397KHvxVu2hEQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB7108 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220318_042015_098780_C4D25E45 X-CRM114-Status: UNSURE ( 7.07 ) 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: Add disable_intr support for V3.X Synopsys EDAC DDR EDAC: synopsys: re-enable the interrupts in intr_handler for V3.X Synopsys EDAC DDR drivers/edac/synopsys_edac.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) Reviewed-by: Shubhrajyoti Datta