[PATCH] mtd: nand: gpmi: reset BCH earlier, too, to avoid NAND startup problems

Artem Bityutskiy dedekind1 at gmail.com
Wed Dec 12 10:11:43 EST 2012


On Wed, 2012-12-05 at 21:46 +0100, Wolfram Sang wrote:
> It could happen (1 out of 100 times) that NAND did not start up
> correctly after warm rebooting, so the kernel could not find the UBI or
> DMA timed out due to a stalled BCH. When resetting BCH together with
> GPMI, the issue could not be observed anymore (after 10000+ reboots). We
> probably need the consistent state already before sending any command to
> NAND, even when no ECC is needed. I chose to keep the extra reset for
> BCH when changing the flash layout to be on the safe side.
> 
> Signed-off-by: Wolfram Sang <w.sang at pengutronix.de>
> Cc: Huang Shijie <b32955 at freescale.com>
> Cc: Artem Bityutskiy <dedekind1 at gmail.com>
> Cc: David Woodhouse <david.woodhouse at intel.com>
> ---
> 
> Would be really great to have in 3.7. Also a stable-candidate IMO.

Pushed to l2-mtd.git, thanks

If you believe this is suitable for stable, please let me know.

-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20121212/7027aac9/attachment-0001.sig>


More information about the linux-arm-kernel mailing list