linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/6] NAND BBM + BBT updates
@ 2012-01-09 20:23 Brian Norris
  2012-01-09 20:23 ` [PATCH v3 1/6] mtd: nand: add NAND_NO_WRITE_OOB option Brian Norris
                   ` (6 more replies)
  0 siblings, 7 replies; 28+ messages in thread
From: Brian Norris @ 2012-01-09 20:23 UTC (permalink / raw)
  To: linux-mtd
  Cc: Dan Carpenter, Kulikov Vasiliy, Sebastian Andrzej Siewior,
	Nicolas Ferre, Dominik Brodowski, Peter Wippich, Gabor Juhos,
	Guillaume LECERF, Jonas Gorski, Jamie Iles, Ivan Djelic,
	Robert Jarzmik, David Woodhouse, Maxim Levitsky,
	Dmitry Eremin-Solenikov, Kevin Cernekee, Barry Song, Jim Quinlan,
	Andres Salomon, Axel Lin, Anatolij Gustschin, Mike Frysinger,
	Arnd Bergmann, Lei Wen, Sascha Hauer, Artem Bityutskiy,
	Florian Fainelli, Artem Bityutskiy, Adrian Hunter,
	Matthieu CASTET, Kyungmin Park, Shmulik Ladkani, Wolfram Sang,
	Chuanxiao Dong, Joe Perches, Brian Norris, Roman Tereshonkov

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

-- 
1.7.5.4

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

end of thread, other threads:[~2012-01-19  9:59 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-09 20:23 [PATCH v3 0/6] NAND BBM + BBT updates Brian Norris
2012-01-09 20:23 ` [PATCH v3 1/6] mtd: nand: add NAND_NO_WRITE_OOB option Brian Norris
2012-01-09 20:23 ` [PATCH v3 2/6] mtd: nand: write bad block marker by default even with BBT Brian Norris
2012-01-09 20:23 ` [PATCH v3 3/6] mtd: nand: erase block before marking bad Brian Norris
2012-01-13 22:42   ` Artem Bityutskiy
2012-01-13 23:07     ` Brian Norris
2012-01-09 20:23 ` [PATCH v3 4/6] mtd: nand: fix SCAN2NDPAGE check for BBM Brian Norris
2012-01-09 20:23 ` [PATCH v3 5/6] mtd: nand: differentiate 1- vs. 2-byte writes when marking bad blocks Brian Norris
2012-01-09 20:23 ` [PATCH v3 6/6] mtd: nand: correct comment on nand_chip badblockbits Brian Norris
2012-01-10  9:44 ` [PATCH v3 0/6] NAND BBM + BBT updates Sebastian Andrzej Siewior
2012-01-10 18:54   ` Brian Norris
2012-01-11 22:28   ` Artem Bityutskiy
2012-01-12  7:58     ` Shmulik Ladkani
2012-01-13 22:12       ` Artem Bityutskiy
2012-01-16 19:35         ` Shmulik Ladkani
2012-01-12  9:09     ` Sebastian Andrzej Siewior
2012-01-13 22:36       ` Artem Bityutskiy
2012-01-16 20:59         ` Woodhouse, David
2012-01-17  8:23           ` Artem Bityutskiy
2012-01-17  8:27             ` Artem Bityutskiy
2012-01-17 11:19         ` Angus CLARK
2012-01-17 13:06           ` Ivan Djelic
2012-01-18 22:18         ` Brian Norris
2012-01-17 10:22     ` Angus CLARK
2012-01-17 13:33       ` Artem Bityutskiy
2012-01-18 22:04       ` Brian Norris
2012-01-19  9:30         ` Angus CLARK
2012-01-19  9:59           ` Ricard Wanderlof

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).