Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756375AbcJSTru (ORCPT ); Wed, 19 Oct 2016 15:47:50 -0400 Received: from mail-dm3nam03on0059.outbound.protection.outlook.com ([104.47.41.59]:28096 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753826AbcJSTrr (ORCPT ); Wed, 19 Oct 2016 15:47:47 -0400 Authentication-Results: spf=fail (sender IP is 66.35.236.236) smtp.mailfrom=opensource.altera.com; vger.kernel.org; dkim=fail (signature did not verify) header.d=altera.onmicrosoft.com;vger.kernel.org; dmarc=none action=none header.from=opensource.altera.com; Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=tthayer@opensource.altera.com; From: To: , , CC: , , Subject: [PATCH] EDAC, altera: Disable IRQ while injecting SDRAM errors Date: Wed, 19 Oct 2016 14:53:47 -0500 Message-ID: <1476906827-9412-1-git-send-email-tthayer@opensource.altera.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [64.129.157.38] X-ClientProxiedBy: SN1PR0701CA0001.namprd07.prod.outlook.com (10.162.96.11) To BY1PR03MB1404.namprd03.prod.outlook.com (10.162.127.146) X-MS-Office365-Filtering-Correlation-Id: deea6bce-9c27-46d5-14f3-08d3f858cb1f X-Microsoft-Exchange-Diagnostics-untrusted: 1;BY1PR03MB1404;2:+U6XPn0oD44v8SIocOVhoa/Dxxh4wzvUUjaWGnUZhEsE0eoVRsnN3PTVDYJGPHsScGFX3How4S8dAbmompF6ltdiR/XP3tiiPc7J9xLYQjj4mnh5Nofkzy3qtMPeUInVzyAXwns5x1+f+e+6l5WB1wDBcv+2FAhYVyi+5A74F1DYJMaTH71SVSACa2V3sY0hOi6ItRRJqT2tSc/p1WAqDw==;3:+WmJ95VXpmGt0jud1lpODJRGb3Akmcr9OB4jkF7Jn4U5b9p3Tu3p8EVNNTzJVBcdlE35Dvn1ah/x66F33wXhs7MOs9HaI6S9aYx/L03GdexvLepf8nPBHAEMYl26jmO2uIkKIB9CTzhiVrlEFx6s6w== X-Microsoft-Antispam-Untrusted: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY1PR03MB1404; X-Microsoft-Exchange-Diagnostics-untrusted: 1;BY1PR03MB1404;25:ACtP/62MdULuoWTa9TGWJlesjVuFAZ+JanPTr9jbRXFH6lB0tculyyRhi7PgJS7oNG+YIyua7PfKvuvIm6OTIywT5hxYf37IupnZH2buQ7gKO1hcmTX9QWjb4CHUrpZfy2bZiHPXoisCA1vM8NrdrnGKz/3ZNDCXKIZset3JFIpZNTk0NmkAuU4xqpXhUFmX38P+CRJ8q33zXhG/ekGn+bPmJ09sDazDt4x4p8ws5AVWc025oNXw4Xz1zx4gsUSrIcmJCIVGk82CFhoOnfivh65QlLxiPwtpJ00HKj/kIrhrQ6I8EkX5LPuP3zPHr971qaU7LgPrfCIqoJSiYcwV6Ob0A5DtjCHUhzb7kFQjiTqjFQV5WdRb11vlhsBgisumGWyVme/W+8W289LnwcNxntLZe+nW/lzorg73rfM9qULwf/Gx2vcE2Mn/sKWkpvwfO2WvIpB2CUb7s0+/gERDYA+uGYLE24mROQRaMJ/+MgpVJkWwvihwWJz/oI4+uA3ogO+8EE6FIDBlKFN9nYfyStZvbwB9kSWsbYt45BVIJzowGkgaJtmlmgJJB6bnISSVVrQns9JHsAcyDJlYaAaQ6j+IUhNAGikx+LRl+OgNqFZxHK1aXsFxbsRkffPejEwo8oCtw1bHjJmRu4pvTdJIObJEniZdQqThP+i4dPkeIQcu+9C/mq7xEJOb+OSrv4OrDxYwiClyP+TvY300BHVELND+YYVr+HTmf46XGPmZQ8O1QZb0q+gC9eQlWTSGj9VcqXO5B3Q1531lKADGCzTBsUX5soF3Tu8b4SaX5qrdmFs= X-Microsoft-Exchange-Diagnostics-untrusted: 1;BY1PR03MB1404;31:qgovtpGqoUARUv80mNDYKYLwbG1PCs4zEBGVPXT214dES5QxWhl5ygXNa65gPXiAx9PAPMu18xikB0WFDHyc7MDb2YrFzWUsalObD0jX2FIEBzxlvKARX0BXL8nhKpOw+SSvG5NYdOtUqdUdC8eqe1nnr6PKZhQmXsF1DwTdHOSf7+0+bpzfffgiPaEUzv560b1ztPlFmfObGapnSflVbnzaAG1PHEsU26542g0fb5aSXCEBxybmtpIVFcXBAqN7GnzoGAB8MaQquG31YhwNWKSmUr4Dn1dwDW/Th/KhijA=;20:Ik+fUDtKtdmQnGFP+hnR97zmzplrwJnAjwsIlCQ9sZRtQuwgFx/PbDtbNVkVODVl9pc08tFAb4xc4WBJPNd2cVU+laIsNQmKKDE8m5vKhVzpkeXaUgpBr1t0E7uekQDwFyABOSu9ui0Rn2I5NUQKuxHxiGpFalnt6AxOgzmNS3c=;4:3Mc20u+DGPI1+/KMiJEFJPWZhBLpNmIfui2qLHbgjq4zVV8Fu26rwY/kOBfzcjUmKnb48jPbJgEQCjGQGYFNCZtXt1vnPCkJBLUg/b4ofOOnReBaRNtv6+ag5BrTC1mlcXHd6vdo85O8hI5FaOr34Sz1TIg8jubgcdNiBSWn5GvJwBM0+gdL2GoN4xeMBD/4SBYu6foWbUlWqs0bsuz+a/8B3B31zM3qlmd/7hYMeBzgpHFf4tWOCwUvFc8bVlX3QaFNLqSqGfl3BeLf8hsHk5hYyhkcGI+BaLg8xOSaEU8/V/RrVxtt8MFCvJc6rP+TCHGeU9mPT1Ahahv+8NTxsplIlNISedgJ6aC2p3MavNyg9hT//g2aR5GE29cG/J4LLpF7WTX9Z+XopezWGNB/UsvbhjmjGXyvGHwyJ4buAR9n0cF5meAisrlOGXRDDvUbAQeXGapZGkPaKThk2TPTBA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(80048183373757);UriScan:(80048183373757); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026);SRVR:BY1PR03MB1404;BCL:0;PCL:0;RULEID:;SRVR:BY1PR03MB1404;BCL:0;PCL:0;RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(13015025)(13018025)(13023025)(13017025)(13024025)(3002001)(10201501046)(6055026);SRVR:SN2PR03MB2304;BCL:0;PCL:0;RULEID:;SRVR:SN2PR03MB2304; X-Forefront-PRVS: 0100732B76 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM;SFS:(10009020)(4630300001)(6049001)(6009001)(7916002)(199003)(189002)(42186005)(66066001)(2906002)(47776003)(7736002)(50226002)(305945005)(68736007)(7846002)(586003)(5660300001)(229853001)(106356001)(50986999)(4001430100002)(5003940100001)(105586002)(81166006)(8676002)(81156014)(19580395003)(110136003)(19580405001)(101416001)(92566002)(4720700003)(42882006)(6666003)(3846002)(6116002)(189998001)(107886002)(85782001)(77096005)(97736004)(50466002)(48376002)(33646002)(86362001)(85772001);DIR:OUT;SFP:1101;SCL:1;SRVR:BY1PR03MB1404;H:tthayer-HP-Z620-Ubuntu.137.57.187.33;FPR:;SPF:None;PTR:InfoNoRecords;A:0;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics-untrusted: =?us-ascii?Q?1;BY1PR03MB1404;23:NWbQhoIG7e/QjCE5dd49rH6LoZLeVBHmSugVmrJyR?= =?us-ascii?Q?TghZcmToOFCgzfn3PV3xZ/3Lv1esuoNR4TlI2Ehi3l1F+JoqOdwRmq+eYf6y?= =?us-ascii?Q?2NV8zYUNwEoCEC/xw+Yn6yon0p6mFmwaEk5KeGh/3Uua6jcCZ0tbA/XiBSYK?= =?us-ascii?Q?YwaXzsbHMRcIwtvWkArO1lMMgcs3aCab9wbwe9BmX41M+MQAtMBRjXw94rS6?= =?us-ascii?Q?VUNxNRKDOOBORtfICvFC2A0Lz+ZONkaGUyjv1W0aWKUMCwpxxB2raXLCbT15?= =?us-ascii?Q?aBwIR5QhcY2T0YVZNxvNhI8tVemowiRGfyoSMKmA57giOyghX3E6rSgVuJUx?= =?us-ascii?Q?UW+9Zu3QSHglo6ae1mN7hB0u7VpGu2rkiZaUSqQQQnbnNrn2ZOSWFyfkpDxN?= =?us-ascii?Q?yCt8uKEMWJM6ykjAUqQS/hNgk2qoPcL0g3DVSbaAVvGv4nzKa62ZZgyNRVxn?= =?us-ascii?Q?TjeXU3vTyK37mi5qUBkKq3ObeIselznu5xxAvniaS/a1Gjn8en3RGv5pLjW4?= =?us-ascii?Q?Hz3Q0vfjTWjfFc1nE3TXimcBjZHYThcqq/Ejb3M2/dM1qYZIgMs57BaMiXhg?= =?us-ascii?Q?FnHobLeugBdAm6mvSqlQdT8/umn7LaRtvQknm4DCQ5Z65gcrdy6qb12b40WF?= =?us-ascii?Q?lP/po4a62gTKj+u+VxeoWoigc4/HLlt2e+HBWBVmHjeGDaKw7nq11t3QnOyM?= =?us-ascii?Q?727AXsprsuKRjxZAqqx1SWhEQStJYAsoNh6mPqN1smrpT8Um0CLiQccI9pqy?= =?us-ascii?Q?5e0e5LC9H2CfmFZw2LshjJXgUkJghQulhqnckm8PsgsIx2CCAx8ARVjFonhK?= =?us-ascii?Q?P/004stoN9NLRXG+iFu/ryaeJExfcn30rqRZsiIDUSrd88lrYdxD65u0cIAE?= =?us-ascii?Q?no88yqMcp3farcnpMdwoDEoGYhGdfngLYfMHseL6yqm61+OxC63kf2oGosla?= =?us-ascii?Q?njc7iM8SGI6giiWrFV9sAFJD/i8q9u9gu+GAWlS7K9xuJXLPEGLS3YEvrURA?= =?us-ascii?Q?CScS3RNV379zR5qDMdXQYgmXED/qdiIkMH0UxvldwsZWfOVYg8ANVt5p6uZe?= =?us-ascii?Q?qlu8P3ynQPKUaRNLPndLPFtL+T/kg+YyxT2kFtDL6E6Hj+/dlWNkob20Chfx?= =?us-ascii?Q?NDRedXp8qm7w1cQV3dJbsv3crb1AqI1?= X-Microsoft-Exchange-Diagnostics-untrusted: 1;BY1PR03MB1404;6:725658HSgA9jsJYCRl8iqYA3z0/0RL2fh7Pg2cBg2unyDVc0WGReyP9Pl2pA2u/wnCX5y5GF1JMsvI/txw3Wi8jy1iEgLQ1uPWCV+QbCDPdYboqmNZewz3Fpv44RAkaBmtZrwj4WQC9JEXv/rl2b1WqTXhcuhU0PTlDbC4XRprUcnx9uyMcZiu9wi1xGAeXf9GUyC2IUKFsiShHPhlNt72cLM3URwxVCsZZL+Yu5of9thuYEwWMWjf9ECAVPckEmf/K0pFCzI4wdevP4XFq4pIHLWUiCiudWorRFK7cTcZSt+nUUFnD71Jv9wV9cnpMw8I5prVY+nLBTvG9ho32az57Njv3Mw/0WTGB55SOr3jI=;5:vd+xZoZD6j4TQibaVqiIF3MAC5TnjTEz9vmzLrNwxn/2xMGfNqSvR19dGQoOHUi4PYFHwZDu8bu+IB8kasuLTqqKK4FI+Pn3+uI1034ko6cLTV3oIskkvhMF5PD+SqZ0POm9enhvhVfQ0s5aTtLf1g==;24:4p9ZF/ZWNKa7V+jrKvJGRURORNkGlBFmJBV0KIn4cSfyutkDW15gG+a1MWzS78Z9mqYViMnVmsjUHQ1XGK3zVtKwsmYKg5YHplRYF3wELXU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics-untrusted: 1;BY1PR03MB1404;7:4yCTq1Ys9I3z623ohidP8wZh3jSQjjB+P9RVfNR8oRJTlqdEuFDtPvw6cZt7+24zmnEm82zWL9Lc/LmlLyRHQoqDRn2AoP+TzGu3A06jYVF9ILI5/ZdR4XjIW4IS2qicoCTKegC+iZCk4jmzV0PWlnCDtj7Vhkxi5CtEDdqlC39OHj5b2r0u+rUpQahPDfJANcbqxgXZ0cxEaf4h4SuK+CT8aG0Z6AJoafFEOx0U5n4vKCehklWs3sm893y5KT74MLQv4xXH7XzxUUqbTnto04k41rFICbpa3sPw76hxzzW04rVcGXnxTeEj9zPcRwyE81jYA8j17f5ZhTR/Bwq28iLQFi4HKCHvVdP3tv+zx3M= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR03MB1404 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:66.35.236.236;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(7916002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(6070500001)(11100500001)(2876002)(19580405001)(81166006)(48376002)(626004)(85426001)(336002)(77096005)(305945005)(4326007)(3846002)(6116002)(87936001)(586003)(7736002)(356003)(86362001)(4720700003)(4001430100002)(92566002)(7846002)(229853001)(42882006)(68736007)(86152002)(8676002)(50466002)(6666003)(19580395003)(50226002)(105606002)(5001770100001)(97736004)(5003940100001)(5660300001)(106466001)(3720700001)(8936002)(189998001)(107886002)(2906002)(33646002)(2201001)(956001)(81156014)(66066001)(47776003)(50986999)(7099028);DIR:OUT;SFP:1101;SCL:1;SRVR:SN2PR03MB2304;H:sj-itexedge04.altera.priv.altera.com;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;A:0;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11OLC014;1:vO/vmaKeHvOYBM5q2aMEKk+NScHfusCjc4TaxcW7cr/9XX4+5KoEKLIrDfdJ4SlAfFGNgz8XlLAM1z0AWyhcQgKUPNzz0CxUjIb/HcUZN0S9B2q/l59ARZnUh/sCkfNZbfaWv2ERcAFxzb66SQZaLsyXC4HWw1eoiPyMQCbuDb811kIPLkdxt+LQ1ETuzqWfO8CMASa2uWcXuLY/c6OsGO/Xmvpe3APZ0KDwCsR/sI5lszcqRRAq6k96EI83Vvn6hpDFP+MJw35TNJn2o3KdAphGUO4eljSI+fetiNg9g3j7qUnhrSdPnBcIBw6rxfx1zuw30XxjZuUBANr0aiXB4cR6I1XZUxyFLTtfc9UNBOU42wDOqYEREGs5c7rEbTriRIRMgfVrgNcgr8i1M0U3EPNOxrPVkBcmJ8tHKaw+eexFhn6nq2V7MOSblLh/onZoAQSyCVB5GaNBVUDg8CnIu+mPHprRf5X5XcZMsoiqPfcCSwzr3jxqL7V6W2XWhR99CWCEqZNv7wHf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DkimResult-Test: Failed X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(3002016);SRVR:SN2PR03MB2304; X-Microsoft-Exchange-Diagnostics: 1;SN2PR03MB2304;31:3/Sz01ngFyN4830lMNOEcInthCkGDU1Zbu0L0bo2n+dD10XLKgTFIPu2o5uePdem1dowMDZPpI4cqbkVbegzmOC4RP8Xv2Wu0sss+57fAHn/dv7ezlXZl5/5l9pUDQIGCV0v8kQ660SA0JTXkGdXO7nTVFEMtTyZ1ahY+8mEz5xlCyk8zIL5fCOazEkMuNxKhMK8nPw9BKw+ko1+WEBIxRzJ+GYFvyJwhqpcPZOhaa3bG2V0fb5jDtaac0arKr8okeXsMaR1CatFONYEPAa6vZgk0tYX00b41wEEoEEowKg=;20:lZZNmPQeMiWuYTS5yhg9opoAQyZeRAGGeS55BjYmNzteRJpEjM+RjnQMrqupnJ4B6tGJQotfKd0CzVjrDHE+YACuukx1MttTX4X0WOC4ec73uRNL45stRAM9lNeZ4FW1q/UMiZTTqhC9CNGzgSwJrKkgROAmbBbwgonQOUvwlo8= X-Microsoft-Exchange-Diagnostics: 1;SN2PR03MB2304;4:EQAcFHbocTxpFETmo2FSocr6C/eFA9VT35EqPpew/UShiOJ5SGwTUcj7XkstnWL1UKEiIkpapB9S+RpYUB9eixgSlBTJSVQwYN2f51jAW9efoMoa94W+rnAf9CDkiQgU5KLUHZz3gLwLYYGuCXW/52zpIqbrwvx64AMUBvBUEzCFl8iEJhMaQhMC7g6WhWxWT94Zo7n4y7dBmszCfctE1Rzs3mAWAqMvPPaOvmAZxlX+YTONjm+7JxPn/MxS85hfwtBynBYvh/cBMbrfRt2M/uuqSQRS5oR8MmxynOJIclZw3QBw+Sf6K9fvvWxCbz+FCUs8WB0knUoAudzkSyRz85H5vkxX/b8ojzRFr0zHfO9/+3tCmUn3LuyL7a1AL70l82kd5jJOYL7gojkI9YgTpvdTRnbjZKY9+QC69xPSyqMhvj3Cd3mDBcceimVYpSluR8i0Gv9GuXCHNk3eI2BzXs/qeNEfECNODwBJvf//Bav2iHwY5WQig34dFBuBJDOr17iahHms7FpPdH98Le4CT2/qfv3qpxRTMHkXzlqMg/M= X-Forefront-PRVS: 0100732B76 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;SN2PR03MB2304;23:VBXKbIbQn1eUkC99zX5AxNlQsmUp6frOo8yQ5RCGL?= =?us-ascii?Q?UR998K/bVl4rmJniNTOsOyKifMmdsR8QXoVACPZuKrdac+t0k0XypoiBjjvO?= =?us-ascii?Q?bKBmnj3BQ0whFNNd9QEFzL+21B57Yaqy8hK5o0mWZBCZFhNEst4PPrz4GReQ?= =?us-ascii?Q?4tgqUMNHn8Yto8crX+p8kXNxmdj3ocA4ohG0pz83A7SArQYQmtRznHJ5DyyK?= =?us-ascii?Q?e4w7nnqDLqKq5OcSljk9I+W+4xW3zuMEVMMNgpSgtsiTfYDIauvc5gEsdcD/?= =?us-ascii?Q?GuRV/y1wqnTzBgUFC0rIwXGHfMCRzaex54aTsgBj9+eWX1xJnkkLgpx/oU4g?= =?us-ascii?Q?7E6VSAoSvD7+N4+oGjd5fPRrgEX3xmd/1R9M8Zzn9Dr+F1TyRAb+93iiqG8A?= =?us-ascii?Q?Vbt13mC5uJU+iAWfmIjoCJgXi9S47YYtYtm2botRvsVTQsBZfTjysIGs7SYQ?= =?us-ascii?Q?lHZKJdOBs1wAfM+uTi2PyVmMibNvE3ioUW2DQ3DynPdBtq1hkGKxcx79bsLy?= =?us-ascii?Q?76WT/IpGQU3esUCspvlG1P8KlKJdljb8jPsnSxPLB/xDzFQXEduNKEqSSfgy?= =?us-ascii?Q?TN1Yi0ze9+IJdNqo9DVFuGqKMXuvsCA6uenoY583B0/4P9+N0xi2UlvnHC8R?= =?us-ascii?Q?EiyjmIE3rbAb4eV4CPZLBYOWcQNTQomsBdBECs8TlV1Sozi4nUfcgkQq3rzW?= =?us-ascii?Q?5altnCsd2FzpBF7xHpHUvNKcOUc5Wru6nHbJPxKDSurVySF5A2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j5/esWVqHTfd7B/NO01A5AAFPlHv5JLdjgdU85k1BDtNiIktIeG/m5i57tkMyKHD8xUd2UqZ2/6BLh8NMEniJ4dzclZ2dhKum4kihWZ7ytzQMU5GUhaATAXp3iIR93pMVq/aEUqY8=;5:FJpRt038d3t+xuPuvku4vYS5ZzkLI7JLP2jcxoAhkdvtV/pTVYlr2q/WqNtgQ6XUgt/fztDjc0J52fsC9F2l/gOnOEdqb3PnZON6VYiU82XTV1aEAQ4G7kUhvGzeEIsYRV9vMWG0HBVhhgZqyM0vOw==;24:6FZ4+hX35ORGH7ZULZYSY0qbK8HICsYGytxZ2bpKyI+cTfFrRQBF/0/wYX46r18tlZO/madpx5lgX4R7J65FaJN2nBm+S+i+1n4v2pFGMv4=;7:Rv7SfMATlIKItD0IF+9cCdpVOTeYJ1tatW71nLLcRRdfgrpVanquDMWlcpV8YZeFez6K1vdeqy3GBT5zWYZrNulIbd1vHnLSfDAP3JsoN0d7W58Z/GHcf9wZGMV2/xavjdgc4r+5C29ac9IvDGIbODa1J99svaamX81Iwqn0foFmu9YBK8+x9oYecfy7F1aKWBIAqnCeI98CacC3oVjEY5LTq7p5rwdpOplmKlzCPq8UdybbCK3uBHk0BbODMMQ3uhEJJOHQn7q4ii1SjNcvTUTRlGZTfV2ICF6xhhssziTdWv3B1r1EFGx+GVHxzFZb X-OriginatorOrg: opensource.altera.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Oct 2016 19:47:43.1910 (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: SN2PR03MB2304 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1205 Lines: 37 From: Thor Thayer Disable IRQs while injecting SDRAM errors. The RT patches exposed a spinlock deadlock where the spinlock taken for the regmap write deadlocked with the IRQ clear regmap write. Error injection is not normally enabled for ECC but only for testing. Signed-off-by: Thor Thayer --- drivers/edac/altera_edac.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/edac/altera_edac.c b/drivers/edac/altera_edac.c index 58d3e2b..6421cc3 100644 --- a/drivers/edac/altera_edac.c +++ b/drivers/edac/altera_edac.c @@ -153,13 +153,17 @@ static ssize_t altr_sdr_mc_err_inject_write(struct file *file, if (count == 3) { edac_printk(KERN_ALERT, EDAC_MC, "Inject Double bit error\n"); + local_irq_disable(); regmap_write(drvdata->mc_vbase, priv->ce_ue_trgr_offset, (read_reg | priv->ue_set_mask)); + local_irq_enable(); } else { edac_printk(KERN_ALERT, EDAC_MC, "Inject Single bit error\n"); + local_irq_disable(); regmap_write(drvdata->mc_vbase, priv->ce_ue_trgr_offset, (read_reg | priv->ce_set_mask)); + local_irq_enable(); } ptemp[0] = 0x5A5A5A5A; -- 1.7.9.5