From patchwork Mon Mar 7 19:43:02 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: 8522351 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 3B89B9F46A for ; Mon, 7 Mar 2016 19:42:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 40D0320114 for ; Mon, 7 Mar 2016 19:42:43 +0000 (UTC) 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.kernel.org (Postfix) with ESMTPS id 1BEED202C8 for ; Mon, 7 Mar 2016 19:42:42 +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 1ad11d-0006nO-09; Mon, 07 Mar 2016 19:41:05 +0000 Received: from mail-bl2on0073.outbound.protection.outlook.com ([65.55.169.73] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ad10g-0004ln-Q0 for linux-arm-kernel@lists.infradead.org; Mon, 07 Mar 2016 19:40:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=altera.onmicrosoft.com; s=selector1-opensource-altera-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=yWlvetTFxajBYGd+xFRG42NRLnJQiN+3+eK+Ir70XnU=; b=cAvZzeWLfV+Me6ddI3cUpuH0GcRzmkqvb66tYXldpRs46qOnVDHAcH5w+VLlqMAyPQD6T8bb79R1pA7BI0dzUECSrC6njx1DP68vaVeCdGEsnYBsimJe6yqaB50fc5qNANqn+yYrfMw2g5G9agx9Ul8s3WefhmKGZ1Z3Yr7SRmQ= Received: from CH1PR03CA011.namprd03.prod.outlook.com (10.255.156.156) by CY1PR0301MB2028.namprd03.prod.outlook.com (10.164.2.22) with Microsoft SMTP Server (TLS) id 15.1.427.16; Mon, 7 Mar 2016 19:39:44 +0000 Received: from BN1BFFO11FD027.protection.gbl (10.255.156.132) by CH1PR03CA011.outlook.office365.com (10.255.156.156) with Microsoft SMTP Server (TLS) id 15.1.427.16 via Frontend Transport; Mon, 7 Mar 2016 19:39:44 +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 BN1BFFO11FD027.mail.protection.outlook.com (10.58.144.90) with Microsoft SMTP Server (TLS) id 15.1.427.7 via Frontend Transport; Mon, 7 Mar 2016 19:39:44 +0000 Received: from na01-bl2-obe.outbound.protection.outlook.com (207.46.163.208) by webmail.altera.com (66.35.236.227) with Microsoft SMTP Server (TLS) id 14.3.174.1; Mon, 7 Mar 2016 11:39:05 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=altera.onmicrosoft.com; s=selector1-opensource-altera-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=yWlvetTFxajBYGd+xFRG42NRLnJQiN+3+eK+Ir70XnU=; b=cAvZzeWLfV+Me6ddI3cUpuH0GcRzmkqvb66tYXldpRs46qOnVDHAcH5w+VLlqMAyPQD6T8bb79R1pA7BI0dzUECSrC6njx1DP68vaVeCdGEsnYBsimJe6yqaB50fc5qNANqn+yYrfMw2g5G9agx9Ul8s3WefhmKGZ1Z3Yr7SRmQ= Authentication-Results: alien8.de; dkim=none (message not signed) header.d=none;alien8.de; dmarc=none action=none header.from=opensource.altera.com; Received: from tthayer-HP-Z620-Ubuntu.137.57.187.33 (64.129.157.38) by CY1PR03MB1486.namprd03.prod.outlook.com (10.163.17.16) with Microsoft SMTP Server (TLS) id 15.1.427.16; Mon, 7 Mar 2016 19:39:37 +0000 From: To: , , , , , , , , , , Subject: [PATCHv2 06/11] EDAC, altera: Add IRQ flags to private data struct Date: Mon, 7 Mar 2016 13:43:02 -0600 Message-ID: <1457379787-8327-7-git-send-email-tthayer@opensource.altera.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1457379787-8327-1-git-send-email-tthayer@opensource.altera.com> References: <1457379787-8327-1-git-send-email-tthayer@opensource.altera.com> MIME-Version: 1.0 X-Originating-IP: [64.129.157.38] X-ClientProxiedBy: BY2PR1001CA0010.namprd10.prod.outlook.com (25.164.163.148) To CY1PR03MB1486.namprd03.prod.outlook.com (25.163.17.16) X-MS-Office365-Filtering-Correlation-Id: d8db9f55-49fa-4170-d2a8-08d346c03c23 X-Microsoft-Exchange-Diagnostics-untrusted: 1; CY1PR03MB1486; 2:7bWqFtypai3ppaRMOhr5hHBnkHhMk/L55kL27p+CYW3RkC4sWwzBTXkgEARfSYeTyn9hEjkVH4+WqzJAGPla4g8DRr/hUvwRjhwfj5bMMF78U0WRISwHq1iX0Y23mk+XKGkvHr1xY2KPpBIepM2k4ubrLqtqbu6SvCnVEVU4AIvNpsvA3mxHsDX6hmXNAfo1; 3:bkI9Jx4WDNWeRtdrU5/xx+cWyB7z/hhF7uxesLz1k1HCGSGngxZatdNuiAl9bgr9oVTbWIs0ZqHb3GpJR4XB83BMIArHE4B6sbhCpuucUxX97rvIvZ2AfJZeB2Ct8fRm; 25:p9z22er4diRQW927xEdNI8JgC0zeH0f1CnMS4LCOuIzljyI4jbso/HeM6KJ5xu8p53nY1NM/2MHAL3I45clqyead2LZhP4YyGMOz0QVFU0/g4QcUQ3Qtx+xqZAsFT8z6YBf6P3C0eXLG3c7qDPsF7nc+otwPFuuPdJw83xN2t3dQekOrWMpbJPJaYkvpD9VV4mwXdCczBm/to7J7Qb8PSwvxx0GpSmmTUGZu8+awYzjbkeYPUfS94SybtaHaJC0ixMLIBnhtVTB91E8R4x2TxkQ0sDusVPor8hPlfp5PQiEVRBgsdcsECPDf4AODrucBkOxNjz65tS9OyvG4ZB2Xfw==; 20:kHEbCBArn8DnHPOjSjYkKE6P10Lr8U4zWLY2pRy9lfl+HpuuT8yYvxIk/MzrF+wmhJJwOPp7FWO4RdO7oXuCRSmDJsdHbH5+oV/8c9AJ4WLqNJoewb6lzLcIkxxuuhcw/qwppsJQd0umiJanAbznvtTDvstgfsunqed7S5w3zeE= X-Microsoft-Antispam-Untrusted: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:CY1PR03MB1486; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:;UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001); SRVR:CY1PR03MB1486; BCL:0; PCL:0; RULEID:; SRVR:CY1PR03MB1486; BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(13024025)(13023025)(13017025)(13015025)(13018025)(8121501046)(3002001)(10201501046); SRVR:CY1PR0301MB2028; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0301MB2028; X-Microsoft-Exchange-Diagnostics-untrusted: 1; CY1PR03MB1486; 4:ePxvep5zVYdKV+dOHMtTZAddNrqL00hDCFntTRPzaYRQk7j8bcnQ6iUUdgNfwN9w9OxJf0E4R0wxynSW7MBEMhQCUi1aoFqkOJ5AMUwihNc9bgAbTjgoV/e6XY+7Yo1ikaIazyJ2wt8/vOQqjnZESz79+K2OxEBaQXD1UlKhO08DGHATumCqwSWWhJnopf1MxE3N6nq9goMhbEpaGLv7FecLCCfPF1UbXupF7THji7AdlB8/GsXyuY1/wtRpfn2Bze6SNSIm2igxevjZn+D3CokWpqcTD0vx2fKmiG0pkabeewV8CJtTJleTWDXpP+NSxipoQfbe1An5IQca7MpSuDilK10Ay7G/2FccmM8T54Xo7rYDZDNY2tHcFsgju2iv X-Forefront-PRVS: 087474FBFA X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4630300001)(6049001)(6009001)(5003940100001)(4326007)(81166005)(92566002)(5001770100001)(2876002)(5004730100002)(5008740100001)(86152002)(2201001)(189998001)(77096005)(19580395003)(19580405001)(40100003)(2950100001)(2906002)(122386002)(107886002)(33646002)(48376002)(229853001)(47776003)(50986999)(76176999)(42186005)(66066001)(50226001)(6116002)(3846002)(87976001)(86362001)(50466002)(4001430100002)(1096002)(586003)(921003)(1121003)(4720700001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR03MB1486; 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; CY1PR03MB1486; 23:6gP/3Mhn1d7dJlSpkN6hnWYBDSSY8YBInBZY0AZhi?= =?us-ascii?Q?4uLLzBHKvhJ34mdTZMFRTaRs/NZgtACPjOAA1DXV/zLh1n4jZgzg4m2rqhWf?= =?us-ascii?Q?v1wZk+SoVeatX3ga9x2aqSg8fTAHan2Zv916WTQRggpGTFStSJWkifX5RTiU?= =?us-ascii?Q?s/LQ2LhGDsgkEgeR28+m1aYFwqsCAwyNhrL9afIqGV7kE8FtYZh26GG4HOdN?= =?us-ascii?Q?HjdWJeh95s3b23EU5eSbjDSXpYI2wwvcI+ocDjispY8tDyijROAILxZvt8VF?= =?us-ascii?Q?/Yt9Nc0miUTIsxaYR+LxYzXr7c2WsiUYfa7iPUJs/LkK9E6rUbuRVpaj2EJi?= =?us-ascii?Q?B2MBB4FVElHpI2vF4IiWhZpZP7zO+MOVc9dwepG7NUG/TAIhmpwCOWcml05K?= =?us-ascii?Q?gYbMUInmWEvxEhTfLjvHa3mYii6RxBzRln+4pQd96HR69kmovsvEdUT0fYGy?= =?us-ascii?Q?jeGgtatP0Wk6jwohVBXIfUbqBOMyb3BpmjmB4kpZQII6m7ddpErx77x1d00F?= =?us-ascii?Q?3ViG89v5joucCoftgPniF3zCCTjCEprLdcfP5xIQqPVE+7XMiABUP7DRXPxA?= =?us-ascii?Q?M16QKFEL3lNqR8/AkCcGD8ZIr9kgZ5eodqB904L2F/cxrG/QpzfGl9Os9Oi9?= =?us-ascii?Q?JtAWhMQVbJdQ97K7PKlvBDZD+vO2G5C3OA2tovHfwsI9A3h9IkUKV95e/08E?= =?us-ascii?Q?qR7/V5/KUemqTfNOHzgqJ/CkZ0eOs1gtR8blipFJSLzCfyUfXl+/RY1VFN6N?= =?us-ascii?Q?jsMDn2osuAu7xwaDZ8rFFlRKFlzbF2DZ6kJLgCwv+S8Ivv7dsruT8+4MYDqS?= =?us-ascii?Q?eSFAKARqkP+HErxrE7409O4+OaXCow+/7ptxEBxg9UHm6I0aNgfomfQsrxTf?= =?us-ascii?Q?RqZ5ICmnySHiN66+C94gH5ZB6bK8EgMVW7cgSC9qQGOBjAgRNIntq63yn5vR?= =?us-ascii?Q?PcYmrLEf0oEUwAHkuaXkwhWz12CS3x4g7OI/NICShQ4mhWrHkhXksk+UMqSe?= =?us-ascii?Q?pmyLfDIwHNAoXbyo407ugICoODRZKR9nTef58JDbcQC8bS+imA2m9SVczXCp?= =?us-ascii?Q?y8jnufNUaoT9haR7FtZ01pCG5/HAOceG2J77nqWgtgO27CTbCCEVKWOk/cKM?= =?us-ascii?Q?NnDvAA9wME=3D?= X-Microsoft-Exchange-Diagnostics-untrusted: 1; CY1PR03MB1486; 5:3fq02YLETDBpLFN8RBhUtglnk/zI1Gyl16sI1sMLygoq/tLnAthQctqFC09bxeECVYeOx7XKiwTFoia3opqcmz7CpsQqyqVUoeWNdLkUopMojnBpSSuIs+WVM8rjAToW0UgqK+0AEbbEYntEL1Mq2g==; 24:JyYHYbvaEb63KM5hagXBU9zX3FpOWFa9RUH7xY7z9+Q6A6m2um8HDzR3RUvSpbpNzXNubNN3HkQkcNOh+8CJQ8FgLj1/Yu2WeXyIJGOLeT0=; 20:BeRZ9F7/GU/2oH8LGP16+w+SyZbw9jFnuQYBYaijQkt7Sa2CpbZqmx4uKXpCTwlLV9ywq0ycGVYKsrIBX5cbea30RvbcJx+aPcxrTuI86MbqGhiM+q35qlxqbfHgd8BeJm/4aTbNaTQIU/F7c+F7TdYt4EV1ab6mAOtMzt6aafA= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR03MB1486 X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: BN1BFFO11FD027.protection.gbl X-Forefront-Antispam-Report: CIP:66.35.236.227; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(50226001)(5003940100001)(21840400001)(2906002)(85426001)(77096005)(50986999)(5008740100001)(76176999)(4326007)(6116002)(11100500001)(6806005)(229853001)(5001770100001)(1220700001)(105606002)(87936001)(1096002)(122386002)(2876002)(48376002)(2201001)(86152002)(4001430100002)(50466002)(189998001)(106466001)(81166005)(586003)(5004730100002)(3846002)(956001)(33646002)(92566002)(16796002)(3720700001)(2950100001)(40100003)(107886002)(19580395003)(19580405001)(47776003)(66066001)(86362001)(7099028)(921003)(1121003)(4720700001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0301MB2028; H:sj-itexedge03.altera.priv.altera.com; FPR:; SPF:Fail; MLV:sfv; A:0; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD027; 1:C7G6cHClDBgDFF6hsNs4mcbw72aIzClSJLzdlHXoeqeNEGFGJS0yzuJDM/A1golpNEjY4YC6D0cjh1Mup/5aNwqadgXEJ0GtPVx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Un1ntyR1s/PdA4uDcodfu8qI1PqgAh5Qrsuhm0OpS7b/w4j57kzOq6aOzZanB5UNihVNYY+LI39tUns0Aa8zt02oV9vKAnJTHxcnXiuCVIT77SJKJKBBzOu67rBMHTaC2UShTxWMow== X-DkimResult-Test: Passed X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(3001016); SRVR:CY1PR0301MB2028; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB2028; 20:w835BY1ENZK+GGpt/lE/TZ5hD0ZHrP+KKQc1yKAFONtkM7RCzLzdUsbyheUjS9SaJayXWsav1Zm2WTRHfur0pskthy3hSiVikfRMJcHjks5MGp7hy/bKnymHgDKLa7T+h7NOf599fAvchVaGqxDKHSKOQpO0G5WO+4HHTyu3i6U=; 4:sxRsF+zqeiptOpQvtfS6/qR1BNzJOGG0EU0WK7Sy2yreItEAK0T64iK91hsiIYGJcH/9xpQNr9DERC0Vzig6SN+zdJe2/8sfwC8o8L7X1Ye6kwFcK58fpFANekg5uZlu4e+0UyPcSVZOQimR/5ZPPchQ0cE1Ce3BY1Y9rky4QIPaZUhKNEMvJs2xdfE5VS0bwcmNV2hGLick/bKugtDKyZiHek6qEDEU4+ODcr+q/uNA6kob0/zITPv6CqZn1TBiAqoYwf91HExI8r3ndK/C/IoSsF0M9wSePsRzeAEswgh5sKwFBwzGDhS1PHL3PtO8Hm9mF6NmfNcl9uXiQspW8SxVPXdJ5cg3nzfZJtlnXZgbKzz5Hdu2LXXCuRYL+kDoI7eMkP0f7ZsXE0y2qMLN+LwMLh4mE+H6bAJbIk0yhTP/Ez/z2tclSODHIP9Ws29XiGyDQF+/OM9XclZQAtywNw== X-Forefront-PRVS: 087474FBFA X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0301MB2028; 23:/d9WA/tepmx6GMLXwOe5YiaLIooxpW4imR9Y5ye?= =?us-ascii?Q?cW4mpBJIvu4u2x0c6FDW221EeTzthXKT1YxfbAqE0/zcEP7If6Ur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Org: opensource.altera.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Mar 2016 19:39:44.2429 (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: CY1PR0301MB2028 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160307_114007_270103_45648E54 X-CRM114-Status: UNSURE ( 9.45 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) 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, linux-kernel@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-Spam-Status: No, score=-4.1 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Thor Thayer In preparation for the Arria10 peripheral ECCs, irq_flags was added to the private data structure because Arria10 uses shared IRQs while Cyclone5/Arria5 have exclusive IRQs. Signed-off-by: Thor Thayer --- v2: Split large patch into smaller patches. Add irq_flags to the private data structure. --- drivers/edac/altera_edac.c | 8 ++++++-- drivers/edac/altera_edac.h | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/edac/altera_edac.c b/drivers/edac/altera_edac.c index c28cd78..fd73a77 100644 --- a/drivers/edac/altera_edac.c +++ b/drivers/edac/altera_edac.c @@ -759,14 +759,16 @@ static int altr_edac_device_probe(struct platform_device *pdev) drvdata->sb_irq = platform_get_irq(pdev, 0); res = devm_request_irq(&pdev->dev, drvdata->sb_irq, altr_edac_device_handler, - 0, dev_name(&pdev->dev), dci); + drvdata->data->irq_flags, + dev_name(&pdev->dev), dci); if (res) goto fail1; drvdata->db_irq = platform_get_irq(pdev, 1); res = devm_request_irq(&pdev->dev, drvdata->db_irq, altr_edac_device_handler, - 0, dev_name(&pdev->dev), dci); + drvdata->data->irq_flags, + dev_name(&pdev->dev), dci); if (res) goto fail1; @@ -889,6 +891,7 @@ const struct edac_device_prv_data ocramecc_data = { .ue_set_mask = (ALTR_OCR_ECC_EN | ALTR_OCR_ECC_INJD), .set_err_ofst = ALTR_OCR_ECC_REG_OFFSET, .trig_alloc_sz = ALTR_TRIG_OCRAM_BYTE_SIZE, + .irq_flags = 0, }; #endif /* CONFIG_EDAC_ALTERA_OCRAM */ @@ -964,6 +967,7 @@ const struct edac_device_prv_data l2ecc_data = { .ue_set_mask = (ALTR_L2_ECC_EN | ALTR_L2_ECC_INJD), .set_err_ofst = ALTR_L2_ECC_REG_OFFSET, .trig_alloc_sz = ALTR_TRIG_L2C_BYTE_SIZE, + .irq_flags = 0, }; #endif /* CONFIG_EDAC_ALTERA_L2C */ diff --git a/drivers/edac/altera_edac.h b/drivers/edac/altera_edac.h index f15b4ad..b262f74 100644 --- a/drivers/edac/altera_edac.h +++ b/drivers/edac/altera_edac.h @@ -235,6 +235,7 @@ struct edac_device_prv_data { int ue_set_mask; int set_err_ofst; int trig_alloc_sz; + int irq_flags; }; struct altr_edac_device_dev {