Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933330AbcDYRuF (ORCPT ); Mon, 25 Apr 2016 13:50:05 -0400 Received: from mail-by2on0057.outbound.protection.outlook.com ([207.46.100.57]:11838 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932954AbcDYRry (ORCPT ); Mon, 25 Apr 2016 13:47:54 -0400 Authentication-Results: spf=fail (sender IP is 66.35.236.236) smtp.mailfrom=opensource.altera.com; vger.kernel.org; dkim=pass (signature was verified) header.d=altera.onmicrosoft.com;vger.kernel.org; dmarc=none action=none header.from=opensource.altera.com; Authentication-Results: alien8.de; dkim=none (message not signed) header.d=none;alien8.de; dmarc=none action=none header.from=opensource.altera.com; From: To: , , , , , , , , , , CC: , , , , , , Subject: [PATCHv2 2/7] EDAC, altera: Add panic flag check to A10 IRQ Date: Mon, 25 Apr 2016 12:52:43 -0500 Message-ID: <1461606768-14404-3-git-send-email-tthayer@opensource.altera.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1461606768-14404-1-git-send-email-tthayer@opensource.altera.com> References: <1461606768-14404-1-git-send-email-tthayer@opensource.altera.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [64.129.157.38] X-ClientProxiedBy: BLUPR05CA0052.namprd05.prod.outlook.com (10.141.20.22) To BLUPR03MB1476.namprd03.prod.outlook.com (10.163.81.18) X-MS-Office365-Filtering-Correlation-Id: 591ff29d-710c-47d1-ca4a-08d36d31b8af X-Microsoft-Exchange-Diagnostics-untrusted: 1;BLUPR03MB1476;2:7gwDB3nK72uOscwECTwYRBF3UUta396Ka1iIbaVJ+d+Hr103vkXasVZjX5TUgTa09mn4OO9LjRPydkGHYZnArwp93NBtlv2vzT4mMO+/lRsZW2dt8UOdeI3XEDuJrnEhaxKKNyihgTdaErYOtFYeP4ilCyfCy7+5jtQI1dDZLgNXQSzgppSBoS6Ow/4tDi6B;3:A2goExQKwgea0bae2StCn5+zupn8sP/y7+8wHwhhgU1NqyG1eHn6TGGYum8+Se0uCIP+2COdX7sKEDZrVEvK0+6QoZpzp9OCfNF/IoVMFf1H60f3/SnZ3ldFI6eyqhqF X-Microsoft-Antispam-Untrusted: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB1476; X-Microsoft-Exchange-Diagnostics-untrusted: 1;BLUPR03MB1476;25:85qLEUIdqUduCvjb77kQknpQyr1Ss7KPkmCbI2bbnp8IPY8XBPJ/ovndvY8KwSV6+VgLlZSjhsrp7684NLyKAo5QnCIWvpCgjhjL8FTOj1a1FqflrjtIerx8+dOK4nzYuALpBGLeSH6tUF70taEwxn8LPyy46WMKc+lHZtf3cV/3t4RFibnJKG/lQ42v2CRk/Kk4ki7IcvRNcnHe/YL/fRVNPT/D7ShFkiOiWpehnd8/GWSMqosVMPle4ZbbnX4kydH2Jt5dOO5LxhVfGPAsy6GFzFIsjGhUZWbi+wzL69YP38oiy6qDStR2y4tQ3AsQYxiaVNFnzS/XivCRYey3XaW/vD1+HQPyuGTXmftfqYbaRZHJpY4tQPNsXKCnY9du+Vu1wDxP50rUD9v7Jwwtt+iiKKsmE/4PyitsUassm3WTDsSUdlIofcHf+4lOOHSMFPsiYNa2MYW560YT/kPKNEZ9jwWorSwUkKQBUohtpOtTYeMGu/tL8yKs4Djz76PT9ga35bBo9GikHyj3zjQgp3TWNeKQwawtj5uTUML6fI/heHtiymddlr1gixEZQgmz7iHWhxrm6Sv2yzPeD6YIunK3cyt4YkgKT2k0cjPQeRGHF7qRwtheVwV1HRuw861haNWQwg/rOK9n+eCBnZbisw==;20:RbnBuO7LXLFJ3+1XFhx23jg2cfPhwZTlG278fH6AILWVHJXB+FTMH3jbRMd7nl6tc9Es1/hg18n22Da3DPfR9MTTy8lkrhe9/hjxea7ejC6AmlLs5t6zk4rVmtIeFroPG3fkv7TsX6uk0XcGAbVhDT2/Ur84gSIb9QYy9uj+xso= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:;UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(9101521026)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026);SRVR:BLUPR03MB1476;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB1476;BCL:0;PCL:0;RULEID:(9101521069)(601004)(2401047)(13023025)(13015025)(13018025)(13024025)(13017025)(8121501046)(5005006)(10201501046)(3002001)(6055026);SRVR:BLUPR03MB247;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB247; X-Microsoft-Exchange-Diagnostics-untrusted: 1;BLUPR03MB1476;4:TSPT8DfQ4FCOQMCUnyW5iBKbgU7EGwJUwD46ts3FH/E5DDXVNLw5Uw9TN6S7x4PnBZpGhSPZ6EfQdRYho+IzAzYjQqqxkinO+2fbGhi+VtdGarRuxc5dBUcrupUkweqiby6VAG25a2kcMM/0hEMyn9GmY1Sq++O6KtokFPUK3oYK7O+M8bclUiRFn+YHFAMiMTt1tnuRKSEqwOLqrvc5WhBPsSxaoz/Fhas8nHczr21L/UQG3CWaOXJRCvwahYIk2rSpmElaa4dBachJJH5Irci6Oxj6PxSrZvUMM3Xzd1QBFLPn+MG2APLiD2B0mC6Y86pGPZfbK+EoAViXTfmoduIqW4OkLLOLdiq2qPDDua7wSqzbtCFDNYcoKSuO/rmavKvwS7+RpccghmzF6TPLvruqqhaR8CWyoJW4NH0fMLQ= X-Forefront-PRVS: 0923977CCA X-Forefront-Antispam-Report-Untrusted: SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(6049001)(4326007)(2876002)(77096005)(2906002)(5004730100002)(42186005)(86362001)(48376002)(229853001)(5001770100001)(66066001)(3846002)(6116002)(1096002)(189998001)(2950100001)(19580405001)(19580395003)(586003)(92566002)(107886002)(5008740100001)(50986999)(33646002)(4001430100002)(86152002)(5003940100001)(81166005)(2201001)(47776003)(76176999)(921003)(4720700001)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:BLUPR03MB1476;H:tthayer-HP-Z620-Ubuntu.137.57.187.33;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics-untrusted: =?us-ascii?Q?1;BLUPR03MB1476;23:+XSoMDq2v2q6XS1mcGYXt9Mm8xJZTPuhpHSb8j2RQ?= =?us-ascii?Q?bJfHJ8Nz18KU3W58dOPrvBI0ne9dY3tAU/2vykz7Ip/tjRhZtEsF6b1Os8b1?= =?us-ascii?Q?VWKg9roB1Q2mYk4/s6s3XVO6nr5kaKq4Rd7cMl2W1TWUSJhKJDZ3625cu+kK?= =?us-ascii?Q?ItkRXBiZ7YyShhMwve+whLoXqT1KDH9isGullEvoUyitvIvMQsiJJuxHNJFW?= =?us-ascii?Q?Dy615vyek7lheUZQTWjuux2jmcA1AcPML+o6uR+yjJItrsVAUnrsKhyCA/V4?= =?us-ascii?Q?WXl9Vl8ZFzAhs0oM0qrNzfsxfoOZj6cwEaOGOOaYR1l8bPUC7T3mpvs+g92w?= =?us-ascii?Q?i36g4gwU8Jp4d32whrYrbp+FshqsLsYmu0U5+6CrY7+6ttYUGbBiIZBSgW4w?= =?us-ascii?Q?+99mSXiX/6F/Fq8MO62co1zU1ZJXjTLb7UoixcQ2BOLQXjn25wZHzzed2Xh/?= =?us-ascii?Q?Nmq0B6qlFPbGzflANaN/WWVz1Iwg4cnpJNtJQvoBgxq4m+pJsF6GFUIA0HCA?= =?us-ascii?Q?kwYygAYpQq6145DIUP2k66JmMyVSW6vdRU+BIx9cIcM0waHXvi2/y/q45dH6?= =?us-ascii?Q?OuxHYvF6mR/51MXZC7B+zDmM6qX7XGPmQ4Z/1Ln5afppo6BSpEhsvwB81KG/?= =?us-ascii?Q?ql0zd1YVoMl8MPdk6twTfjrFuHDkdQRDJcOznruJQGGeNuEAS3BZsVb2zpw8?= =?us-ascii?Q?C/eB8+Yf/IswTWOSh67LsOKH5CbwFxts9thxi5UPJmORNexl8qxeZBpX78tf?= =?us-ascii?Q?VtQ4XmhNhj/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nosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR03MB1476 X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: BN1AFFO11FD029.protection.gbl X-Forefront-Antispam-Report: CIP:66.35.236.236;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(81166005)(16796002)(66066001)(6116002)(3846002)(5003940100001)(47776003)(105606002)(3720700001)(33646002)(107886002)(106466001)(92566002)(229853001)(189998001)(586003)(1096002)(77096005)(4326007)(19580405001)(2950100001)(86152002)(2201001)(2876002)(76176999)(2906002)(1220700001)(956001)(19580395003)(85426001)(48376002)(50986999)(4001430100002)(5004730100002)(5008740100001)(87936001)(5001770100001)(6806005)(11100500001)(86362001)(7099028)(921003)(1121003)(4720700001);DIR:OUT;SFP:1101;SCL:1;SRVR:BLUPR03MB247;H:sj-itexedge04.altera.priv.altera.com;FPR:;SPF:Fail;MLV:sfv;A:0;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BN1AFFO11FD029;1:zqma51akBpiOT1fmj2sy1WUJZct+YkDp18HhCGYcZNDid74Q/MvlIwsTmo6VzDiLZs3y6CO8wsnyr5QmW2Dpc5BcOGLvZDTb1M9Tzzz75+3j1DAM2lw+86c79vhXDxyhKrxGaz0MbpG8aK30aJ92n/jBWmnJjDh4yy8gQKngYhUP1mSOQWRDc9whCMdvziICs27hKWcWNIFRl6/F10n2A3JErP9F9fSngiAPktTi1gePOMulxFX+ROuQ/vBCMCPJy1vEZ4qozKwGin527Tw8PLWjL33+JXrif6tq1GQu0tM2l74Mr1ghxN6l6tF0OXakTIMASVvdP6wZngSE8VAD6/6mZdxLPpQyt+nM5qsDRQYwjqMSya5f8WSw7lNNsUfRvPeNJB7PYenqHXezdoDLKD479XmA9Kv5oF7Chog5L5Msg78TOc+X9i6uxHoX9439rL5N7MhF3Dapi1ZH3/hhty42l4OEa6mlVuel2SnG8cxFH7fdlBXHL6uoBZcJoTBnhUNdDPxgdUgiZuFCGfz1XbADORi1F7HALiN9CYtR+grMpc3l0Fuh6oaVB7CwBOFm X-Microsoft-Exchange-Diagnostics: 1;BLUPR03MB247;2:9BHN3aV2WBAMqtAn8LOgdbBNCcdRN77UoxfePfUDiACvzlSC5zG8zUV3KwtjLMOjXpBb4yYpnd4dIjC7EkLiag7YecRKuIkGYaq0pHWSIvkks69wXAFldkB67UcvbXkfY3Rct4E1A/QL+3ExftFvc20SWNBf4R5/+ZdihFNzY/xG+gKSsUvIpBzVgIuwluYM;3:e/lF4hFmxzLd8tAIfXs+ji2pMADP8i2kr51rYMfykJOKWyd0qmN6dZpi7NqUYPerWBd4NkyL6wOX50bo6bvNddWLIwKshdkJG7oacCMtMeKYbaNk2josOOoVCYDSutcLy0OxGOOc1ffctf9uHH2a8E0ByM2NPMxDX8Fvw4c12kkzc+hk/tzcmFpwCESHFUNJysKk1B70bOWfvFvh3d2+3TeSi5OVmYNPDM9Ok/zz3BG2GNEfPF2L92ukE9ZYc4lB X-DkimResult-Test: Passed X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(3001016);SRVR:BLUPR03MB247; X-Microsoft-Exchange-Diagnostics: 1;BLUPR03MB247;25:i4Xxgf4rcsJvmvYXS+8EBcctV4Z++mXtqiP/9fWPNVXE3rsEe8s9GCCAs/p3KK5CToIA69xuBE7LuPZjBxtXCr5UwRCrgYvT3L7GmMVez4EEZ9roKzq+RQwXIy6ti/sXS2dCerplJmBLmOwH354jKJnDmja2sLV/IwtD1FOZCG4a9DG9SXzynepu1D69t69Ys/MPxLE+U+CytJKzouXAhZ6VpBx/t7nRHuI7dGq3hriqliHIznBdJc80FRsm2vlFSKyERLqZBG9fdSmQPWJNYEo73nEJHIXE6WYMeB+lyfIOmJQayi877qFqlD0WT7cNjKc4LeEXPiEO+rsv5Jqc6taRC6+hrAKb6s+JwM0xQNnA0VS3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gJ7Ypkh7sfediY33rxJIMoMb1wISyTFm6J9A6IL6ONG0UxmvjJbqyAq2krVS3J5JyWzAx8didfK3byD50WKBeQ5Ku04u//H0PfSVr/Zb7vo+WNTFmtd+ncergtpu/uUfVxQDB1G6x0bc4qzZ6oj5tEXAlWK4w= X-OriginatorOrg: opensource.altera.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2016 17:47:50.5137 (UTC) X-MS-Exchange-CrossTenant-Id: fbd72e03-d4a5-4110-adce-614d51f2077a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fbd72e03-d4a5-4110-adce-614d51f2077a;Ip=[66.35.236.236];Helo=[sj-itexedge04.altera.priv.altera.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR03MB247 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1706 Lines: 51 From: Thor Thayer In preparation for additional memory module ECCs, the IRQ function will check a panic flag before doing a kernel panic on double bit errors. ECCs on buffers will not cause a kernel panic on DBERRs. Signed-off-by: Thor Thayer --- v2 New patch. Add panic flag to IRQ function. --- drivers/edac/altera_edac.c | 4 +++- drivers/edac/altera_edac.h | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/edac/altera_edac.c b/drivers/edac/altera_edac.c index b127e77..d4afecc 100644 --- a/drivers/edac/altera_edac.c +++ b/drivers/edac/altera_edac.c @@ -895,7 +895,8 @@ static irqreturn_t altr_edac_a10_ecc_irq(struct altr_edac_device_dev *dci, writel(ALTR_A10_ECC_DERRPENA, base + ALTR_A10_ECC_INTSTAT_OFST); edac_device_handle_ue(dci->edac_dev, 0, 0, dci->edac_dev_name); - panic("\nEDAC:ECC_DEVICE[Uncorrectable errors]\n"); + if (dci->data->panic) + panic("\nEDAC:ECC_DEVICE[Uncorrectable errors]\n"); } return IRQ_HANDLED; } @@ -929,6 +930,7 @@ const struct edac_device_prv_data a10_ocramecc_data = { .set_err_ofst = ALTR_A10_ECC_INTTEST_OFST, .ecc_irq_handler = altr_edac_a10_ecc_irq, .inject_fops = &altr_edac_a10_device_inject_fops, + .panic = true, }; #endif /* CONFIG_EDAC_ALTERA_OCRAM */ diff --git a/drivers/edac/altera_edac.h b/drivers/edac/altera_edac.h index 42090f3..83e621e 100644 --- a/drivers/edac/altera_edac.h +++ b/drivers/edac/altera_edac.h @@ -299,6 +299,7 @@ struct edac_device_prv_data { bool sb); int trig_alloc_sz; const struct file_operations *inject_fops; + bool panic; }; struct altr_edac_device_dev { -- 1.7.9.5