android_kernel_motorola_sm6375/drivers/mtd
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Max Krummenacher 10c586da9f Revert "Revert "mtd: rawnand: gpmi: Fix setting busy timeout setting""
This reverts commit 15a3adfe75.

The backport of [1] relies on having [2] also backported. Having only
one of the two results in a bogus hw->timing1 setting.

If only [2] is backportet the 16 bit register value likely underflows
resulting in a busy_wait_timeout of 0.
Or if only [1] is applied the value likely overflows with chances of
having last 16 LSBs all 0 which would then result in a
busy_wait_timeout of 0 too.

Both cases may lead to NAND data corruption, e.g. on a Colibri iMX7
setup this has been seen.

[1] commit 0fddf9ad06fd ("mtd: rawnand: gpmi: Set WAIT_FOR_READY timeout based on program/erase times")
[2] commit 06781a5026350 ("mtd: rawnand: gpmi: Fix setting busy timeout setting")

Signed-off-by: Max Krummenacher <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-02-23 08:25:15 +01:00
..
chips mtd: cfi_cmdset_0001: Byte swap OTP info 2023-12-08 08:44:27 +01:00
devices mtd: devices: docg3: check the return value of devm_ioremap() in the probe 2022-10-26 13:22:37 +02:00
hyperbus
lpddr mtd: lpddr2_nvm: Fix possible null-ptr-deref 2023-01-18 11:41:03 +01:00
maps mtd: physmap-core: Restore map_rom fallback 2023-10-25 11:53:24 +02:00
nand Revert "Revert "mtd: rawnand: gpmi: Fix setting busy timeout setting"" 2024-02-23 08:25:15 +01:00
parsers treewide: Remove uninitialized_var() usage 2023-06-09 10:29:01 +02:00
spi-nor spi: cadence-quadspi: fix suspend-resume implementations 2023-05-17 11:35:48 +02:00
tests
ubi ubi: Refuse attaching if mtd's erasesize is 0 2023-10-10 21:46:43 +02:00
ftl.c
inftlcore.c
inftlmount.c
Kconfig
Makefile
mtd_blkdevs.c mtd: Fix gluebi NULL pointer dereference caused by ftl notifier 2024-01-25 14:34:23 -08:00
mtdblock.c mtdblock: tolerate corrected bit-flips 2023-04-20 12:07:35 +02:00
mtdblock_ro.c
mtdchar.c
mtdconcat.c
mtdcore.c mtd: Fix device name leak when register device failed in add_mtd_device() 2023-01-18 11:41:02 +01:00
mtdcore.h
mtdoops.c
mtdpart.c
mtdsuper.c
mtdswap.c
nftlcore.c
nftlmount.c
rfd_ftl.c
sm_ftl.c mtd: sm_ftl: Fix deadlock caused by cancel_work_sync in sm_release 2022-08-25 11:17:51 +02:00
sm_ftl.h
ssfdc.c