[RFC PATCH 0/3] Fix proposal for the Micron shallow erase issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

After a first proposal by Thomas Gleixner and then another proposal by
Bean Huo (Micron), this is an attempt to mainline the fix for Micron's
"shallow erase" issue. IMHO this is a "pretty way", not so invasive,
with a limited performance penalty.

It has only be *compile-tested* and this is just to know if the
approach is fine or not, then I will optimize, maybe rewrite a bit and
forcibly (ask to) test it.

Happy new year!
Miquèl


Miquel Raynal (3):
  mtd: rawnand: Add the nand_chip->erase hook
  mtd: rawnand: Add the nand_chip->write_oob hook
  mtd: rawnand: micron: Address the shallow erase issue

 data_buf                           | 29099 +++++++++++++++++++++++++++
 databuf                            | 29099 +++++++++++++++++++++++++++
 drivers/mtd/nand/raw/internals.h   |     2 +
 drivers/mtd/nand/raw/nand_base.c   |    14 +-
 drivers/mtd/nand/raw/nand_micron.c |   121 +
 include/linux/mtd/rawnand.h        |     6 +
 6 files changed, 58340 insertions(+), 1 deletion(-)
 create mode 100644 data_buf
 create mode 100644 databuf

-- 
2.20.1


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux