Re: [PATCH v2] mtd: rawnand: fsl_ifc: return errors for failed page reads

Miquel Raynal <[email protected]>
Newsgroups org.infradead.lists.linux-mtd,org.kernel.vger.linux-kernel,org.kernel.vger.stable
Message-ID <[email protected]>
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


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.