Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1460880

Re: [Patch v4 3/9] driver/edac/fsl-ddr: Separate FSL DDR EDAC driver from MPC85xx

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From york sun <york.sun@nxp.com>
Newsgroups linux.kernel
Subject Re: [Patch v4 3/9] driver/edac/fsl-ddr: Separate FSL DDR EDAC driver from MPC85xx
Date Fri, 12 Aug 2016 02:50:01 +0200
Message-ID <s58PD-2US-1@gated-at.bofh.it> (permalink)
References <s4KaC-2JP-37@gated-at.bofh.it> <s4Ynf-4pW-17@gated-at.bofh.it> <s4Ynf-4pW-15@gated-at.bofh.it>
X-Original-To Borislav Petkov <bp@alien8.de>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=OGQrTMwVAa1DVlanaLtAti8ypYSG7GBww/I7ZqjUNgQ=; b=U3eG4095UgSLODT1DNGx8pw43fHmRKTfd7bs8A1MKYkQUnbSMX9pNvzNvjQ6sQrlb7VGzXp9TXUewVdcN07Ubc3iykSuVOmaMAVH35g2BHY+Xg/cbzyL/OUH4ce8hTt6hXSDwnir3r8b8aq+7rTWJApbo3ExyYV0t9E5XwW0JXM=
Thread-Topic [Patch v4 3/9] driver/edac/fsl-ddr: Separate FSL DDR EDAC driver from MPC85xx
Thread-Index AQHR89VgMyiQ5lf0M0WZuL07gU8aag==
Reply-To york sun <york.sun@nxp.com>
Accept-Language en-US
Content-Language en-US
Authentication-Results spf=none (sender IP is ) smtp.mailfrom=york.sun@nxp.com;
X-Originating-IP [192.88.158.1]
X-Ms-Office365-Filtering-Correlation-ID 0fd55a1f-bc7f-4694-007f-08d3c223ef7a
X-Microsoft-Exchange-Diagnostics 1;VI1PR0401MB2637;6:iP6Kq2qbIz6aw5snxGNwU5SnCXerFdL76wpPJGr7rSBecLmQtnnTLOCSNVX2XJ/oaRjGZqZ7UwCRM0CnOYi6KU6FeD2Ya7KxL5dgGbSiN98C61JGTkjEjfer1msdO+1g7VA8HmX153z+5N7M9dXfFyc8L81KfpYGayq68qDaP5qSxPZWFcZZT2fO7ql5qRLnnO95dGheoNnx7XnxfuO/seQM5YOd6fawRNqXJqYC8EiLVcibRe8i/ZIgpcuDy3O9BR1LQzORZMlu0bAhTFCw1PJv7gTMi28hFx98+M7iPaV/qpN+T/Q7ZcPRIv9o9dvQWxn9o7qzSlskO1YRNVCuuw==;5:nDefsKhlm2nLDyD5jS4UkfOEOuN/nZA5U+GNV//CccWqgEQHWexSLiXZCicNq1Hd8T3V/AWyqFQXs5axdiHw9uC5lWgFQ0z0/n5/1j2AL7xLXZiVF1bGCCU/I8scSQ8QKYvoXYHvgEMuYLuqtSC1tA==;24:LSOyokglGQhvPTgjKs0oSlSER29SrUlT1A/HlLITXHMuN7s9/nra6MV54zFoCTVqDgRzAw2ulTE1zZDirTNCDTzsJtcFGwhSiGoFhX1NQk0=;7:Ils+qjcv9QM7RWo3q6aPflaqBgXmxZlULi+kH5kP85nDwAWABf+ZtmU4IW3eUeMxbapjmKr6fimaWMR1Y294YQ4HpEQJGOm1E8Kr85Kdwq08VdjX+UBCWo264WfAuX0JLGaBPLk7WSOupP5PLkeLt1XPH/FwUOB4R980icvB9x7KzPanwACp0V9UUSg5sg+gvLIdOjGYyJzgyyHi7XizsA8QiY1OwbX15IPJjPFJRphOku+6GdUcRAMhsFcE9dTa
X-Microsoft-Antispam UriScan:;BCL:0;PCL:0;RULEID:;SRVR:VI1PR0401MB2637;
X-Nips-SMTP-Inbound xFSL-EDGE
X-Microsoft-Antispam-Prvs <VI1PR0401MB2637991329A319483264C45E9A1E0@VI1PR0401MB2637.eurprd04.prod.outlook.com>
X-Exchange-Antispam-Report-Test UriScan:(185117386973197)(788757137089)(84791874153150);
X-Exchange-Antispam-Report-Cfa-Test BCL:0;PCL:0;RULEID:(6040174)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026);SRVR:VI1PR0401MB2637;BCL:0;PCL:0;RULEID:;SRVR:VI1PR0401MB2637;
X-Forefront-Prvs 0031A0FFAF
X-Forefront-Antispam-Report SFV:NSPM;SFS:(10009020)(6009001)(7916002)(24454002)(189002)(199003)(377454003)(54534003)(77096005)(50986999)(7696003)(2900100001)(68736007)(8936002)(9686002)(15975445007)(586003)(3660700001)(7736002)(54356999)(101416001)(110136002)(5002640100001)(43066003)(2906002)(74316002)(7846002)(10400500002)(4326007)(81156014)(53806999)(11100500001)(76176999)(305945005)(33656002)(105586002)(81166006)(8676002)(6116002)(3846002)(102836003)(3280700002)(76576001)(87936001)(86362001)(122556002)(97736004)(189998001)(106356001)(66066001)(19580405001)(106116001)(86152002)(3450700001)(19580395003)(217873001);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR0401MB2637;H:AM4PR0401MB1732.eurprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en;
Received-Spf None (protection.outlook.com: nxp.com does not designate permitted sender hosts)
Spamdiagnosticoutput 1:99
Spamdiagnosticmetadata NSPM
Content-Type text/plain; charset="us-ascii"
Content-Transfer-Encoding 8BIT
MIME-Version 1.0
X-Originatororg nxp.com
X-Ms-Exchange-Crosstenant-Originalarrivaltime 11 Aug 2016 20:13:16.5138 (UTC)
X-Ms-Exchange-Crosstenant-Fromentityheader Hosted
X-Ms-Exchange-Crosstenant-ID 686ea1d3-bc2b-4c6f-a92c-d99c5c301635
X-Ms-Exchange-Transport-Crosstenantheadersstamped VI1PR0401MB2637
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 68
Organization linux.* mail to news gateway
X-Original-Cc "linux-edac@vger.kernel.org" <linux-edac@vger.kernel.org>, "morbidrsa@gmail.com" <morbidrsa@gmail.com>, "oss@buserror.net" <oss@buserror.net>, Stuart Yoder <stuart.yoder@nxp.com>, Doug Thompson <dougthompson@xmission.com>, "mchehab@kernel.org" <mchehab@kernel.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
X-Original-Date Thu, 11 Aug 2016 20:13:16 +0000
X-Original-Message-ID <AM4PR0401MB1732472363EE45A886CCA6BB9A1E0@AM4PR0401MB1732.eurprd04.prod.outlook.com>
X-Original-References <1470779760-16483-1-git-send-email-york.sun@nxp.com> <1470779760-16483-4-git-send-email-york.sun@nxp.com> <20160811133612.GA5801@nazgul.tnic>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1460880

Show key headers only | View raw


On 08/11/2016 06:36 AM, Borislav Petkov wrote:
> On Tue, Aug 09, 2016 at 02:55:40PM -0700, York Sun wrote:
>> The mpc85xx compatible DDR controllers are used on ARM-based SoCs.
>> Separate the DDR part from mpc85xx EDAC driver and prepare to support
>> both architecture.
>>
>> Signed-off-by: York Sun <york.sun@nxp.com>
>>
>> ---
>> Change log
>>   v4: Change comment in file header
>>       Use lower case "fsl_ddr_edac" for EDAC_MOD_STR
>>       Drop exporting probe and remove symbols
>>   v3: Fix compiling errors and warnings caused by patch ordering
>>   v2: Reordered patch
>>       Separate FSL DDR commont code as shared object, not another driver
>>       This patch is generated with "git format-patch -M40 -C40" to show
>>       copy-and-delete.
>
> This patch doesn't apply this way:
>
> $ git apply --check -v < /tmp/03-driver-edac-fsl-ddr-separate_fsl_ddr_edac_driver_from_mpc85xx.patch
> ...
>
> error: patch failed: drivers/edac/mpc85xx_edac.c:724
> error: drivers/edac/mpc85xx_edac.c: patch does not apply
> Checking patch drivers/edac/mpc85xx_edac.h...
>
> $ patch -p1 --dry-run -F10 -i /tmp/03-driver-edac-fsl-ddr-separate_fsl_ddr_edac_driver_from_mpc85xx.patch
> checking file drivers/edac/Makefile
> checking file drivers/edac/fsl_ddr_edac.c (copied from drivers/edac/mpc85xx_edac.c)
> Hunk #3 FAILED at 132.
> Hunk #4 succeeded at 1012 (offset -5 lines).
> Hunk #5 succeeded at 1080 (offset -7 lines).
> Hunk #6 FAILED at 1128.
> Hunk #7 succeeded at 1145 (offset -8 lines).
> Hunk #8 FAILED at 1173.
> 3 out of 8 hunks FAILED
> checking file drivers/edac/fsl_ddr_edac.h (copied from drivers/edac/mpc85xx_edac.h)
> checking file drivers/edac/mpc85xx_edac.c
> Hunk #3 FAILED at 627.
> 1 out of 3 hunks FAILED
> checking file drivers/edac/mpc85xx_edac.h
>
> $ git am -i /tmp/york.sun.03
> Applying: driver/edac/fsl-ddr: Separate FSL DDR EDAC driver from MPC85xx
> error: patch failed: drivers/edac/mpc85xx_edac.c:141
> error: drivers/edac/mpc85xx_edac.c: patch does not apply
> error: patch failed: drivers/edac/mpc85xx_edac.c:724
> error: drivers/edac/mpc85xx_edac.c: patch does not apply
> Patch failed at 0001 driver/edac/fsl-ddr: Separate FSL DDR EDAC driver from MPC85xx
> The copy of the patch that failed is found in: .git/rebase-apply/patch
> When you have resolved this problem, run "git am -i --continue".
> If you prefer to skip this patch, run "git am -i --skip" instead.
> To restore the original branch and stop patching, run "git am -i --abort".
>
> Please regenerate it against:
>
> http://git.kernel.org/cgit/linux/kernel/git/bp/bp.git#edac-for-4.9
>

Boris,

I checked your edac-for-4.9 branch. There are two minor changes when you 
apply the "Replace printk with proper pr_* format". I will send out a 
single "Patch v5 3/9".

York

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [Patch v4 3/9] driver/edac/fsl-ddr: Separate FSL DDR EDAC driver  from MPC85xx Borislav Petkov <bp@alien8.de> - 2016-08-11 15:40 +0200
  Re: [Patch v4 3/9] driver/edac/fsl-ddr: Separate FSL DDR EDAC driver  from MPC85xx york sun <york.sun@nxp.com> - 2016-08-11 18:40 +0200
  Re: [Patch v4 3/9] driver/edac/fsl-ddr: Separate FSL DDR EDAC driver  from MPC85xx york sun <york.sun@nxp.com> - 2016-08-12 02:50 +0200

csiph-web