[PATCH v2] mtd: rawnand: lpc32xx_mlc: fail DMA transfers on timeout
Miquel Raynal
miquel.raynal at bootlin.com
Sun Jul 5 23:24:21 PDT 2026
On Fri, 03 Jul 2026 15:37:59 +0800, Pengpeng Hou wrote:
> lpc32xx_xmit_dma() starts a DMA transfer and waits up to one second
> for its completion, but it ignores the wait result and returns success
> after unmapping the buffer.
>
> A timed out read can therefore return success with incomplete data, and
> a timed out write can continue the NAND operation without proof that the
> DMA payload reached the controller.
>
> [...]
Applied to mtd/fixes, thanks!
[1/1] mtd: rawnand: lpc32xx_mlc: fail DMA transfers on timeout
commit: dbf590b662695b16fbf5917ef129697be4410ea9
Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).
Kind regards,
Miquèl
More information about the linux-arm-kernel
mailing list