[PATCH] mtd: onenand: samsung: report DMA completion timeouts
Miquel Raynal
miquel.raynal at bootlin.com
Mon Jun 29 08:00:16 PDT 2026
Hi Pengpeng,
On 23/06/2026 at 14:12:33 +08, Pengpeng Hou <pengpeng at iscas.ac.cn> wrote:
> The S5PC110 OneNAND DMA helpers have bounded waits for transfer
> completion. The polling helper falls out of its timeout loop and returns
> success, and the IRQ helper ignores wait_for_completion_timeout().
>
> Return -ETIMEDOUT when the DMA transfer-done bit or completion does not
> arrive before the timeout so callers can treat the buffer transfer as
> failed.
>
> Signed-off-by: Pengpeng Hou <pengpeng at iscas.ac.cn>
There is a list a commits for which you forgot to Cc: stable and more
importantly set a Fixes tag. Please add the missing tags and send a v2
for the following commits:
[PATCH] mtd: rawnand: lpc32xx_mlc: fail DMA transfers on timeout
[PATCH] mtd: rawnand: lpc32xx_slc: fail DMA transfer on completion timeout
[PATCH] mtd: mchp23k256: Use SPI match data for chip caps
[PATCH] mtd: rawnand: fsl_ifc: return errors for failed page reads
[PATCH] mtd: onenand: samsung: report DMA completion timeouts
Thank you,
Miquèl
More information about the linux-mtd
mailing list