linux_dsm_epyc7002/drivers/mtd/nand/raw
Miquel Raynal f068980285 mtd: rawnand: micron: Adapt the PAGE READ flow to constraint controllers
There are controllers not able to just read data cycles on the
bus. There are controllers not able to do a change column.

If we want to support both, we need to check which operation is
supported first. This is the exact same mechanism that is in use for
parameter page reads (ONFI/JEDEC) as the same problem occurs.

Speed testing does not show any throughput penalty so we do not
optimize more than that. However it is likely that, in the future, a
more robust and exhaustive test will run at boot time to avoid
re-checking what is supported and what is not at every call.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://lore.kernel.org/linux-mtd/20200519130834.2918-1-miquel.raynal@bootlin.com
2020-05-24 20:48:11 +02:00
..
atmel mtd: rawnand: Rename a NAND chip option 2020-05-11 09:51:42 +02:00
bcm47xxnflash
brcmnand mtd: rawnand: brcmnand: correctly verify erased pages 2020-05-24 20:39:39 +02:00
gpmi-nand mtd: rawnand: Take check_only into account 2020-05-10 21:16:01 +02:00
ingenic mtd: rawnand: ingenic: Make qi_lb60_ooblayout_ops static 2020-05-10 21:15:54 +02:00
ams-delta.c mtd: rawnand: ams-delta: Rename structures and functions to gpio_nand* 2020-03-11 16:17:53 +01:00
au1550nd.c mtd: rawnand: au1550nd: Patch the read/write buf helper prototypes 2020-05-11 09:51:39 +02:00
cadence-nand-controller.c mtd: rawnand: Take check_only into account 2020-05-10 21:16:01 +02:00
cafe_nand.c mtd: rawnand: cafe: Set the NAND_NO_BBM_QUIRK flag 2020-05-11 09:51:43 +02:00
cs553x_nand.c mtd: rawnand: cs553x: Get rid of the legacy interface implementation 2020-05-11 09:51:41 +02:00
davinci_nand.c mtd: rawnand: davinci: Get rid of the legacy interface implementation 2020-05-24 20:39:48 +02:00
denali_dt.c mtd: rawnand: denali_dt: add reset controlling 2020-01-21 20:00:33 +01:00
denali_pci.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
denali.c mtd: rawnand: Rename a NAND chip option 2020-05-11 09:51:42 +02:00
denali.h mtd: rawnand: Replace zero-length array with flexible-array member 2020-03-11 16:17:54 +01:00
diskonchip.c mtd: rawnand: diskonchip: Get rid of the legacy interface implementation 2020-05-11 09:51:44 +02:00
fsl_elbc_nand.c mtd: Convert fallthrough comments into statements 2020-03-30 10:14:54 +02:00
fsl_ifc_nand.c
fsl_upm.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
fsmc_nand.c mtd: rawnand: Give the possibility to verify a read operation is supported 2020-05-11 09:51:42 +02:00
gpio.c
hisi504_nand.c mtd: Remove dev_err() usage after platform_get_irq() 2019-10-08 19:01:49 +02:00
internals.h mtd: rawnand: Add a helper to check supported operations 2020-05-11 09:51:42 +02:00
Kconfig mtd: rawnand: Remove the cmx270 NAND controller driver 2020-05-24 20:39:53 +02:00
lpc32xx_mlc.c mtd: Remove dev_err() usage after platform_get_irq() 2019-10-08 19:01:49 +02:00
lpc32xx_slc.c
Makefile mtd: rawnand: Remove the cmx270 NAND controller driver 2020-05-24 20:39:53 +02:00
marvell_nand.c mtd: rawnand: Give the possibility to verify a read operation is supported 2020-05-11 09:51:42 +02:00
meson_nand.c mtd: rawnand: Rename a NAND chip option 2020-05-11 09:51:42 +02:00
mpc5121_nfc.c mtd: rawnand: mpc5121: Remove unneeded semicolon 2020-01-21 20:00:16 +01:00
mtk_ecc.c mtd: Remove dev_err() usage after platform_get_irq() 2019-10-08 19:01:49 +02:00
mtk_ecc.h mtd: rawnand: mtk: Re-license MTK NAND driver as Dual MIT/GPL 2019-06-27 20:07:46 +02:00
mtk_nand.c mtd: rawnand: Rename a NAND chip option 2020-05-11 09:51:42 +02:00
mxc_nand.c
mxic_nand.c mtd: rawnand: Take check_only into account 2020-05-10 21:16:01 +02:00
nand_amd.c
nand_base.c mtd: rawnand: Fix nand_gpio_waitrdy() 2020-05-24 20:39:50 +02:00
nand_bbt.c mtd: rawnand: Fix a memory leak bug 2019-08-24 13:13:41 +02:00
nand_bch.c mtd: rawnand: Use kzalloc() instead of kmalloc() and memset() 2019-06-28 12:00:46 +02:00
nand_ecc.c docs: mtd: move it to the driver-api book 2019-07-15 09:20:28 -03:00
nand_esmt.c
nand_hynix.c mtd: rawnand: Replace zero-length array with flexible-array member 2020-03-11 16:17:54 +01:00
nand_ids.c
nand_jedec.c mtd: rawnand: jedec: Adapt the parameter page read to constraint controllers 2020-05-11 09:51:43 +02:00
nand_legacy.c mtd: rawnand: Give the possibility to verify a read operation is supported 2020-05-11 09:51:42 +02:00
nand_macronix.c mtd: rawnand: macronix: Add support for deep power down mode 2020-03-24 22:51:01 +01:00
nand_micron.c mtd: rawnand: micron: Adapt the PAGE READ flow to constraint controllers 2020-05-24 20:48:11 +02:00
nand_onfi.c mtd: rawnand: onfi: Adapt the parameter page read to constraint controllers 2020-05-11 09:51:43 +02:00
nand_samsung.c
nand_timings.c mtd: rawnand: timings: Fix default tR_max and tCCS_min timings 2020-05-11 09:51:40 +02:00
nand_toshiba.c mtd: rawnand: toshiba: Set the pairing scheme for TC58TEG5DCLTA00 2020-05-11 09:51:41 +02:00
nandsim.c mtd: rawnand: Take check_only into account 2020-05-10 21:16:01 +02:00
ndfc.c
omap2.c mtd: Remove dev_err() usage after platform_get_irq() 2019-10-08 19:01:49 +02:00
omap_elm.c mtd: Convert fallthrough comments into statements 2020-03-30 10:14:54 +02:00
orion_nand.c
oxnas_nand.c mtd: rawnand: oxnas: Add of_node_put() 2019-07-25 14:21:44 +02:00
pasemi_nand.c
plat_nand.c
qcom_nandc.c mtd: rawnand: Rename a NAND chip option 2020-05-11 09:51:42 +02:00
r852.c mtd: rawnand: r852: Use dev_get_drvdata 2019-08-07 18:15:38 +02:00
r852.h
s3c2410.c
sh_flctl.c mtd: Remove dev_err() usage after platform_get_irq() 2019-10-08 19:01:49 +02:00
sharpsl.c
sm_common.c
sm_common.h
socrates_nand.c
stm32_fmc2_nand.c mtd: rawnand: stm32_fmc2: use FIELD_PREP/FIELD_GET macros 2020-05-24 20:29:26 +02:00
sunxi_nand.c mtd: rawnand: Rename a NAND chip option 2020-05-11 09:51:42 +02:00
tango_nand.c mtd: rawnand: Rename a NAND chip option 2020-05-11 09:51:42 +02:00
tegra_nand.c mtd: rawnand: Rename a NAND chip option 2020-05-11 09:51:42 +02:00
tmio_nand.c
txx9ndfmc.c
vf610_nfc.c mtd: rawnand: Take check_only into account 2020-05-10 21:16:01 +02:00
xway_nand.c