Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758390AbcDETAQ (ORCPT ); Tue, 5 Apr 2016 15:00:16 -0400 Received: from mail-bn1on0089.outbound.protection.outlook.com ([157.56.110.89]:30976 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751573AbcDETAN (ORCPT ); Tue, 5 Apr 2016 15:00:13 -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; Date: Tue, 5 Apr 2016 13:37:49 -0500 From: Dinh Nguyen X-X-Sender: dinguyen@linux-builds1 To: Borislav Petkov CC: Thor Thayer , , , , , , , , , , , , , , Subject: Re: [PATCHv2 6/7] ARM: socfpga: Enable Arria10 OCRAM ECC on startup In-Reply-To: <20160405053110.GA17541@pd.tnic> Message-ID: References: <1459450087-24792-1-git-send-email-tthayer@opensource.altera.com> <1459450087-24792-7-git-send-email-tthayer@opensource.altera.com> <57034C4D.9010204@opensource.altera.com> <20160405053110.GA17541@pd.tnic> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [64.129.157.38] X-ClientProxiedBy: CY1PR14CA0001.namprd14.prod.outlook.com (10.163.13.139) To CY1PR03MB1373.namprd03.prod.outlook.com (10.163.16.27) X-MS-Office365-Filtering-Correlation-Id: 64ab0d1c-8bb9-4b8f-f917-08d35d826273 X-Microsoft-Exchange-Diagnostics-untrusted: 1;CY1PR03MB1373;2:zPvw51+uGkZ16lPeErzbcy8/xYeun8sV+t0iR5GE2VSwpDEJ6y9v7z1KmEcS+MXnHUVoU2q6hvPS5OonBTCzvoZZWQ6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YMAePdf1wUSf033eSgXgtr6ZjG3lDy4yBV8GilIxluubW8IvnLKeWDqSLA0BD6FKbWfVY=;4:oX6BXwAF2M7udSKGFFaM+EtWSYN8pVE5qvlrVGbUh2t6leYo0jiG02sGTeaeoVO9atoRx2c5n3m7/ZW5nfDCKCuznk5ovG8NkBUuvfq178J7TkqPbXmvC4tYHehhiGQFye5v8Q2/saI1R6HZs9FDW6INMjW216NY/zwz3Iefa9eV9EYLEYVT9mBshl0H8olhgApNoJuDA89ACkWnT9s93EV84ZeE47mlYXPEImjZgKsGjyY3Bd8U4YmPCzMQtJPAupqtnz0v/CxHFvrYJfvBYTpAByeieMC0dA0ORsfw+RGW6UV3M+ArDzED2IpO7Wc9u70dq1zmuaB3z8QtFVqIWtcRhV+dJCi859tFa4T20DNFEpAZFkrNLpDuGOVg7b0x X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:;UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001);SRVR:CY1PR03MB1373;BCL:0;PCL:0;RULEID:;SRVR:CY1PR03MB1373;BCL:0;PCL:0;RULEID:(601004)(2401047)(13023025)(13018025)(5005006)(13024025)(13017025)(8121501046)(13015025)(10201501046)(3002001);SRVR:BY1PR0301MB1288;BCL:0;PCL:0;RULEID:;SRVR:BY1PR0301MB1288; X-Forefront-PRVS: 0903DD1D85 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(24454002)(4326007)(33716001)(47776003)(189998001)(23726003)(53416004)(42186005)(81166005)(77096005)(93886004)(50986999)(19580405001)(110136002)(2906002)(76176999)(19580395003)(54356999)(5008740100001)(86362001)(1096002)(3846002)(6116002)(586003)(92566002)(5004730100002)(83506001)(4001350100001)(46406003)(66066001)(50466002)(2950100001)(217873001);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR03MB1373;H:linux-builds1.altera.com;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics-untrusted: 1;CY1PR03MB1373;23:nkLn7mBknR320tLBCKYB3HspkExuqYlwjYAF8T6ukdoeHsLtP4qaqAIyWND/kEQPaPhHwhnbOVHlYVqrpKiRv3XWXkxqbFxq6dfUeg1mPjgC7MjxETayHqiB+ITVA/Nl2R4JD0I6fPK1Gp9xyMxz3MEq8dVV1K+wP23D86yWbQJVMt0QCwsP1LpgdkGS7EhF6IEYVd+8MMDBLmvcvgxOwy1hRHCx2EQjBSJvF6ck/Jkg7vXheVOxV1EmJ9npNR+8cmwfNhgzNroijAhitPFsKH3rai00Pdxd6PtPcXI1UcC0y6DDU3WrAwCgtRJ672LG+C9u83xOdLaim5OHY5cpHwuY2aOFP3zwst4wIfppQE81oXvy1svSpk9FVA0fiStuzyzm9a66v1tfDDeJDWm2DHjLUb977Yw/V44bt2aCcXdc8AbsZDBshCihNlcOn8DseVhAWT1yMep22ALtkhn8tBdwW8hDLcCUup0FUrIWLiw0BRQcRArJcWKTh0k0R7Pe5Z/Xz3QsGnDwVj4oflhVpa79C4fpPEM18NDyvvFEVganSpfQp7DuIlWkFRdodyNPsxUz4Kn5FTox+qFzoevEEOQQKF6EsoDRk1b5Bj9T4g2xjsbQERLHEHDEIm1l9rfIIyqwTHjckrWNFMZJgkJJ7pp4PbGDeR/KpyjqW2KIx/Z5BKlVsmO8W9V+vpMJBG5x9XLj/AtI8LmH4s0bohpoj2g5VCEl20A8oQ/yQ4zprYcUI7DMPPJDL5dxTXhWkNtBOLsHm6MITKnoRWhaBmYz/W4iGulT2IUc49X7wF68BBToL58zvZhH/f6AFF16WCZq9EE0PTadUATNIRaakU3dethyqAuzfOkpYk2iffXJszyaHd2mNpAggDwTIs3f4iwSE26gmIxxeXO9Fx/a1m5ZzCuHPxhLos7rMq0XDmEhrRvjg4343BsUTVJkOdtGaudN X-Microsoft-Exchange-Diagnostics-untrusted: 1;CY1PR03MB1373;5:afvEHKlepjWgOZCxYYNnlfjqtJEdqFDJdWvD6uebhVa0n+iJl25qF2TZUyDmXqn5bxo4J6C1mJufUgNWDjzfleoF9NkQMYwy9zmxn6BmEUlsujRzbkpi36JAzAG1KsWTIRht7SB2z01+fd1UYkqB8g==;24:a7TbWWR59IUuNRYZJHUWE+cOHc7KxtKXVudsuo2i+exoKKN4lnAP6VVueqiFgWb+hc6dYAyWUr6pafutIzPBLwpMbtLygZpQFjNmx73lpvw=;20:GkYyqDbdoIaXYrUoEWhuFOGHvP1H3UfoeNtmuNvIZSDA70xoC07iSHo6nMJd//+QX+0JXwXFJEbCRsfGhwciIosLd7y7geOmea/ap2bonRQIA4Kz0jcny8GE0/MRimbM59CO598WCbD+e2eltrjSvo2zLY9Gv/mlq7MI+sKcatg= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR03MB1373 X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: BN1BFFO11FD008.protection.gbl X-Forefront-Antispam-Report: CIP:66.35.236.236;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(2980300002)(1110001)(1109001)(339900001)(189002)(24454002)(199003)(2906002)(5004730100002)(105606002)(77096005)(85426001)(106466001)(4326007)(50466002)(2950100001)(19580395003)(3720700001)(92566002)(19580405001)(4001350100001)(87936001)(86362001)(83506001)(189998001)(110136002)(23726003)(66066001)(6116002)(3846002)(586003)(5008740100001)(50986999)(46406003)(956001)(1096002)(1220700001)(81166005)(53416004)(6806005)(47776003)(33716001)(16796002)(54356999)(21840400001)(76176999)(93886004)(11100500001)(7099028)(217873001);DIR:OUT;SFP:1101;SCL:1;SRVR:BY1PR0301MB1288;H:sj-itexedge04.altera.priv.altera.com;FPR:;SPF:Fail;MLV:sfv;MX:1;A:0;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BN1BFFO11FD008;1:za6fx3VdmkY5Hkt5nXRAl4b69HeBkAmKg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iG4qQ== X-Forefront-PRVS: 0903DD1D85 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BY1PR0301MB1288;23:5zQ+8CRRAxXnxsTz7KpnISMSD9b2/4kErYDcg+3?= =?us-ascii?Q?XyNKchbIzIcRmbODE0uMazo24/VzDuK9xnq49oA4MaIy0/Ot1rSlLileWfEi?= =?us-ascii?Q?fVa8MH5lzAZ15ecFzBjN1Ihv3OzXtamCcIGIvtkKnY0kSzsfmMcbbu5a8Tjg?= =?us-ascii?Q?neiu7mMOooZ9Riodx5stEcFEEw6jeDSWvR8oPfc8DlDcDf8nXzdLsdd3gfVq?= =?us-ascii?Q?/XSvuqVHvvwUi+NeJ0lWia2KpK78nbjHDeFrs+9sZEq1PytTWrLNV5dFA6O+?= =?us-ascii?Q?26nk4h+YBOBPSGemE6IF8S73ZkkdTvPmf9xSDDytATXsrmwWEGJc8Cl4zz3u?= =?us-ascii?Q?5e5ZJy3H9J+ZMZqo+YqqdBZAFI2KZT7JAJdzdxFJW7HIGtm9Qj/dQfhk01nW?= =?us-ascii?Q?RX1gYrK3dXUtYLOyx9/clO8D28X7SMMbju3NAWV09uMO/Y5AODZ1MV0/TykO?= =?us-ascii?Q?+W1KJXqKdT68IEr3YOt7OHGPjAn9qvrQDIM5vz24NMOdfaiNukcw9EEztINY?= =?us-ascii?Q?xKQsWy4gz7nwwhpuqjjyFqfyeb7IDnLTtho4K1dBJivdAAU2RU+lBgqeD3O6?= =?us-ascii?Q?Q941cLmFAJywyKNREPXhgmZ34f/TS4X+w6DpK6S0OiZSRtlFr1onOH94zidd?= =?us-ascii?Q?QlHuTegSBweXbjdq2h+gS46+NsZlDVuxukCLrt20Oq4dhT67OwGvicwFaC1f?= =?us-ascii?Q?fksrIOKTpccCEUsQcIa2MSgqvoKv+p5X7tRGAk8BUfOFOM2e0aR1MM6w8aKc?= =?us-ascii?Q?JhkhD1P2C5d7uR0Xen2u+el8hob+o+j1BaCq7npp0Q3bmJsJ+akGcR+3w7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ocJjelYop7lv7M= X-OriginatorOrg: opensource.altera.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Apr 2016 18:44:56.3903 (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: BY1PR0301MB1288 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 633 Lines: 23 On Tue, 5 Apr 2016, Borislav Petkov wrote: > On Tue, Apr 05, 2016 at 12:25:33AM -0500, Thor Thayer wrote: > > I realize that I'm not calling iounmap(ecc_block_base) and I'll fix that in > > the next revision with a goto. > > I'm assuming nothing else changes. Because I've applied 1-4 already. > > Yes, no? > > If no, then please send only an updated version of this patch as a reply > to this thread here. > My only suggestion was to change the 3 helper functions(ecc_set_bits, ecc_clear_bits, and ecc_test_bits) should be static inline. So with that change: Acked-by: Dinh Nguyen BR, Dinh