Re: [PATCH v2] mtd: rawnand: marvell: fix layouts

From: Miquel Raynal
Date: Mon Feb 05 2024 - 10:17:57 EST


Hi Elad,

enachman@xxxxxxxxxxx wrote on Mon, 5 Feb 2024 15:44:35 +0200:

> From: Elad Nachman <enachman@xxxxxxxxxxx>
>
> The check in nand_base.c, nand_scan_tail() : has the following code:
> (ecc->steps * ecc->size != mtd->writesize) which fails for some NAND chips.
> Remove ECC entries in this driver which are not integral multiplications,
> and adjust the number of chunks for entries which fails the above
> calculation so it will calculate correctly (this was previously done
> automatically before the check and was removed in a later commit).

I don't know why linux-mtd does not collect your patches, for this time
I applied it manually to mtd/fixes.

See, linux-mtd lore link is broken, but linux-stable collected
correctly:
https://lore.kernel.org/linux-mtd/20240205134435.2769452-1-enachman@marvellcom/

Thanks,
Miquèl