[PATCH] mtd: spinand: set bitflip_threshold to 75% of ECC strength
Miquel Raynal
miquel.raynal at bootlin.com
Fri Aug 23 10:35:08 PDT 2024
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 at makrotopia.org>
> Reviewed-by: Frieder Schrempf <frieder.schrempf at kontron.de>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
More information about the linux-mtd
mailing list