Message ID | 20220424013345.7359-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 9DB2DC433F5 for <linux-arm-kernel@archiver.kernel.org>; Sun, 24 Apr 2022 01:36:28 +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=ziWbaEW09wa0YoUcBnX0vfSJZWsUoFIJJ2nxTf677Hk=; b=r285+LwJIGtbBr qw4e9NaH2+VSR5KFsSw719fb5vQw/Nbtnzj3X3VvifF3fbQeWab4/yT2RkzLF1rkOQz/scenK26cm XAIyRGfBMmqTGi6O9mjd9fyAYrSdtDmn+t0ST4U/yF6ka+Hop83hfQ5oEhny9jirgbBon5zZaG+YH 3um0NPQqZOKZ7WWVciQm8JlcR8/cFZJW6D4wHtW/fv2qBKQlPZik9NOHMBlWGUm6JvYfnwamnFj9G QSsjaX9vdM0anbe4xaXYhO+i8EYygQytLTdFPDeavMwm/P0OcowmK/8rZjd8jl0lUkH/jfb1SyJLQ l5oTje/VxPTmnBytLtZg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1niR9N-005UO7-6G; Sun, 24 Apr 2022 01:34:57 +0000 Received: from mail-db8eur05on20623.outbound.protection.outlook.com ([2a01:111:f400:7e1a::623] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1niR9B-005UJg-R0 for linux-arm-kernel@lists.infradead.org; Sun, 24 Apr 2022 01:34:47 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OrKUu9/ag+yVPPB6YE2d3eFYO65lknvh7woE7+dmPSN6ECyCYVa5fp4mdEZADqo6yOeByaEcVDHTS8b9+0ZpxrmxIuOAe/LxrN6HP9H36x54myyfnpkzg/rsKV67FTWBcKerb24fNl7Xi45pKve/OkN1qeQ2udPC9w40IRYkwKmYakolN/JzOTHJTITI0YcG9WCGJ0MEnAXNu+fmeqeCl5qZRxzcMdjzGLRK/xS0+9VzPeAsdYBIXvfZtoW968XsAI8pf7u/wDScZg6OqBoyb+xo6ouhE0C6RUJWCaAic/GirQtFkFrRLODbZIDTNPgPzEEg68EVt9njZ/5odNOUfQ== 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=Yy8B46l+aytgc9jY+0qtSLnbsu4WgPkiFuc6kdAEj1Q=; b=HM+EzVnNY1EPUr3j6FGXtwSMyvnpGUpFWhpO9XhIeYUjqE2s/x8vmN1vjYfOltUaNxnld8GOoNWz+eDLj3KsdgzZLlm8d3byx6+BNnYdOYUPFoFKBuO94uzCx5fh3Sc+SSvY6nBXnKGA4eX4kH/bnvusiJDyiGMm+hBG+yh17GrTtBs+IhVl9RmTKlpv/tpGKezYc+xw0HYgUU2nrD5hBOGrnmq/eMW/DZLEbOoiySDr7ywcQ37zgajD8M1PpOX4v8vu7uOyzmyWha9kLgNwzv0zM10QOVn1tj5sWHYSI38e28O30k3VHTSOWrmg0GowsyAagfCYA4N68szghl0cFw== 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=Yy8B46l+aytgc9jY+0qtSLnbsu4WgPkiFuc6kdAEj1Q=; b=b3ySHB+qPWpSfAR6TY101AMi8gmKMiDK3BRMHt2f2X8OlqAfHux9jRazPK+AAOai/7dTknokReJnqcaf3H3P7q7GZjygCkwIYChpjMlTxyuK2eO5RGA5WURPIXAqD4QNKUtT/m5/ESE6GbRyBGYnbf95RyC3aZNMJMQx4nvcvyk= 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 AM9PR04MB8179.eurprd04.prod.outlook.com (2603:10a6:20b:3ec::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5186.20; Sun, 24 Apr 2022 01:34:42 +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.020; Sun, 24 Apr 2022 01:34:42 +0000 From: Sherry Sun <sherry.sun@nxp.com> To: michal.simek@xilinx.com, bp@alien8.de, Shubhrajyoti.datta@xilinx.com, mchehab@kernel.org, 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 V3 1/2] EDAC/synopsys: Disable the error interrupt on Synopsys EDAC v3.x hardware Date: Sun, 24 Apr 2022 09:33:44 +0800 Message-Id: <20220424013345.7359-2-sherry.sun@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220424013345.7359-1-sherry.sun@nxp.com> References: <20220424013345.7359-1-sherry.sun@nxp.com> X-ClientProxiedBy: SG2PR03CA0121.apcprd03.prod.outlook.com (2603:1096:4:91::25) 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: 3e631497-f24e-4cef-96b3-08da25929b04 X-MS-TrafficTypeDiagnostic: AM9PR04MB8179:EE_ X-Microsoft-Antispam-PRVS: <AM9PR04MB8179555252DA10346AFE1A2092F99@AM9PR04MB8179.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: LT6YTOefKOsT+mNSM9Mni5ISicL37TGmYEy8SCYfGNkLgmE+qFmos49j6BT1lSszM2HpOvQU7lFMOTfIghMlvPqouvWuslT+9y/0GH4I5pTAar205gYd/oSCtc15Pn1lxqU+RBRGVvr4L1/jPRcgChwXGReCkAl6lzHTMANIT08ky0EqjKmCBjpQH/fnJsCG2373RyhNyG0GUqAk/RpUkOIKHCgsMoDy7aSiTAD2DZtAcSa5xbLhSm4FeNfA2nOfQrSUz/qUlgKGz9wv1r4TvIJrBKiUtn0d5Wxs4HB/46d40Cl5zglXa3rEnCjA4GyWL2jVmseBPO8Ij2AVtmowVNp6QzOQZADN7iVtRv1mMN/OjjWxYgY6qhIr7Xv0UnWP3cueS88CYBPLCXdr4mxMLDmwy71WMGEh5WQLLpOp1R3dBG6sHaCG7eORtxhHa6xVbENt9L0ZswgEi+KL7kczB2NUAu349RnLin08MKSxWi9xa+yqF9F0MABNbbUVY+y55x+igFZhfIQM8GH7ScNEXCOZRJnOzSP+ImQQX8AhP0wFYV5xyuyzKf/Yy66PmfTVnKhUWl+1/wj9V/9wCvU5BugJmxicpLTjV0lsE7IqiaQxG2cclJwm9P7Vsfn5jhCltSmljTFwN4C0qDq7Mojqu1KFMbIcBmsvlDhXyCPX1nNIO9+bA20q1uN9fyAJlnx/kHlITtntyBkn9tnb14Ks4Q== 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)(38100700002)(5660300002)(8936002)(7416002)(6486002)(508600001)(66556008)(316002)(8676002)(4326008)(66476007)(66946007)(26005)(186003)(83380400001)(2906002)(1076003)(2616005)(52116002)(44832011)(6506007)(86362001)(6512007)(36756003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: buzTfRMP4MfV0S5oXLzkyLVzmWRJmXz7PXr6MTM5Dww/s5mdCcwj/R2STYVMbjDgHvnNSx8w2iNDZCSFIX9FYBW4Ys27dP0Uy2wUfRWjqAQEGCGMbXPua/hNWiAgoDQoyuIjpv1WkxnPv+BxD8Yab2xiGJofCiobInY/MWY+6dvjLOkBAbq7OA0/8iYtGrROySfOT7yPNF+3IgWhNAIjMXoHw/O7F9w+mF3aNkLXnFmddRjKSnUEFvSgMImU5Rp6gK0Rn9eStjr6f9u5GrKALE6awMFmqVO6WVV7d+ypVoMNbk+RqGLSNCBA0+3D65O642Tq1QqD+69APbxzZvKZQRRvScqBjEA9eyO2Y5nqV5xq5N/hXCloyupLAZxW86jqQTdE9Fs3vKV7I6FudAZOQzoK8JA4dJZbZ1Om/+FPInzIsmb/GOYJlF+HOj1bx3Wobk/ujk+Im4Zsjc+WmZh4T23yP2ns2igBm2ygRfazICuLzIXsI+u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8UJwdj7SllkThVrdp6TEn5Ackg/0VowDGv3OtpBCI+hCJzr07DaRtp/AiEwmpcQuKI1Cg63eWyy8IfMePs1cN6ecPWl8OWEpCB5lvGVWwPly/e2ApR/h9AH/VtGWhkBn3CfQzXsIFR4U/We9D7eawlNKXl+47Q+xTQ== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3e631497-f24e-4cef-96b3-08da25929b04 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8404.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Apr 2022 01:34:42.6786 (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: ZVS9M3VGe/Bfepkj+TOGpQQRrChKyX5I7qZOjTGxHpyGMotm2zxJ1f5DDkQgQQrFkbGh+IhV0bYjYDzHetKMSg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8179 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220423_183445_894193_97FFE6D0 X-CRM114-Status: GOOD ( 11.17 ) 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,