NAND BBM + BBT updates
Get series with b4
b4 am [email protected]Versions newest first
- v3 Latest6 patches 21 repliesIn review
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | mtd: nand: add NAND_NO_WRITE_OOB optiondrivers/ include/ | +12 | 0 replies | |
| 2/6 | mtd: nand: write bad block marker by default even with BBTdrivers/ | +7 | 0 replies | |
| 3/6 | mtd: nand: erase block before marking baddrivers/ | +10 | 2 replies | |
| 4/6 | mtd: nand: fix SCAN2NDPAGE check for BBMdrivers/ | +23 | 0 replies | |
| 5/6 | mtd: nand: differentiate 1- vs. 2-byte writes when marking bad blocksdrivers/ | +8 | 0 replies | |
| 6/6 | mtd: nand: correct comment on nand_chip badblockbitsinclude/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/6] NAND BBM + BBT updates
This patch series is an update to a previous patch (that has split into a few patches) with a few additional patches at the end. The important segments of this series involve the default steps for marking new bad blocks when using a flash-based BBT. The new default behavior will write to the BBT as well as attempting to write a BBM to the OOB area of the bad block. See the patch descriptions for details.
The first patch, regarding NAND_NO_WRITE_OOB, is a first attempt at satisfying Sebastian's concerns that some systems utilize the entire OOB area for ECC, and so we need an option to prevent writing markers to OOB. My attempt to prevent other OOB writes may be misguided, incomplete, flawed in some other way, or some combination of the three. Please provide constructive criticism.
v3: writing to flash-based BBT and to BBM is still default, but
there is a new option NAND_NO_WRITE_OOB that can prevent writing the BBM as well as prevent all other OOB writes.
Brian Norris (6):
mtd: nand: add NAND_NO_WRITE_OOB option
mtd: nand: write bad block marker by default even with BBT
mtd: nand: erase block before marking bad
mtd: nand: fix SCAN2NDPAGE check for BBM
mtd: nand: differentiate 1- vs. 2-byte writes when marking bad blocks
mtd: nand: correct comment on nand_chip badblockbits
drivers/mtd/nand/nand_base.c | 79 ++++++++++++++++++++++++++++------------- include/linux/mtd/nand.h | 11 +++++- 2 files changed, 63 insertions(+), 27 deletions(-)
Signature · 1 line
1.7.5.4