Re: [PATCH v2 7/9] mtd: spi-nand: macronix: Extract the bitflip retrieval logic

Miquel Raynal
2024-09-06T15:06:58Z

On Mon, 2024-08-26 at 10:14:10 UTC, Miquel Raynal wrote:
> With GET_STATUS commands, SPI-NAND devices can tell the status of the
> last read operation, in particular if there was:
> - no bitflips
> - corrected bitflips
> - uncorrectable bitflips
>
> The next step then to read an ECC status register and retrieve the
> amount of bitflips, when relevant, if possible. The logic used here
> works well for now, but will no longer apply to continuous reads. In
> order to prepare the introduction of continuous reads, let's factorize
> out the code that is specific to single-page reads.
>
> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next.

Miquel