linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] drivers: mtd: spi-nand: fix continuous reading mode
@ 2025-08-04 19:21 Mikhail Kshevetskiy
  2025-08-04 19:21 ` [PATCH 1/4] drivers: mtd: spi-nand: fix direct mapping creation sizes Mikhail Kshevetskiy
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Mikhail Kshevetskiy @ 2025-08-04 19:21 UTC (permalink / raw)
  To: Miquel Raynal, Richard Weinberger, Vignesh Raghavendra,
	Lorenzo Bianconi, Ray Liu, Mark Brown, Tudor Ambarus,
	Martin Kurbanov, Takahiro Kuwano, Cheng Ming Lin, linux-mtd,
	linux-kernel, linux-arm-kernel, linux-spi
  Cc: Mikhail Kshevetskiy

Continuous reading mode is broken for some spi-controllers. This may lead
to errors during reading of more than one flash page at once. This patch
series improve continuous mode support and add a fallback to regular
reading method if continuous reading is not supported by spi-controller.

Mikhail Kshevetskiy (4):
  drivers: mtd: spi-nand: fix direct mapping creation sizes.
  drivers: mtd: spi-nand: try a regular dirmap if creating a dirmap for
    continuous reading fails
  drivers: mtd: spi-nand: repeat reading in regular mode if continuous
    reading fails
  drivers: spi: spi-airoha-snfi: return an error for continuous mode
    dirmap creation cases

 drivers/mtd/nand/spi/core.c   | 54 ++++++++++++++++++++++++++++-------
 drivers/spi/spi-airoha-snfi.c |  4 +++
 2 files changed, 48 insertions(+), 10 deletions(-)

-- 
2.47.2


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

end of thread, other threads:[~2025-08-18 12:05 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-04 19:21 [PATCH 0/4] drivers: mtd: spi-nand: fix continuous reading mode Mikhail Kshevetskiy
2025-08-04 19:21 ` [PATCH 1/4] drivers: mtd: spi-nand: fix direct mapping creation sizes Mikhail Kshevetskiy
2025-08-05 15:24   ` Miquel Raynal
2025-08-04 19:21 ` [PATCH 2/4] drivers: mtd: spi-nand: try a regular dirmap if creating a dirmap for continuous reading fails Mikhail Kshevetskiy
2025-08-05 15:30   ` Miquel Raynal
2025-08-05 15:35     ` Mikhail Kshevetskiy
2025-08-06  9:03       ` Miquel Raynal
2025-08-08 21:01         ` [PATCH v2 0/4] mtd: spinand: fix continuous reading mode support Mikhail Kshevetskiy
2025-08-08 21:01           ` [PATCH v2 1/4] mtd: spinand: fix direct mapping creation sizes Mikhail Kshevetskiy
2025-08-08 21:01           ` [PATCH v2 2/4] mtd: spinand: try a regular dirmap if creating a dirmap for continuous reading fails Mikhail Kshevetskiy
2025-08-08 21:01           ` [PATCH v2 3/4] mtd: spinand: repeat reading in regular mode if " Mikhail Kshevetskiy
2025-08-08 21:01           ` [PATCH v2 4/4] spi: spi-airoha-snfi: return an error for continuous mode dirmap creation cases Mikhail Kshevetskiy
2025-08-04 19:21 ` [PATCH 3/4] drivers: mtd: spi-nand: repeat reading in regular mode if continuous reading fails Mikhail Kshevetskiy
2025-08-05 15:36   ` Miquel Raynal
2025-08-18 12:05     ` Mikhail Kshevetskiy
2025-08-04 19:21 ` [PATCH 4/4] drivers: spi: spi-airoha-snfi: return an error for continuous mode dirmap creation cases Mikhail Kshevetskiy

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