[PATCH v2] mtd: rawnand: arasan: Prevent an unsupported configuration

Miquel Raynal miquel.raynal at bootlin.com
Fri Oct 15 03:31:40 PDT 2021


On Fri, 2021-10-08 at 16:36:40 UTC, Miquel Raynal wrote:
> Under the following conditions:
> * after rounding up by 4 the number of bytes to transfer (this is
>   related to the controller's internal constraints),
> * if this (rounded) amount of data is situated beyond the end of the
>   device,
> * and only in NV-DDR mode,
> the Arasan NAND controller timeouts.
> 
> This currently can happen in a particular helper used when picking
> software ECC algorithms. Let's prevent this situation by refusing to use
> the NV-DDR interface with software engines.
> 
> Fixes: 4edde6031458 ("mtd: rawnand: arasan: Support NV-DDR interface")
> Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>

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

Miquel



More information about the linux-mtd mailing list