All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfram Sang <w.sang@pengutronix.de>
To: Artem Bityutskiy <dedekind1@gmail.com>
Cc: Huang Shijie <b32955@freescale.com>,
	linux-mtd@lists.infradead.org,
	David Woodhouse <david.woodhouse@intel.com>,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] mtd: nand: gpmi: reset BCH earlier, too, to avoid NAND startup problems
Date: Wed, 12 Dec 2012 17:01:08 +0100	[thread overview]
Message-ID: <20121212160108.GA2607@pengutronix.de> (raw)
In-Reply-To: <1355325103.3400.2.camel@sauron.fi.intel.com>

[-- Attachment #1: Type: text/plain, Size: 1230 bytes --]

On Wed, Dec 12, 2012 at 05:11:43PM +0200, Artem Bityutskiy wrote:
> 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@pengutronix.de>
> > Cc: Huang Shijie <b32955@freescale.com>
> > Cc: Artem Bityutskiy <dedekind1@gmail.com>
> > Cc: David Woodhouse <david.woodhouse@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.

I strongly believe that.

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: w.sang@pengutronix.de (Wolfram Sang)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] mtd: nand: gpmi: reset BCH earlier, too, to avoid NAND startup problems
Date: Wed, 12 Dec 2012 17:01:08 +0100	[thread overview]
Message-ID: <20121212160108.GA2607@pengutronix.de> (raw)
In-Reply-To: <1355325103.3400.2.camel@sauron.fi.intel.com>

On Wed, Dec 12, 2012 at 05:11:43PM +0200, Artem Bityutskiy wrote:
> 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@pengutronix.de>
> > Cc: Huang Shijie <b32955@freescale.com>
> > Cc: Artem Bityutskiy <dedekind1@gmail.com>
> > Cc: David Woodhouse <david.woodhouse@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.

I strongly believe that.

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20121212/ca33f9a1/attachment.sig>

  reply	other threads:[~2012-12-12 16:01 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-05 20:46 [PATCH] mtd: nand: gpmi: reset BCH earlier, too, to avoid NAND startup problems Wolfram Sang
2012-12-05 20:46 ` Wolfram Sang
2012-12-06  2:16 ` Huang Shijie
2012-12-06  2:16   ` Huang Shijie
2012-12-06  9:52   ` Wolfram Sang
2012-12-06  9:52     ` Wolfram Sang
2012-12-06 14:58     ` Huang Shijie
2012-12-06 14:58       ` Huang Shijie
2012-12-06 16:58       ` Wolfram Sang
2012-12-06 16:58         ` Wolfram Sang
2012-12-11  2:01     ` Huang Shijie
2012-12-11  2:01       ` Huang Shijie
2012-12-12 15:11 ` Artem Bityutskiy
2012-12-12 15:11   ` Artem Bityutskiy
2012-12-12 16:01   ` Wolfram Sang [this message]
2012-12-12 16:01     ` Wolfram Sang
2012-12-13 11:41     ` Artem Bityutskiy
2012-12-13 11:41       ` Artem Bityutskiy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121212160108.GA2607@pengutronix.de \
    --to=w.sang@pengutronix.de \
    --cc=b32955@freescale.com \
    --cc=david.woodhouse@intel.com \
    --cc=dedekind1@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.