[GIT PULL] mtd: Fixes for 6.6-rc7

Miquel Raynal miquel.raynal at bootlin.com
Fri Oct 20 11:00:39 PDT 2023


Hello Linus,

This is an MTD fixes PR for the next -rc. As discussed during the
previous cycles, I've changed my way of writing the PR text. Let me
know if you want something different.

Thanks,
Miquèl

The following changes since commit 0bb80ecc33a8fb5a682236443c1e740d5c917d1d:

  Linux 6.6-rc1 (2023-09-10 16:28:41 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git tags/mtd/fixes-for-6.6-rc7

for you to fetch changes up to f6ca3fb6978f94d95ee79f95085fc22e71ca17cc:

  mtd: rawnand: Ensure the nand chip supports cached reads (2023-10-16 10:47:22 +0200)

----------------------------------------------------------------
In the raw NAND subsystem, the major fix prevents using cached reads
with devices not supporting it. There was two bug reports about
this. Aside, 3 drivers (pl353, arasan and marvell) could sometimes hide
page program failures due to their their own program page helper not
being fully compliant with the specification (many drivers use the
default helpers shared by the core). Adding a missing check prevents
these situation. Finally, the Qualcomm driver had a broken error path.

In the SPI-NAND subsystem one Micron device used a wrong bitmak
reporting possibly corrupted ECC status.

Finally, the physmap-core got stripped from its map_rom fallback by
mistake, this feature is added back.

----------------------------------------------------------------
Bibek Kumar Patro (1):
      mtd: rawnand: qcom: Unmap the right resource upon probe failure

Geert Uytterhoeven (1):
      mtd: physmap-core: Restore map_rom fallback

Martin Kurbanov (1):
      mtd: spinand: micron: correct bitmask for ecc status

Miquel Raynal (3):
      mtd: rawnand: marvell: Ensure program page operations are successful
      mtd: rawnand: arasan: Ensure program page operations are successful
      mtd: rawnand: pl353: Ensure program page operations are successful

Rouven Czerwinski (1):
      mtd: rawnand: Ensure the nand chip supports cached reads

 drivers/mtd/maps/physmap-core.c               | 11 +++++++++++
 drivers/mtd/nand/raw/arasan-nand-controller.c | 16 ++++++++++++++--
 drivers/mtd/nand/raw/marvell_nand.c           | 23 ++++++++++++++++++++++-
 drivers/mtd/nand/raw/nand_base.c              |  3 +++
 drivers/mtd/nand/raw/nand_jedec.c             |  3 +++
 drivers/mtd/nand/raw/nand_onfi.c              |  3 +++
 drivers/mtd/nand/raw/pl35x-nand-controller.c  |  9 +++++++++
 drivers/mtd/nand/raw/qcom_nandc.c             |  2 +-
 drivers/mtd/nand/spi/micron.c                 |  2 +-
 include/linux/mtd/jedec.h                     |  3 +++
 include/linux/mtd/onfi.h                      |  1 +
 include/linux/mtd/rawnand.h                   |  2 ++
 12 files changed, 73 insertions(+), 5 deletions(-)



More information about the linux-mtd mailing list