From patchwork Mon Jun 13 21:19:07 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tthayer@opensource.altera.com X-Patchwork-Id: 9174397 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7E5C66044F for ; Mon, 13 Jun 2016 21:16:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6ECA227BE5 for ; Mon, 13 Jun 2016 21:16:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6336127C0F; Mon, 13 Jun 2016 21:16:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 03D5F27BE5 for ; Mon, 13 Jun 2016 21:16:53 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1bCZCX-0006Kj-Am; Mon, 13 Jun 2016 21:15:17 +0000 Received: from mail-bn1on0085.outbound.protection.outlook.com ([157.56.110.85] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1bCZCE-00050J-Pp for linux-arm-kernel@lists.infradead.org; Mon, 13 Jun 2016 21:15:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=altera.onmicrosoft.com; s=selector1-opensource-altera-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Wcz1rfkrPdKW+Nm+yoT0KaL9CmMiDeKJMRVqCzjihhU=; b=MHN3Qh/cefqfdZ7hB6gombGb8OFKetyDn2qwnxs8e7KqYxU1KNB03K3Nlx34kBGnQX2em9Xn0DT1l1HnEsyG9KsWI9/QPOWNKEfIjHTZlnWGNDsZKbTuPitfE9bW3Oax6eYT5CeEYNr3XZS0ta8Rsvd1/W4N3Hgzoml9D+Xy/eI= Received: from BLUPR0301CA0006.namprd03.prod.outlook.com (10.162.113.144) by BLUPR03MB104.namprd03.prod.outlook.com (10.255.212.22) with Microsoft SMTP Server (TLS) id 15.1.492.11; Mon, 13 Jun 2016 21:14:35 +0000 Received: from BN1BFFO11FD012.protection.gbl (2a01:111:f400:7c10::1:106) by BLUPR0301CA0006.outlook.office365.com (2a01:111:e400:5259::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.517.8 via Frontend Transport; Mon, 13 Jun 2016 21:14:34 +0000 Authentication-Results: spf=fail (sender IP is 66.35.236.227) 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; Received-SPF: Fail (protection.outlook.com: domain of opensource.altera.com does not designate 66.35.236.227 as permitted sender) receiver=protection.outlook.com; client-ip=66.35.236.227; helo=sj-itexedge03.altera.priv.altera.com; Received: from sj-itexedge03.altera.priv.altera.com (66.35.236.227) by BN1BFFO11FD012.mail.protection.outlook.com (10.58.144.75) with Microsoft SMTP Server (TLS) id 15.1.511.7 via Frontend Transport; Mon, 13 Jun 2016 21:14:34 +0000 Received: from na01-bl2-obe.outbound.protection.outlook.com (207.46.163.203) by webmail.altera.com (66.35.236.227) with Microsoft SMTP Server (TLS) id 14.3.174.1; Mon, 13 Jun 2016 14:14:20 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=altera.onmicrosoft.com; s=selector1-opensource-altera-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Wcz1rfkrPdKW+Nm+yoT0KaL9CmMiDeKJMRVqCzjihhU=; b=MHN3Qh/cefqfdZ7hB6gombGb8OFKetyDn2qwnxs8e7KqYxU1KNB03K3Nlx34kBGnQX2em9Xn0DT1l1HnEsyG9KsWI9/QPOWNKEfIjHTZlnWGNDsZKbTuPitfE9bW3Oax6eYT5CeEYNr3XZS0ta8Rsvd1/W4N3Hgzoml9D+Xy/eI= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=tthayer@opensource.altera.com; Received: from tthayer-HP-Z620-Ubuntu.137.57.187.33 (64.129.157.38) by BY1PR03MB1484.namprd03.prod.outlook.com (10.162.210.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.511.8; Mon, 13 Jun 2016 21:14:22 +0000 From: To: , , , , , , , , , , Subject: [PATCHv3 2/7] EDAC, altera: Add panic flag check to A10 IRQ Date: Mon, 13 Jun 2016 16:19:07 -0500 Message-ID: <1465852752-11018-3-git-send-email-tthayer@opensource.altera.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1465852752-11018-1-git-send-email-tthayer@opensource.altera.com> References: <1465852752-11018-1-git-send-email-tthayer@opensource.altera.com> MIME-Version: 1.0 X-Originating-IP: [64.129.157.38] X-ClientProxiedBy: BY1PR20CA0002.namprd20.prod.outlook.com (10.162.140.12) To BY1PR03MB1484.namprd03.prod.outlook.com (10.162.210.142) X-MS-Office365-Filtering-Correlation-Id: bc55eb02-5cc9-4f5c-37cf-08d393cfb840 X-Microsoft-Exchange-Diagnostics-untrusted: 1; BY1PR03MB1484; 2:iznHOCdCkRS/T8qSpmn6BnTOhErSrGxvNLZyhf3WkjYRGWF0xdEo1p5s/nhqArqDR91xFHGQ9j2XqxtvKS/ucE+AzlrqEV+T75Z+yJ0Bt+cB5bbAfAouU89bWiOGUKVQzvYOKe7Ar6r5l4m4p1g/A3H+oJ6rduOX5b0e4vXXF/a1L8G2FOIef5gkzzIhc3ye; 3:nY1hcwiztZjSuPmxw102q9zsjY7vgL9XwXmyaVR0GZeVwfvNsQ3jiyIViiXLcOUmHzwxuFksHJvl5non7krv/iL4+1SN+aKYs84HWKIjBsUBsAAH5gaBf4V3VwIFeIOX; 25:OrsmnW31H7FpzVUw+vReII9amZja/kMBZLqZrismmMqR6OlROQ+p0W8rv9F9J+RQM8TWd7s4IqV5lg28cFrA9riqQcTRUFQw5DCQ9HWtk053mDi/5u0IZuS1aj0v6iEDueKJ3WMFAuLeqtkvMjCpVkqS1fSkrKZPa7B0YexuXTGadPJGseVQzktKipWHbIC9Uo2MUiM94jzGpet+xxbVgdgFxS946yboBcTcyfuF74JzQmT2GA+ghX1r+Tk7TkGQdXiKyZS1xOEqNaB9O2GRYVlBjTtbKFOpjVBXB8zb6STb5sosnie+bnLRtgdw2FmTeB5CH3YHG2dQx4P6arZFX7U9BlMM0JHiOnV+YBHv/pE9Y4gI4fsI6KmGWIPXoyJZNGVM7nLq3tZgjvNTcRioX650CQLYN5q1Bo3ce262byY=; 20:gkh4j55ttRK/rLE/PLVI7Bo/ktM5+1y88EfZJd/6XQs/HcGf9K2RpTp6GXM3OuoiFsbPs1uZF4xFuq9to5uQwjKul1p27dw0EQrCwSIp3ZIlMEq56FLNVkwXM9N/ScX/XVVvDZ+BtEzRkMP+UQpByP1o19DwcMB3w68oU8SxJGI= X-Microsoft-Antispam-Untrusted: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BY1PR03MB1484; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(80048183373757); UriScan:(80048183373757); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026); SRVR:BY1PR03MB1484; BCL:0; PCL:0; RULEID:; SRVR:BY1PR03MB1484; BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(13015025)(13024025)(13023025)(13017025)(5005006)(13018025)(10201501046)(3002001)(6055026); SRVR:BLUPR03MB104; BCL:0; PCL:0; RULEID:; SRVR:BLUPR03MB104; X-Microsoft-Exchange-Diagnostics-untrusted: 1; BY1PR03MB1484; 4:MEJRttwCuBsCYWdJEpJVVTk5+4ZnH7aWjo6EZ67lN6JCy5g0jYOX1AQdZGdFwIBhdjJDU3LbpPDct6Y6+8kPpudBxdSCJiYV+GJl9+Do8LOsebmt8QhJfFs5wigycczI/uymahxQva/A6oGKVKV3f5+Y81zz68g9ACthLJ+l7b54eQllmc9XR09zQQsfe9WnGoqWFa8W4ca0PX2PJBUI1ipq8zrngD6aYnG0snXyGJUVaLUU1/ZBzDb6pvPsxRN1AhxIbpnX8hALAUjZvfwt97h5TDt7/nWkYymxVfCR9myCo/R2s2eNhC/WXhhMPdBkeFkPk0a+MjrSEY0K88GWHgMM72oCvRor+kvf5bEChpfrZtF+P43xofynXk0gUeaZv6+fnkpvS8vpkw1j0fb69znm0JaSgRTbW6O5hZS5/D7ACP9x8qKoNLbRyUL0W6A+ X-Forefront-PRVS: 0972DEC1D9 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6049001)(7916002)(199003)(189002)(2201001)(86152002)(42186005)(5008740100001)(50466002)(2950100001)(33646002)(106356001)(47776003)(77096005)(105586002)(48376002)(189998001)(229853001)(66066001)(50986999)(19580395003)(4001430100002)(68736007)(8676002)(107886002)(81166006)(76176999)(81156014)(101416001)(586003)(92566002)(97736004)(50226002)(5004730100002)(19580405001)(575784001)(86362001)(2876002)(3846002)(6116002)(4326007)(5001770100001)(2906002)(5003940100001)(921003)(4720700001)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR03MB1484; H:tthayer-HP-Z620-Ubuntu.137.57.187.33; FPR:; SPF:None; PTR:InfoNoRecords; A:0; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: opensource.altera.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics-untrusted: =?us-ascii?Q?1; BY1PR03MB1484; 23:fztOErqSrIoM/V0ijxRd1nRCx9vKKh+HxbbrrNEJK?= =?us-ascii?Q?/uQEXktFjWBOMvN4EMHnJ2jF1ielntq8jERaaN37A+qnD2pA8qzV6/z8hgC1?= =?us-ascii?Q?APUhxlv4iZo0NAjoGNzI3T5qdqNZAGU+G5jXp96mg+I8GPaGGqgseEwSRo1G?= =?us-ascii?Q?JYXQF+AuqfC54sWCWhENfrmeQYuf9hFB+7Wzodq/7EMfN/H6A1Og/8RwVj4R?= =?us-ascii?Q?L+xcO5M1sklxT6FWp7/ZxmPM7PsGn+gSIyETAMn/U3en2jLkoLFxmhTd3XeT?= =?us-ascii?Q?3gqpLQrcY0YHCOMfkOH97VT7tPvBB/xIlKOAneovRVsfZpmO0SpFRCoJxlGb?= =?us-ascii?Q?uNPIE9Y8o9s0LZj0ivfmwcNMxQZYnK+gVOD4S+K9jQRksGYTqI412+qetuAD?= =?us-ascii?Q?5fzqXp8pknS6HwAbEBUmuhcpGRgcjnrxMCWCAbjBAM5jJT++SBGmPZidaQ+m?= =?us-ascii?Q?w3ImheXUl/vJFBjhSNzLtW0ohfoFt+W8tz5yn36e/0CPPFtDsJL7r0hC6TZm?= =?us-ascii?Q?S396sXejoqE6Vat5ff1FcRNiyp+GuQ+5A2VWa4PuwvRSv6v2x5EtD4UYyz0f?= =?us-ascii?Q?edET5i2NfYuuYcjIG+ToX32YAc0HNOs4tJqEiSJCE5bQDl8Ps+oncxYU/6FT?= =?us-ascii?Q?pCip+NSutui6cnfOOTvu9+oQE5Ohs/k1CHfoKvCcZ+0Tgoc+nDmYS/vMcWwM?= =?us-ascii?Q?70ORGBMHk1frGwinQonIJusUPioRdGzepNUrdSIsIcMU5mWnsLPsDr2CvxZC?= =?us-ascii?Q?fLBnM3OHj68yA4Kc5NSSIXxsmFfrVMeLYv6nQZUVrhwXU8mmKaZMTvqv2Io/?= =?us-ascii?Q?cGOCfroQJCmfqSXsIuhr5eWvOYqTlrLQZRYR7NTk1PmuqKXi68ZRcjUnVgdG?= =?us-ascii?Q?mNOJToM/KjDhYsty1adPaiBGwlG4wy2GVKpWj6SjQl/thn7Gd/NpcI0+CFBj?= =?us-ascii?Q?7QHgiktmCNAYEi75DuEPLJgOFjcR741jHvKsgbt4kHs0YmWT30N05NNVxnXo?= =?us-ascii?Q?qtM+VakAin14ckD/JUcDJqU8LoBglhY/vzavTNnLgJ6vpMVS87XbDNxElEbD?= =?us-ascii?Q?wxaLmLoAWb3zgiNA4W7y/m9rOSalfSAjudM6DZPmUuuMdvraMmeve5u5TAGD?= =?us-ascii?Q?6tPNCy3jOCkkuR2rRT7juLL3hsMUxPQeZjaEwhtkMqstAW4VWrYRWM4D3kiK?= =?us-ascii?Q?ECIIY7i4MqlitakVA5luMC7hnfwse1LccsqLBZptA+tyUzksi1C9YAPhqEWj?= =?us-ascii?Q?Lm0EoZuPyXPwcJzAT0=3D?= X-Microsoft-Exchange-Diagnostics-untrusted: 1; BY1PR03MB1484; 5:OGHAoBD8kU9JXZzeNbmbcsU5zhJTQRrYU+vogjLxC4bJMRn16FUHCcS4pSuvVcrCAz11vzDS6uQwBcRiCVFtcOFYZmjYVPsN1stMJOOt5OGjekPCymqA6XYyNMxMAH8Kgp656d7mjPEuEmXLDLLH5w==; 24:kCEnaxpvYAqsSzSje97QYmEZ558o35lNvRRnX+soAxsa7nGbKiffo13f45ifpA6icdX8OeyotmL5/KGoUtzPdBuzyK7vZuYmJVJWaYBzdVQ=; 7:6lghtglThdlCIx+PEV9S+fw461q3JzUS6FDL/81GHFsiWMFtcbHBXNfj/Gveek1EWLjPqMF0oxh2RReLDiEzyNwWoTFOPcxcNpMKLcDmAwUTU+Qa0qqLvCDKrT+V1dlOHEWxV5kUUateFnLjegucNimgrZg8XWh/KYXX7wVd7dvx5Yue3m2mnkEFI+L73iWUGKdpkx8HBYqWKvC0diaN00DKDI6vLlzP7r+8xHdjvKM=; 20:+TVjqBmQRUleVN+aMBRVCjt4LlnQI91PF2g/iuOwI0NbL2/s4EK3NL9+bbfOZ1lcwZBdYt/d5f5IHqtex2Tv6nFknvCZzA/lq/b+iGXVBZk5NUVycv0IQmtzqiHz6lthb/uS7vLQykDwQLZL+LYibdnIQ7H7g00GEbXPoKA08wo= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR03MB1484 X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: BN1BFFO11FD012.protection.gbl X-Forefront-Antispam-Report: CIP:66.35.236.227; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(3846002)(50466002)(85426001)(19580405001)(11100500001)(6116002)(107886002)(229853001)(189998001)(50986999)(586003)(106466001)(86152002)(5001770100001)(2906002)(76176999)(16796002)(2201001)(47776003)(97736004)(48376002)(87936001)(4326007)(5008740100001)(4001430100002)(6070500001)(66066001)(2950100001)(6806005)(77096005)(81166006)(68736007)(5004730100002)(575784001)(81156014)(86362001)(92566002)(8936002)(50226002)(33646002)(2876002)(3720700001)(5003940100001)(19580395003)(956001)(8676002)(356003)(105606002)(7099028)(921003)(4720700001)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB104; H:sj-itexedge03.altera.priv.altera.com; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:0; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD012; 1:8Kmo06XQAB5RTyUQdWs7MTPGmTSg05e1yor8awB9czeS3EaaV1U4YUKOg7aqPyIELDxUeFJo6yrLneizN/ePGEgOHRW4/5Wis7HHEduASFlaH4N6NxtmqTk9f8SWZbFyVKrKqb+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YLBiL69Eg/s9Dt4rZ911DgSBS1H3yOjtbHlepMHftd4vZ0ql3yMjExGANzpg7pzAn9fDlWNDDS+maTBriJfeSlej2MACXxkuszlvHr9LRacMu02K5MJNys7pezSjk5xfNfgA68QxBGTuYQ34Rh0yJWfbAOYha7I3LP6hpnHGY3WXZytBOiE0VmOV40K27Wym2CaID5EIMg17y6l9oyibqC9hg2owP74XLDecp7Qs83x2kV9mgUCLJTi1tQhTQgm2a4WgcQ= X-DkimResult-Test: Passed X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(3001016); SRVR:BLUPR03MB104; X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB104; 20:0tDniD3WKu3HRJA7CIgm9wl7zkUKNufVg339xcaMZNzOdtSE5B9IH1crRTrGv43zhWqFZm/0J7UBBDiwFb60pSEOu2SdAe0bb76Jip+ZbpJgkEnLzf12nGqqolEeN8QlWroHqzPLW2kAdyTC/KZjZAfWG82ugipQS8hrrClz7h4=; 4:7vsFBd/U3e83DSZisIq+jv57BRjvY0przzDln7mnasaM1jujH1ILnz7NBKApctRBQyBJXvKUa938MN92lZsIrvc8URRlEL+CxsYJQYf4fdbxH+/mBN/OjsQhMIk1qNUuDg8n7tI3PVxx7UuFVgY6zcpMRtthVLR6i/OTihZfAwb+m5Poqf8RAa9WbijKwm3mPidlaFEEdMg3m8vkuco7KJ1Rw9vZyU37C/Zq/OX0pMdHNzqX3th9bs7qeCygOUKkXSOYQB+4Xq8ujNgQv8/wK1yyX1knVasihy7OKDw42pS9xQwfW/qd7aZJyNC0yAPBBXQoY1cWRRaDAPT7FaZZW509bA9uCfNh7V2VNyLVX9d9G2hgVIaIumXynmhcD/wukV7datvrETfW0a61mu51c/ji1h/Q7XFmxcDm7QiLTYrl20Xx+lw2CPLDkR/C3pt7DokgdbE/BXEKUshh3cmFUC8lTKDypD6dyTarNnBU0AU9ufMN3Y//4ljDNL5ivaAYAJnHgtgz/fzx2RHFKXECFA== X-Forefront-PRVS: 0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M6ED0ne9HH4mF8RV8DLWMYLNBaDKSxF6txOK92YS2ZDClLvlg3CPtpISl9s=; 7:3sfVcizYQ8ofBzL+ZwSyaqGlUrcHt6Lf/152kxxZF77koo1qEX72LVZBO2WqvmBLivtHfq76euq1/6ZyZyxNKXckVHUiJ1y0vwmjjC3wzTN8p2U2oo0bwnmTRiOD5zF3bTtrESW9XbSalF9FFhwoRzjIG0+1MGGOUIxLa1BajC6TyQpro6dZne+sXDSl/g3g; 20:39kSu3s8L/Smya2EUe4rQGR9VUijsOWk0uozq32ABDMvZ4pH9mwVgA/sCfPbsB4iyUMPvfi69dDLnG9RoGRvPWTulZrnWRVsOPlHP2w5YFk2yj40hHMvCBmK9D3CwflcLtmg2aEVxs1GhK0br2Mk/xL3ewr0zkXThWO3r7MdTy8= X-OriginatorOrg: opensource.altera.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jun 2016 21:14:34.4669 (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.227]; Helo=[sj-itexedge03.altera.priv.altera.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR03MB104 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160613_141459_207354_4093A703 X-CRM114-Status: UNSURE ( 3.84 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-doc@vger.kernel.org, tthayer.linux@gmail.com, tthayer@opensource.altera.com, linux-arm-kernel@lists.infradead.org, linux-edac@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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. v3 No change --- 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 926bcaf..a9d8fa7 100644 --- a/drivers/edac/altera_edac.c +++ b/drivers/edac/altera_edac.c @@ -897,7 +897,8 @@ static irqreturn_t altr_edac_a10_ecc_irq(int irq, void *dev_id) 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; } @@ -936,6 +937,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 62b0fa0..cf4e8cb 100644 --- a/drivers/edac/altera_edac.h +++ b/drivers/edac/altera_edac.h @@ -298,6 +298,7 @@ struct edac_device_prv_data { irqreturn_t (*ecc_irq_handler)(int irq, void *dev_id); int trig_alloc_sz; const struct file_operations *inject_fops; + bool panic; }; struct altr_edac_device_dev {