Message ID | 20220427015137.8406-2-sherry.sun@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> 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 055E3C433F5 for <linux-arm-kernel@archiver.kernel.org>; Wed, 27 Apr 2022 01:54:07 +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:References:In-Reply-To: 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: List-Owner; bh=HEo8hDcyR+Y3dYrC7Kq04MiMDwenOoqz+1iaGM9yNm8=; b=XvGD59F/9DCDD4 rUEd7AmIpASBuEg+1sSO0V+9L1Qn+87QG2gMVrJV6YhrKtiOmh2Jad4ViyI9GsHxAc8CQCHH+BTt7 V2bH4qs5+DUzEkM0VYqAibZ5R2jHEoE8HXMjslFTou1GGCNJOgojaw62fxpKREJ0qpLYm4wwypClt hjf/IkDjft93UrOAYXtdP0R1BLQwpR577gLuZnD1XmPCiTFwu8uSGF9pn0BOXFYg5Zq6ismQlZGl4 eDcb4idOo6g/fT+7u1bPlfULKRb3vkKlsnRrPCnsylhpm3T1ftTH/etxGiYQmcsglmzcEgUEnYsO6 vmyAPQtf+VTqtsg2LQuw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1njWrS-00Gxji-OL; Wed, 27 Apr 2022 01:52:58 +0000 Received: from mail-he1eur04on061d.outbound.protection.outlook.com ([2a01:111:f400:fe0d::61d] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1njWrN-00GxZc-F8 for linux-arm-kernel@lists.infradead.org; Wed, 27 Apr 2022 01:52:54 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eMoH0RIoEzDkiLtAIv85xB3hbg1ChSYAl3GBEVbGGulwPeTYbsg0krt3hlhhN51ekL4LHJOK5z4mNtklbx7D8EOa+kY2w+EdyMoFPVKx0YfRBoSU4iYRoMjaDH/nwY9FjSdQmKuv8PUVNKZFjtfZaCX/Va9mT2WDPZX/jzuFG4skvFng3t2ia1iJ0Qv9+R/Pojz3F9RMVSfaiQ9aSKHfX6jjdWmUuKS6wGroZOn9fV8fKUk751sWbQGllkfuA/M2FqdIIo3xYuthGPxgvKNTRkGEPnvAfoM/6lnVxY8CbYLwI2TAvT76hgyceRYHR3TYLKepL5A2SZ6JjkiAivMnqA== 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=TwnHzvaiqyT04DKwzBRCFeurDGyjmox8aebpkR+ppng=; b=ILCd0xS9C/46ldbk3iRVLx2T3tLBYG7i0iVYetMBlIo1glxkUl72R79dHYV1kqqTUMppIxCxRLeRCpmt2UEnVnn8hq+WFVQ3/2zoIkPSWry3NJws7ujcMgKVlJeD046S6rgwHFRl56KC0Diry7F9pgdXEUHrfLF6YNlQ4WwgqEqOspRRuhRFVS/UqS0VqX6qWwEYqVJ3Mu5kkICHuE0r1AZZXHLPtHHaipaRk022tzh6CXXgZ6n50RgxMhvlodhz/GY2dix7BActGfgc5/kl9714CfQRiz+O6h3dTsSX7sB2q9yL7HK/1dI/ENpmcBUZAUzcwnA4WcLX5kMBMX1fGA== 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=TwnHzvaiqyT04DKwzBRCFeurDGyjmox8aebpkR+ppng=; b=GkeG5TwfgJRRTNwD8x4BCz6QNJ+fL1Lm2wpK9FE9NQMjZL91eMjq9pVq9x1UYGARuZ91bzS3w/T+Hx2jUjaaqo8Xxgfgcjj2uE3P7M4OBVwvA/oDQKtfbmj+KeuwnvtpflGLVmM35FxtYQXpr5mv+D7X32kooD9b9NMt3KzeQWI= 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:49 +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:49 +0000 From: Sherry Sun <sherry.sun@nxp.com> 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 1/2] EDAC/synopsys: Disable the error interrupt on Synopsys EDAC v3.x hardware Date: Wed, 27 Apr 2022 09:51:36 +0800 Message-Id: <20220427015137.8406-2-sherry.sun@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220427015137.8406-1-sherry.sun@nxp.com> References: <20220427015137.8406-1-sherry.sun@nxp.com> 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: 3440baf8-2a75-41a9-3564-08da27f0a246 X-MS-TrafficTypeDiagnostic: VI1PR0401MB2589:EE_ X-Microsoft-Antispam-PRVS: <VI1PR0401MB2589D0278D4CDF610E8C626E92FA9@VI1PR0401MB2589.eurprd04.prod.outlook.com> X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jzrC5r8x31MYlZRk+bY1+ZrV43W+74nUJbfYpGP997L97Yk7ze2AG/0popn3/ketpUPQr3K96i2fwBA19YnwcBj301cpGhiblQRlN5FjT+J0CP1m8z6T54Fu9FzB6inU0wTaBw5YYNrcG01eioo0fF2B5pE+6/BDXOA5AC0706oj5VFkoxXeFRsMQcQ+Pv526e4pvDCMM6QVc9xwYhCzbOZzslQz+T++jNJ0si4MipaXXmrcdhbxxfdjFNr1PaboucsnXk/AdcFjs7ehlx6qe0Ch/Pcoi48HP36CRyBd38EZBRdFm3n3UgNHpUfbJwMxPg0HVYhnrEIlT0vIBdGzJRZbX8DJmykA2N9/YHtaj2QnLxiMRLONdgGek1H8nW3NRFpMMUJ+cDvrC6mxYxNd/GvtWK5HWmVd35pXI+L3GtM0fd08XdXFGjONlZHJJ4p5vDdQJyKmZ05wQbrARdIDAO8l77lLOldiHHqADRQvKfLR1apn4ypdCak3mJY5qhE5mxYO2eNj49LxCPatiK2wPMM3u6xn6TdRX/ss9iXfOPFEZ9QU+rK5ZLmYqeoUNeEWVP4RCjJnV/NKFmw9daUSwy3cKNIbvL66kqawOfov4scbnIg3KyRwnPlnNTt3SJu+ZIhgFkYbiHzuAFpDJMcz0F6uWsB8U5IfJxbEp0tfMUH5h4/4ouW1s6531DOrieH3PG0QVDbIvKfr8aN56HIdGg== 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)(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: N3X+eqZ4/s0ZoPsR0oQW1NGQVySCEdi9k0v7pihA+zb7iOqOk/BGckAfvc7eInQO6D2SauvoVQxrZrxMKtvcfTBZN7tWE3V9ukAnK84DwiGzp1PArvmC7mdpq80j+zeCi8hBmcMA75/YbwajkA5gld505XLkBbl2BvH7d24GkibXGzKq0zzFJ6fcezrgMKqtpM6+9Cj6rnPbT0XfvFV3NodBd8Ee4DICq8bQd3GdWdCqoJnZEVnMcvIBKWCZZPjmgS7AhS4Htw5Dtw39XXz1++3TSlTB5KFNS6W8Nig98jSR/sMdUb+G5BbBmzXwjbIqyjzcqopJZkMNZIG5ef9ZQRbT7j9D1qsP1cC/9d9fKSIiBcma5P8a7sGB6WD2ROlNrQOEuti4mHJ0BcGQGGSVX4ZStvFx9o905IRI51MUw+fvqc0q4Ubog1JHKxAlsyuUeF9YlA36js2Fy9oz2hjumYyywAH3ZkSPLU2Ur2axaWANeb3Mjzq5lCfy42z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SJxWfVTqnmSTfrTDYC8TIzBi/84r28xNKK+fTylZxaSJ0QX8eR1MrsVzwFZb59yUpsB/4G1PuxUBu+CIY85YgcxAuB4EIIqeIgAfjNnqAPTXkBsd4u6IOjWgbBFJx69VzUshLpztWRCQMTHL72nj4wXnKucMTuFqOmPgyDKDLNcGDk4SoSg== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3440baf8-2a75-41a9-3564-08da27f0a246 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:49.7614 (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: 4nX1mz5nY6nPprudy9MAqfcFHIGQAXPceoAZhU9sW5uR6ceTRRm9PE01ERIzBfNXS8ycyU29HY/arpYAc/KJ7w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2589 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220426_185253_557694_68E261CF X-CRM114-Status: GOOD ( 11.27 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
EDAC: synopsys: fix some bugs in v3.x Synopsys EDAC DDR driver
|
expand
|
diff --git a/drivers/edac/synopsys_edac.c b/drivers/edac/synopsys_edac.c index 40b1abeca856..88a481043d4c 100644 --- a/drivers/edac/synopsys_edac.c +++ b/drivers/edac/synopsys_edac.c @@ -865,8 +865,11 @@ static void enable_intr(struct synps_edac_priv *priv) static void disable_intr(struct synps_edac_priv *priv) { /* Disable UE/CE Interrupts */ - writel(DDR_QOSUE_MASK | DDR_QOSCE_MASK, - priv->baseaddr + DDR_QOS_IRQ_DB_OFST); + if (priv->p_data->quirks & DDR_ECC_INTR_SELF_CLEAR) + writel(0x0, priv->baseaddr + ECC_CLR_OFST); + else + writel(DDR_QOSUE_MASK | DDR_QOSCE_MASK, + priv->baseaddr + DDR_QOS_IRQ_DB_OFST); } static int setup_irq(struct mem_ctl_info *mci,