[PATCH v2 0/3] mtd: rawnand: Sequential page reads
Miquel Raynal
miquel.raynal at bootlin.com
Thu Jan 12 01:36:34 PST 2023
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
More information about the linux-mtd
mailing list