linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] mtd: rawnand: Sequential page reads
@ 2023-01-12  9:36 Miquel Raynal
  2023-01-12  9:36 ` [PATCH v2 1/3] mtd: rawnand: Check the data only read pattern only once Miquel Raynal
                   ` (2 more replies)
  0 siblings, 3 replies; 31+ messages in thread
From: Miquel Raynal @ 2023-01-12  9:36 UTC (permalink / raw)
  To: Richard Weinberger, Vignesh Raghavendra, Tudor Ambarus,
	Pratyush Yadav, Michael Walle, linux-mtd
  Cc: Julien Su, Jaime Liao, Alvin Zhou, Thomas Petazzoni,
	Miquel Raynal

Hello, this series is a takeover of Jaime's original support for
sequential cache reads.

When reading sequential pages, the next page can be loaded in cache
without the need for a full new READ operation cycle. We can then
improve throughput a little bit in this case.

In order to support the feature we can split the series into two steps:
* make it possible to check if an operation is possible in advance
* check if sequential page reads (cache reads) are supported and if yes,
  use them on relevant operations rather than regular reads.

Controllers not leveraging the core's helpers might not benefit from
this addition.

Thanks,
Miquèl

Changes in v2:
* Fix a comment added in patch 2 and modified for no reason in patch 3.

Changes in v1:
* Two new patches to speed up the checks and avoid doing them every time
  we need to make a continuous read.
* Rework of Jaime's patch, but the same logic applies, with different
  helpers and variable names.

JaimeLiao (1):
  mtd: rawnand: Support for sequential cache reads

Miquel Raynal (2):
  mtd: rawnand: Check the data only read pattern only once
  mtd: rawnand: Prepare the late addition of supported operation checks

 drivers/mtd/nand/raw/nand_base.c  | 149 +++++++++++++++++++++++++++++-
 drivers/mtd/nand/raw/nand_jedec.c |   3 +-
 drivers/mtd/nand/raw/nand_onfi.c  |   3 +-
 include/linux/mtd/rawnand.h       |  17 ++++
 4 files changed, 164 insertions(+), 8 deletions(-)

-- 
2.34.1


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

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

end of thread, other threads:[~2023-09-22  9:20 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-12  9:36 [PATCH v2 0/3] mtd: rawnand: Sequential page reads Miquel Raynal
2023-01-12  9:36 ` [PATCH v2 1/3] mtd: rawnand: Check the data only read pattern only once Miquel Raynal
2023-01-13 16:37   ` Miquel Raynal
2023-01-12  9:36 ` [PATCH v2 2/3] mtd: rawnand: Prepare the late addition of supported operation checks Miquel Raynal
2023-01-13 16:36   ` Miquel Raynal
2023-01-12  9:36 ` [PATCH v2 3/3] mtd: rawnand: Support for sequential cache reads Miquel Raynal
2023-01-13  8:46   ` liao jaime
2023-01-13 16:36   ` Miquel Raynal
2023-03-03 12:26   ` Zhihao Cheng
2023-06-22 14:59   ` Måns Rullgård
2023-06-22 21:12     ` Miquel Raynal
2023-06-23 11:27       ` Måns Rullgård
2023-06-23 14:07         ` Miquel Raynal
2023-06-26  9:43           ` [EXT] " Bean Huo
2023-07-16 15:49     ` Miquel Raynal
2023-07-16 17:46       ` Måns Rullgård
2023-07-17  7:19         ` Miquel Raynal
2023-07-17 13:11           ` Måns Rullgård
2023-07-17 16:36             ` Miquel Raynal
2023-07-18 14:03               ` Måns Rullgård
2023-07-19  8:21                 ` Miquel Raynal
2023-07-19  9:26                   ` Måns Rullgård
2023-07-19 11:44                     ` Miquel Raynal
2023-07-19 13:15                       ` Måns Rullgård
2023-07-20  6:20                         ` Miquel Raynal
2023-07-20 11:42                           ` Måns Rullgård
2023-07-17  5:33       ` Alexander Shiyan
2023-09-08 12:25   ` Martin Hundebøll
2023-09-12 15:59     ` Miquel Raynal
2023-09-15 11:20       ` Martin Hundebøll
2023-09-22  9:20         ` Miquel Raynal

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