linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 00/12] About the SLC/MLC
@ 2013-09-25  6:58 Huang Shijie
  2013-09-25  6:58 ` [PATCH v4 01/12] mtd: nand: add a helper to check the SLC/MLC nand chip Huang Shijie
                   ` (12 more replies)
  0 siblings, 13 replies; 20+ messages in thread
From: Huang Shijie @ 2013-09-25  6:58 UTC (permalink / raw)
  To: dwmw2; +Cc: Huang Shijie, computersforpeace, linux-mtd, dedekind1

In current mtd code, the MTD_NANDFLASH is used to represent both the
SLC nand MLC(including the TLC). But we already have the MTD_MLCNANDFLASH
to stand for the MLC. What is worse is that the JFFS2 may run on the MLC
nand with current code. For the reason of READ/WRITE disturbance, the JFFS2
should runs on the SLC only,
       
This patch set tries to make clear what is the SLC/MLC by adding the macros,
adding helpers, adding the comments. ..

After this patch set, the gpmi can support the JFFS2 for some SLC NAND now 
(only when the left oob area is big enough).

v3 --> v4:
	[0] rename the cellinfo after introducing the nand_is_slc().
	[1] change the order of the patches.
	[2] add more comment for patch:
            "mtd: nand: fix the wrong mtd->type for nand chip"

v2 --> v3:
	[0] fix the wrong patch for jffs2.
	[1] add more comments to nand_get_bits_per_cell(). 
	[2] others.

v1 --> v2:
	[0] rename the @cellinfo to @bits_per_cell
	[1] abandon the patch: "mtd: add more information for the MTD_NANDFLASH case"
	[2] update the ABI for patch 8
	[3] misc

Huang Shijie (12):
  mtd: nand: add a helper to check the SLC/MLC nand chip
  mtd: nand: rename the cellinfo to bits_per_cell
  mtd: nand: add the "bits per cell" info for legacy ID NAND
  mtd: nand: set the cell information for ONFI nand
  mtd: nand: print out the cell information for nand chip
  mtd: gpmi: rewrite the gpmi_ecc_write_oob() to support the jffs2
  mtd: nand: add more comment for MTD_NANDFLASH/MTD_MLCNANDFLASH
  mtd: nand: add a helper to detect the nand type
  mtd: mtd-abi: add a helper to detect the nand type
  mtd: add MTD_MLCNANDFLASH case for mtd_type_show()
  jffs2: do not support the MLC nand
  mtd: nand: fix the wrong mtd->type for nand chip

 Documentation/ABI/testing/sysfs-class-mtd |    2 +-
 drivers/mtd/inftlcore.c                   |    2 +-
 drivers/mtd/mtdcore.c                     |    3 ++
 drivers/mtd/nand/denali.c                 |    2 +-
 drivers/mtd/nand/gpmi-nand/gpmi-nand.c    |   31 ++++++++++++++------
 drivers/mtd/nand/nand_base.c              |   45 +++++++++++++++++++---------
 drivers/mtd/nftlcore.c                    |    2 +-
 drivers/mtd/ssfdc.c                       |    2 +-
 drivers/mtd/tests/nandbiterrs.c           |    2 +-
 drivers/mtd/tests/oobtest.c               |    2 +-
 drivers/mtd/tests/pagetest.c              |    2 +-
 drivers/mtd/tests/subpagetest.c           |    2 +-
 fs/jffs2/fs.c                             |    4 ++
 include/linux/mtd/mtd.h                   |    5 +++
 include/linux/mtd/nand.h                  |   14 ++++++++-
 include/uapi/mtd/mtd-abi.h                |    9 ++++-
 16 files changed, 92 insertions(+), 37 deletions(-)

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

end of thread, other threads:[~2013-10-08  2:36 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-25  6:58 [PATCH v4 00/12] About the SLC/MLC Huang Shijie
2013-09-25  6:58 ` [PATCH v4 01/12] mtd: nand: add a helper to check the SLC/MLC nand chip Huang Shijie
2013-09-25  6:58 ` [PATCH v4 02/12] mtd: nand: rename the cellinfo to bits_per_cell Huang Shijie
2013-09-30 22:15   ` Brian Norris
2013-09-25  6:58 ` [PATCH v4 03/12] mtd: nand: add the "bits per cell" info for legacy ID NAND Huang Shijie
2013-09-25  6:58 ` [PATCH v4 04/12] mtd: nand: set the cell information for ONFI nand Huang Shijie
2013-09-25  6:58 ` [PATCH v4 05/12] mtd: nand: print out the cell information for nand chip Huang Shijie
2013-09-30 22:49   ` Brian Norris
2013-10-03 14:34     ` Artem Bityutskiy
2013-10-03 15:53       ` Brian Norris
2013-09-25  6:58 ` [PATCH v4 06/12] mtd: gpmi: rewrite the gpmi_ecc_write_oob() to support the jffs2 Huang Shijie
2013-09-30 22:47   ` Brian Norris
2013-09-25  6:58 ` [PATCH v4 07/12] mtd: nand: add more comment for MTD_NANDFLASH/MTD_MLCNANDFLASH Huang Shijie
2013-09-25  6:58 ` [PATCH v4 08/12] mtd: nand: add a helper to detect the nand type Huang Shijie
2013-09-25  6:58 ` [PATCH v4 09/12] mtd: mtd-abi: " Huang Shijie
2013-09-25  6:58 ` [PATCH v4 10/12] mtd: add MTD_MLCNANDFLASH case for mtd_type_show() Huang Shijie
2013-09-25  6:58 ` [PATCH v4 11/12] jffs2: do not support the MLC nand Huang Shijie
2013-09-25  6:58 ` [PATCH v4 12/12] mtd: nand: fix the wrong mtd->type for nand chip Huang Shijie
2013-09-30 23:15 ` [PATCH v4 00/12] About the SLC/MLC Brian Norris
2013-10-08  2:38   ` Huang Shijie

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