[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251024001943.29557-1-aryan.srivastava@alliedtelesis.co.nz>
Date: Fri, 24 Oct 2025 13:19:40 +1300
From: Aryan Srivastava <aryan.srivastava@...iedtelesis.co.nz>
To: Miquel Raynal <miquel.raynal@...tlin.com>
Cc: linux-mtd@...ts.infradead.org,
linux-kernel@...r.kernel.org,
Aryan Srivastava <aryan.srivastava@...iedtelesis.co.nz>
Subject: [PATCH v0 0/2] mtd: nand: allow unconventional NAND layouts
Currently validity checks in nand_scan_tail only allow NAND layouts with
evenly sized chunks. This results in controllers which use
unconventional layouts to fail these checks. To pass these checks
the marvell_nand driver would incorrectly read pages (leaving out the
unevenly sized chunk).
Relax this check and remove the change which modifies the layouts
resulting in errounous read/writes.
Aryan Srivastava (2):
Revert "mtd: rawnand: marvell: fix layouts"
mtd: nand: relax ECC parameter validation check
drivers/mtd/nand/raw/marvell_nand.c | 13 ++++++++-----
drivers/mtd/nand/raw/nand_base.c | 13 ++++++++-----
2 files changed, 16 insertions(+), 10 deletions(-)
--
2.51.0
Powered by blists - more mailing lists