Skip to content

fixups for OOB ECC problems

Brian Norris linux-mtd 1 version Applied

Status from this message: Pushed to l2-mtd-2.6.git, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3mtd: nand: ignore ECC errors for simple BBM scansdrivers/mtd/nand/nand_bbt.c+10 -31 reply
2/3mtd: tests: ignore corrected bitflips in OOB on mtd_readtestdrivers/mtd/tests/mtd_readtest.c+2 -10 replies
3/3mtd: edit NAND-related commentdrivers/mtd/mtdchar.c+3 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] fixups for OOB ECC problems

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(-)