Re: [PATCH] mtd: spinand: set bitflip_threshold to 75% of ECC strength

From: Miquel Raynal
Date: Fri Aug 23 2024 - 13:37:39 EST


On Mon, 2024-08-12 at 01:56:41 UTC, Daniel Golle wrote:
> Reporting an unclean read from SPI-NAND only when the maximum number
> of correctable bitflip errors has been hit seems a bit late.
> UBI LEB scrubbing, which depends on the lower MTD device reporting
> correctable bitflips, then only kicks in when it's almost too late.
>
> Set bitflip_threshold to 75% of the ECC strength, which is also the
> default for raw NAND.
>
> Signed-off-by: Daniel Golle <daniel@xxxxxxxxxxxxxx>
> Reviewed-by: Frieder Schrempf <frieder.schrempf@xxxxxxxxxx>

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

Miquel