Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753774AbbFDO1e (ORCPT ); Thu, 4 Jun 2015 10:27:34 -0400 Received: from mail-by2on0077.outbound.protection.outlook.com ([207.46.100.77]:35072 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753415AbbFDO12 (ORCPT ); Thu, 4 Jun 2015 10:27:28 -0400 Authentication-Results: spf=fail (sender IP is 66.35.236.236) smtp.mailfrom=opensource.altera.com; alien8.de; dkim=none (message not signed) header.d=none; Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=tthayer@opensource.altera.com; From: To: , , , , , , , , , , CC: , , , , , , Subject: [PATCHv2 0/4] Add Altera Arria10 EDAC Support Date: Thu, 4 Jun 2015 09:28:44 -0500 Message-ID: <1433428128-7292-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: SN1PR12CA0039.namprd12.prod.outlook.com (25.162.96.177) To BLUPR03MB423.namprd03.prod.outlook.com (10.141.78.150) X-Microsoft-Exchange-Diagnostics-untrusted: 1;BLUPR03MB423;2:uBPxActCq0uqF1aBRDdXJ17TMNc3yhEEyV3r33XkXqhsn3Sr8PL58o1ZWkZaVTo3;2:t9uPyNiYTab9Lz/rue8Zr6sr44+BTIp0BCJGWvfC82FPPWtJVkvWLoUqOkLFMc6nwByLs4IkdwsIJELcyVeITKWk/s0n1W8P0l3x0u6E2mqy492hU8OOIJh0WgVOi1+kIi3q76wkPktRtj+vUq4V1g==;6:wajr4WYDnSueBZkrECnLL5tsn743cDnb8yc0zkD4u4ezyyBHIE+ZqgaaXY+8H4ocfQZyUcjyJfwxymLf1RppJyilrlj8rlljsPY7lhWTFmKWlrhvezExnMLrPHHeAfU6FLbMjeADhnImQfacZ4vLeg==;3:X0q1ZCeFiHTeBeqxXyEuTLm7Zhn+hI4ZWG2q0nVVmPlDaHaTy2k8G7dST9iF84wqKnYt6lVytdWCSDjkxTOnFfdDbYk9JJj6P3GJKqJvjthbuCPnx84F3GeEoUfYIowndxeYl/1umg6e/p+Fh1tgXLMQS2MzIHIamFyVz0EB1n7JExDCY5nYSFnKAFz5lMUyacu2PVga9Q02MsHhm716qsHWjt6JdTCJSsXu69SYyg8ZT6vFj2jSTi4SDh2676OYRze/0xIrNXUbL8BHWML4tO11RJCh7+367mVPrCfqxq1A93YrUtt+NxSRLRVy/gw0 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB423;UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB229; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:;UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(520003)(5005006)(3002001);SRVR:BLUPR03MB423;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB423;BCL:0;PCL:0;RULEID:(601004)(520003)(5005006)(3002001);SRVR:BLUPR03MB229;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB229; X-Forefront-PRVS: 0597911EE1 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM;SFS:(10009020)(6069001)(6009001)(199003)(189002)(42186005)(101416001)(106356001)(50466002)(5001830100001)(64706001)(47776003)(33646002)(81156007)(4001540100001)(92566002)(122386002)(48376002)(97736004)(5001770100001)(77156002)(62966003)(40100003)(19580395003)(68736005)(50226001)(229853001)(46102003)(86152002)(2201001)(66066001)(5001960100002)(189998001)(50986999)(107886002)(19580405001)(5001860100001)(105586002)(86362001)(87976001)(77096005)(921003)(4001430100001)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:BLUPR03MB423;H:localhost.localdomain;FPR:;SPF:None;PTR:InfoNoRecords;A:0;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics-untrusted: =?us-ascii?Q?1;BLUPR03MB423;9:kRi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?us-ascii?Q?YxqO+5/bJYa/rBS8pC9SBqr1OWtwrq2wg9myPcL/YpFwq3pB8vPhZciAC7wy?= =?us-ascii?Q?/KZ9tyu+/P5Q+JBVqds8MrpylvNlxZ97zInQNtQYHuueuzI7rfZSA4yKEVPm?= =?us-ascii?Q?Exs+fmaNYqg6g9eEHD0nUOUJp0e4yuitKm/b0LJiEKkNEJOFt1c3qy733nfG?= =?us-ascii?Q?yxbDioGcAyzkBcjlQ0a8uT48/20sPU0sjmIBtmppeTU14CuhNzmEApEQ7Au2?= =?us-ascii?Q?Ubllhr/8=3D?= X-Microsoft-Exchange-Diagnostics-untrusted: 1;BLUPR03MB423;3:zrET9dXDKd1Ys75Hp7a53/i9MWAn91pK9XeK6aNOivStb5G7ePTQqMIoGOPlCN036NI9GwmsB6tpkU8AuHjAkK5git5Mth2XlWMDFtLigYWBUQk/m5bEztMNZG62sjp2m/V7yMtUEv+KWwcwoXW6/g==;10:kSgyrP688eyG2WcXyUSvXua0uXhN/4VGvPy7awOp+PrWJVqehICLgkIYag26GoYTgpsMrGZXDtkVud+Si0PWHeFb/GCRDb+Yr0VDqF+lU0g=;6:XHXiFlWTUGm2IqxzdHOxVbGy6dTs0EdB9MICDAmugGkp9OrfjyW4I6LHoWSq833cWmfikq+qeUoAVBBYiX/67sgg4vfX7jx8S+KFdv1yU7v0uoKS0w+XluumN9ELD+n0N8U407+ej7I3t/VXyL/JGg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR03MB423 X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: BY2FFO11OLC007.protection.gbl X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11OLC007;1:rkyfGSREeGw2drmBSNklW3+qtOko55k7hyAmMyG57rAgo02h6vm4doPhtWayOR96k5ituAPo9kMGfoqw/aOk1M463iGlbcTJy8Aujc8S869NHUemPgDaUymCptYrsUcVvdhdUnb32qJWjbZsoGjrSPIWWse7zsQ8Xhzfd/W9N2W9ZOkZVCcANKeis7pBrxkhW1WLDT35JvByeRTMlXeT2sp6nOzc3qnHQ5WXb2R1rljKzNPtGG8Lo1iLoutp1x1dSagyHgGRQYkF509qtQ40Nw== X-Forefront-Antispam-Report: CIP:66.35.236.236;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(339900001)(199003)(189002)(189998001)(85426001)(77096005)(19580395003)(92566002)(5001830100001)(46102003)(97736004)(40100003)(5001860100001)(81156007)(5001770100001)(6070500001)(122386002)(4001540100001)(105606002)(68736005)(50986999)(106466001)(87936001)(77156002)(62966003)(86362001)(49486002)(19580405001)(48376002)(5001960100002)(6806004)(47776003)(66066001)(33646002)(64706001)(107886002)(229853001)(86152002)(50226001)(16796002)(2201001)(50466002)(7099028)(921003)(4001430100001)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:BLUPR03MB229;H:sj-itexedge04.altera.priv.altera.com;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;A:0;MX:3;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BLUPR03MB229;2:wUUGksHsxPyJLXh5ZNIzgLWQP+gh+th7HTaupYMHeMSCZYDNxuNeilSEEDYy0gTG;2:seXNBSrW0WFi+AVA242s2ra/6kOAfjYdhvsqlW2oQUP0ZmkTL2ue9YSoWqgg4wCXfxRangOEwlnBQ7J0biXVDaXvy8M//YigLfJFwbBfVaZAzVnuO9AUm0NzGeDaKVwF0ixazoZu6paxJDQCn1lpEZFtb/F50ZCLiNqJiPfFOBCzpUaRHeYwKHQWtJgIE50KIGKuu+igZS0a4zMQ/auhIYO0RUp6pspSbPyKGl5fUK0=;6:2rFhRoi/nbHGcmiP8Hwf+XlFcG5cSQE4GES8mpf/LpAP1czSYfaa2R5l1BtlheBG05Z3giJE4CgxSB8+1noLGOW06UpxfC95KprHLvJ7eXKbwJUS8piw67SxxXmkp6k2n04685G+E4TyquxmiNOeng==;3:vmpsYtJhzYqkTST7hvwlGHMB3zoqsrgSCcIV4oCmx1+7BUceBYsJiZHNp1NllBS64T0exDz98/tqpmCYfBe/Axgr51ZTwh4pGUNoFN9ibg5523WIOmEFi5kknNdAcSu+xSntv8gXEiOgdHosYmIAikY6N/siCsSYzDVBtd1FNmfqLbq5y+B7M2MWIS6tGtSW4HM65t3VWg1VHtqqXUtS4E282bW3tcKXkCTsUCXa1KqiyL0JeYCYcgBfxlKbrRlwMtxizUo96kG/jQKxYbsisbyVCriNZrYqPH+3vKtik6topOrkZVGYoQDo0eBvnCj6 X-Forefront-PRVS: 0597911EE1 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BLUPR03MB229;9:A0AKwg+oi/GpPLMrqzw+jf5Kq+NO08r05c/mgCeCUN2?= =?us-ascii?Q?9W6QONlkrG08OQKO+GuqgtFg6oId/cmqyPII4r4tC0eYOfWR+X5bAgwD5cst?= =?us-ascii?Q?0owb5GQYNwBsjbXVS48xvjsNEbPsWqZtlMUYUaV1S6xBgLyTSjZUutSIvJXu?= =?us-ascii?Q?i4FCnEmxwC23eZyNV2czZ/XTu5A9DCueIw/72clOI/lvPaSGxyGWa5H0JQe3?= =?us-ascii?Q?OgF3R3yMy3A3kdCGBInIikWGSsZUryz7VsoHuQT7s3e+rYPGof5KjugFdPsZ?= =?us-ascii?Q?Pa0xV5XaIHrZ+UPzPOteefU77YVtx5yvMjltfxE+2nAc2IQMzaIfor91LnJk?= =?us-ascii?Q?tugj3ZA+AHFhhtdo0bIWKe9NWo3Wa5DlWKpiazsHp52E6XjNua2hbqqSHEBr?= =?us-ascii?Q?WvkhMEL3/Oo1yNsnwxvzvLcpk21hE2FHZd0M0o19pvxnN96DjM2g29T6ehvj?= =?us-ascii?Q?VRQf19DNpwtt7GAJ4BGtiQANYLEBpdtAmlQ+nIFaxZDMhFjFN/eWLMDUOlZT?= =?us-ascii?Q?wo+rs2BVerdPUYRaAwyse06hKbi9/F3NnQy+wKsaalTHZ2i/BTxeoW3E7Tz9?= =?us-ascii?Q?DupDBCp8OxW1y0PLXcO2+IXGMkFsxT/Or65PWgdySSJtuORjhhr8kdcLY3Ll?= =?us-ascii?Q?FSvZ5gxNN4v7UTMQNl/hhLXk5/dvY9PiL1agkj9QUK6w5tfcGrlKABQlhnPZ?= =?us-ascii?Q?qyzK1lfOo1kr16gpLuUdjIbxcaYGThYbPIPP3QAS8a1nC2diTRtqkYshGDje?= =?us-ascii?Q?3GelLH3/BREZTpFQSYmMWPYV8q1sSVr1oFNpvKuC+6heGVxufiyzC2pLe1+f?= =?us-ascii?Q?i7AyJLdCLWpJviGlttPjSbKpnj2fmOAOL9+C+fEaSit68BVOEjUfx1efAnb/?= =?us-ascii?Q?ag9GIkI44oTuUB63rNUEYvIWduZGxPG5RaxFt0dbOB7y5a4x8X+nUKTQ9wbg?= =?us-ascii?Q?lbVNbk464N79WbkIWfQ02NeD4q3JCHf22Jybqc81VV7sW26RTjOBYj+c9t8q?= =?us-ascii?Q?u+Fh5kcRK6JLbI5/b78dAS2E3s3j7Sbp7SbVjQKKT8wpSJ19x7I+axFanxnS?= =?us-ascii?Q?dd7qExjzvpykmDiEw6g1VWljc6tJ+jT2XIjTds3vujP82OB6j+t+B0wKd/dT?= =?us-ascii?Q?wUdJb1X35nzw8HLaTeusGnSL58kJk18pez1QASJy0kxLShDMl/MnC7A+EL8j?= =?us-ascii?Q?kqcsLyioIJUUZvJNzRg9YCOQWe5iAxaSHF3HzWo5xr8YBT3dyZ8H5nw=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: 1;BLUPR03MB229;3:z03S47oTX1OBsJLGOqDMirjEKYaYhkGs5RRisGs1r/AHAAr6Op7nxsAEwBoTyNKJYKNkhc7mcokvCsPMJxsJCtVYnP8f6nzG3Qrj2zBiP5NghhM22sMqEjbFMyl+JQlJc0p7H4DWXakB11TW1LYOMA==;10:5id9jGZraqbQvb8UGoQ4OPRIHs/jSKTeFu84FkNkSahtLIy4YavpmjInNrCDCedQG0fMTPsVhwWgRNb2k3q34GchDUUlTeoCYr36jdQJwiU=;6:Lya9yDocfPWxi7Bo2ma27nhEmZGmkFuqUIqZSqni6YcPkoZEKvpqChFxuQrsfYedwYZauvIdHkZ5XbwSZerrXTfXxSC7II/1vamVamPWspnJSjNaKuzK6Svk1ulzaYnfF4ZY907KMKSpJ7EkTJs3Mw== X-OriginatorOrg: opensource.altera.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jun 2015 14:27:23.4605 (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: BLUPR03MB229 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1099 Lines: 27 From: Thor Thayer This series of patches adds support for the Arria10 EDAC. The SDRAM controller and ECC registers are significantly different from the CycloneV/ArriaV but common areas could be abstracted. Thor Thayer (4): edac, altera: Generalize driver to use DT Memory size edac, altera: Refactor EDAC for Altera CycloneV SoC. edac, altera: Addition of Arria10 EDAC arm: socfpga: dts: Arria10 SDRAM EDAC DTS additions. .../bindings/arm/altera/socfpga-sdram-edac.txt | 2 +- arch/arm/boot/dts/socfpga_arria10.dtsi | 11 + drivers/edac/altera_edac.c | 364 ++++++++++++-------- drivers/edac/altera_edac.h | 201 +++++++++++ 4 files changed, 437 insertions(+), 141 deletions(-) create mode 100644 drivers/edac/altera_edac.h -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/