[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20210715230836.222817-1-miquel.raynal@bootlin.com>
Date: Fri, 16 Jul 2021 01:08:36 +0200
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Stefan Riedmueller <s.riedmueller@...tec.de>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Vignesh Raghavendra <vigneshr@...com>
Cc: linux-mtd@...ts.infradead.org, Richard Weinberger <richard@....at>,
Mauro Carvalho Chehab <mchehab+huawei@...nel.org>,
Kieran Bingham <kieran.bingham+renesas@...asonboard.com>,
Fabio Estevam <festevam@...il.com>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Sascha Hauer <s.hauer@...gutronix.de>,
Boris Brezillon <boris.brezillon@...labora.com>,
Dan Brown <dan_brown@...e.org>,
David Woodhouse <dwmw2@...radead.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mtd: rawnand: nand_bbt: Skip bad blocks when searching for the BBT in NAND
On Fri, 2021-06-25 at 12:38:21 UTC, Stefan Riedmueller wrote:
> The blocks containing the bad block table can become bad as well. So
> make sure to skip any blocks that are marked bad when searching for the
> bad block table.
>
> Otherwise in very rare cases where two BBT blocks wear out it might
> happen that an obsolete BBT is used instead of a newer available
> version.
>
> This only applies to drivers which make use of a bad block marker in flash.
> Other drivers won't be able to identify bad BBT blocks and thus can't skip
> these.
>
> Signed-off-by: Stefan Riedmueller <s.riedmueller@...tec.de>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
Powered by blists - more mailing lists