Re: [PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2014-01-09 Thread Artem Bityutskiy
On Thu, 2014-01-09 at 01:35 +, Qi Wang 王起 (qiwang) wrote: > Hi Artem: > Do you have any suggestion for my modification? > Other code I think it is ok. It is taken and pushed out. Thanks! -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-ker

RE: [PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2014-01-08 Thread qiwang
radead.org Subject: RE: [PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted >Please, remember that I pushed your patch to a temporary branch, only >for you to be able to easily pick it. I do not send it upstream. >As I said, I need to you look at it and con

RE: [PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2014-01-05 Thread qiwang
@vger.kernel.org; linux-...@lists.infradead.org Subject: Re: [PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted On Wed, 2014-01-01 at 13:06 +, Qi Wang 王起 (qiwang) wrote: > Hi Artem: > As we talked in mail before, please check my patch as below: Note, because you wro

RE: [PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2014-01-05 Thread qiwang
From: Qi Wang nor_erase_prepare() will be called before erase a NOR flash, it will program '0' into a block to mark this block. But program data into a erasure interrupted block can cause program timtout(several minutes at most) error, could impact other operation on NOR flash. So UBIFS can rea

RE: [PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2014-01-05 Thread qiwang
>Please, remember that I pushed your patch to a temporary branch, only >for you to be able to easily pick it. I do not send it upstream. >As I said, I need to you look at it and confirm that it is all-right. >And if it is not all-right, correct it. >This is because I modified it myself. >So wait

Re: [PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2014-01-02 Thread Artem Bityutskiy
On Fri, 2014-01-03 at 02:31 +, Qi Wang 王起 (qiwang) wrote: > OK, thank you Artem. > > I will change to git send-mail next time. And I will be very careful to push > patch to you next time. > Sorry to bring so much trouble to you as I am first time to push patch to > Linux main trunk.(Maybe it

RE: [PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2014-01-02 Thread qiwang
: avoid program operation on NOR flash after erasure interrupted On Thu, 2014-01-02 at 17:11 +0200, Artem Bityutskiy wrote: > Anyway, I did not respond for long time, so I decided to do all these > modifications myself. Could you please review and test the below patch, > which is also attach

RE: [PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2014-01-02 Thread qiwang
Weinberger [mailto:rich...@nod.at] Sent: Thursday, January 02, 2014 10:58 PM To: Qi Wang 王起 (qiwang) Cc: Richard Weinberger; dedeki...@gmail.com; linux-kernel@vger.kernel.org; linux-...@lists.infradead.org; Adrian Hunter Subject: Re: [PATCH 1/1] MTD: UBI: avoid program operation on NOR flash afte

Re: [PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2014-01-02 Thread Artem Bityutskiy
On Thu, 2014-01-02 at 17:11 +0200, Artem Bityutskiy wrote: > Anyway, I did not respond for long time, so I decided to do all these > modifications myself. Could you please review and test the below patch, > which is also attached. I did not compile it even. If there are issues, > just fix-it up and

Re: [PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2014-01-02 Thread Artem Bityutskiy
On Wed, 2014-01-01 at 13:06 +, Qi Wang 王起 (qiwang) wrote: > Hi Artem: > As we talked in mail before, please check my patch as below: Note, because you wrote the above > From: Qi Wang "git am" will put all the above to the commit message. If you want to change your "From:", it should be in t

Re: [PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2014-01-02 Thread Richard Weinberger
Am Mittwoch, 1. Januar 2014, 13:11:21 schrieb Qi Wang 王起: > If have any questions, please let me know. Did you send the patch again using Outlook? Or are you behind a MS Exchange server? The patch is still malformed. :-( e.g. it is base64 encoded. Can you please try using git send-email? Thank

RE: [PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2014-01-01 Thread qiwang
Hi Richard: I modified the place you mentioned in previous mail, please check it as below: From: Qi Wang nor_erase_prepare() will be called before erase a NOR flash, it will program '0' into a block to mark this block. But program data into a erasure interrupted block can cause program timtout

RE: [PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2013-12-09 Thread qiwang
Hi Artem: As we talked in mail before, please check my patch as below: From: Qi Wang nor_erase_prepare() will be called before erase a NOR flash, it will program '0' into a block to mark this block. But program data into a erasure interrupted block can cause program timtout(several minutes at m