[PATCH] cfi: Fixup of write errors on XIP

Alexey, Korolev alexey.korolev at intel.com
Wed Mar 1 12:48:20 EST 2006


Hi all.

Several days ago I sent this patch to the list. I wonder has anybody 
complains about it?
I my opinion the patch shouldn't break anything. It just fixes up write 
errors I saw in our tests.
If you don't mind I will commit it.

Thanks,
Alexey

>  
> Here is fixup of issue I have seen on XIP configuration.
> Sometimes I received write errors with message "buffer write error
> (status timeout)" on test  which did read write and erase on several
> volumes at the same time.
>  
> I investigated the issue.
> The scenario of the issue is following:
>  
> 1. do_write_buffer
> 2. Waiting for write complete in xip_udelay
> 3. System Interrupt
> 4. Write suspend
> 5. Rescheduling
> 6. Block erasing by other process. ( This operation typically took
> rather long time )
> 7. Complete, rescheduling
> 8. Return to write (write is not complete due to suspend ).
> 9. Check timeout. Time is up.
> 10. Error.
>  
> I made small fixup for these issue. Please see patch below.
>

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: XIP_wr_errors_fixup.diff
Url: http://lists.infradead.org/pipermail/linux-mtd/attachments/20060301/a5d7b8f9/attachment.pl 


More information about the linux-mtd mailing list