public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 0/3] fixups for OOB ECC problems
@ 2011-06-28 23:28 Brian Norris
  2011-06-28 23:28 ` [PATCH 1/3] mtd: nand: ignore ECC errors for simple BBM scans Brian Norris
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Brian Norris @ 2011-06-28 23:28 UTC (permalink / raw)
  To: Artem Bityutskiy
  Cc: Jim Quinlan, David Woodhouse, Brian Norris, linux-mtd,
	Kevin Cernekee

Hello,

Now that we have added the possibility that mtd->read_oob returns
-EUCLEAN or -EBADMSG for corrected bitflips and for uncorrectable errors,
respectively, there are more pieces of code that need to take this into
account. These patches should address some of these by ignoring bitflips
when bit accuracy is not needed or by ignoring corrected errors when
scrubbing would be unnecessary.

There are still other cases to address, for example, some flash-based BBT
code.

This applies on top of l2-mtd-2.6.git. Patch 3 is an amendment to commit
abf386c475beab813dc9b3366e592e00255e987a, ("mtd: nand: handle ECC errors
in OOB"), so it can be squashed in if you want. Let me know if you want
me to do this and do a resend.

Brian

Brian Norris (3):
  mtd: nand: ignore ECC errors for simple BBM scans
  mtd: tests: ignore corrected bitflips in OOB on mtd_readtest
  mtd: edit NAND-related comment

 drivers/mtd/mtdchar.c            |    5 +++--
 drivers/mtd/nand/nand_bbt.c      |   13 ++++++++++---
 drivers/mtd/tests/mtd_readtest.c |    3 ++-
 3 files changed, 15 insertions(+), 6 deletions(-)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-06-29 20:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-28 23:28 [PATCH 0/3] fixups for OOB ECC problems Brian Norris
2011-06-28 23:28 ` [PATCH 1/3] mtd: nand: ignore ECC errors for simple BBM scans Brian Norris
2011-06-29  7:02   ` Artem Bityutskiy
2011-06-28 23:28 ` [PATCH 2/3] mtd: tests: ignore corrected bitflips in OOB on mtd_readtest Brian Norris
2011-06-28 23:29 ` [PATCH 3/3] mtd: edit NAND-related comment Brian Norris
2011-06-29  6:59 ` [PATCH 0/3] fixups for OOB ECC problems Artem Bityutskiy
2011-06-29 20:24   ` Brian Norris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox