Thread (2 messages) 2 messages, 2 authors, 2d ago

Re: [PATCH v2] mtd: rawnand: lpc32xx_mlc: fail DMA transfers on timeout

From: Miquel Raynal <miquel.raynal@bootlin.com>
Date: 2026-07-06 06:24:38
Also in: lkml, stable

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help