linux-stable/include/linux/mtd
Miquel Raynal f813840066 mtd: rawnand: Prevent crossing LUN boundaries during sequential reads
commit bbcd80f53a upstream.

The ONFI specification states that devices do not need to support
sequential reads across LUN boundaries. In order to prevent such event
from happening and possibly failing, let's introduce the concept of
"pause" in the sequential read to handle these cases. The first/last
pages remain the same but any time we cross a LUN boundary we will end
and restart (if relevant) the sequential read operation.

Cc: stable@vger.kernel.org
Fixes: 003fe4b954 ("mtd: rawnand: Support for sequential cache reads")
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Tested-by: Martin Hundebøll <martin@geanix.com>
Link: https://lore.kernel.org/linux-mtd/20231215123208.516590-2-miquel.raynal@bootlin.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-01-31 16:18:50 -08:00
..
bbm.h
blktrans.h mtd: block: use a simple bool to track open for write 2023-06-12 08:04:04 -06:00
cfi.h
cfi_endian.h
concat.h
doc2000.h
flashchip.h
ftl.h
gen_probe.h
hyperbus.h
inftl.h
jedec.h mtd: rawnand: Ensure the nand chip supports cached reads 2023-10-16 10:47:22 +02:00
lpc32xx_mlc.h
lpc32xx_slc.h
map.h
mtd.h mtd: use refcount to prevent corruption 2023-07-12 13:30:08 +02:00
mtdram.h
nand-ecc-mtk.h
nand-ecc-mxic.h
nand-ecc-sw-bch.h
nand-ecc-sw-hamming.h
nand-gpio.h
nand.h
ndfc.h
nftl.h
onenand.h
onenand_regs.h
onfi.h mtd: rawnand: Ensure the nand chip supports cached reads 2023-10-16 10:47:22 +02:00
partitions.h
pfow.h
physmap.h
pismo.h
plat-ram.h
platnand.h
qinfo.h
rawnand.h mtd: rawnand: Prevent crossing LUN boundaries during sequential reads 2024-01-31 16:18:50 -08:00
sh_flctl.h
sharpsl.h
spear_smi.h
spi-nor.h mtd: spi-nor: Stop exporting spi_nor_restore() 2023-04-04 09:43:50 +03:00
spinand.h mtd: spinand: add support for ESMT F50x1G41LB 2023-04-03 18:00:29 +02:00
super.h
ubi.h
xip.h