[PATCH 0/3] mtd: rawnand: Sequential page reads

Miquel Raynal miquel.raynal at bootlin.com
Thu Jan 5 09:03:30 PST 2023


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

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




More information about the linux-mtd mailing list