[PATCH v2] mtd: rawnand: fsl_ifc: return errors for failed page reads
Miquel Raynal
miquel.raynal at bootlin.com
Sun Jul 5 23:24:27 PDT 2026
On Fri, 03 Jul 2026 15:42:33 +0800, Pengpeng Hou wrote:
> fsl_ifc_run_command() logs controller timeout and other non-OPC
> completion states in ctrl->nand_stat. fsl_ifc_read_page() then only
> increments the ECC failure counter for non-OPC status and still returns
> max_bitflips, which can be zero.
>
> Return -ETIMEDOUT when the command did not complete at all and -EIO for
> other non-OPC read completions so the NAND core does not treat a failed
> page read as a clean page.
>
> [...]
Applied to mtd/fixes, thanks!
[1/1] mtd: rawnand: fsl_ifc: return errors for failed page reads
commit: f9a13e05a327080c3a1c8165adf9e678fb68fef2
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-mtd
mailing list