From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Stefan Riedmueller <s.riedmueller@phytec.de>,
Miquel Raynal <miquel.raynal@bootlin.com>,
Vignesh Raghavendra <vigneshr@ti.com>
Cc: linux-mtd@lists.infradead.org,
Richard Weinberger <richard@nod.at>,
Mauro Carvalho Chehab <mchehab+huawei@kernel.org>,
Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>,
Fabio Estevam <festevam@gmail.com>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Sascha Hauer <s.hauer@pengutronix.de>,
Boris Brezillon <boris.brezillon@collabora.com>,
Dan Brown <dan_brown@ieee.org>,
David Woodhouse <dwmw2@infradead.org>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mtd: rawnand: nand_bbt: Skip bad blocks when searching for the BBT in NAND
Date: Fri, 16 Jul 2021 01:08:36 +0200 [thread overview]
Message-ID: <20210715230836.222817-1-miquel.raynal@bootlin.com> (raw)
In-Reply-To: <20210625123821.207458-1-s.riedmueller@phytec.de>
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@phytec.de>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
WARNING: multiple messages have this Message-ID (diff)
From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Stefan Riedmueller <s.riedmueller@phytec.de>,
Miquel Raynal <miquel.raynal@bootlin.com>,
Vignesh Raghavendra <vigneshr@ti.com>
Cc: linux-mtd@lists.infradead.org,
Richard Weinberger <richard@nod.at>,
Mauro Carvalho Chehab <mchehab+huawei@kernel.org>,
Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>,
Fabio Estevam <festevam@gmail.com>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Sascha Hauer <s.hauer@pengutronix.de>,
Boris Brezillon <boris.brezillon@collabora.com>,
Dan Brown <dan_brown@ieee.org>,
David Woodhouse <dwmw2@infradead.org>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mtd: rawnand: nand_bbt: Skip bad blocks when searching for the BBT in NAND
Date: Fri, 16 Jul 2021 01:08:36 +0200 [thread overview]
Message-ID: <20210715230836.222817-1-miquel.raynal@bootlin.com> (raw)
In-Reply-To: <20210625123821.207458-1-s.riedmueller@phytec.de>
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@phytec.de>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
next prev parent reply other threads:[~2021-07-15 23:08 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-25 12:38 [PATCH] mtd: rawnand: nand_bbt: Skip bad blocks when searching for the BBT in NAND Stefan Riedmueller
2021-06-25 12:38 ` Stefan Riedmueller
2021-07-06 16:13 ` Miquel Raynal
2021-07-06 16:13 ` Miquel Raynal
2021-07-07 8:22 ` [PATCH] fixup! " Stefan Riedmueller
2021-07-07 8:22 ` Stefan Riedmueller
2021-07-07 9:18 ` [PATCH] " Alexander Dahl
2021-07-07 9:18 ` Alexander Dahl
2021-07-08 8:42 ` Stefan Riedmüller
2021-07-08 8:42 ` Stefan Riedmüller
2021-07-15 23:08 ` Miquel Raynal [this message]
2021-07-15 23:08 ` Miquel Raynal
-- strict thread matches above, loose matches on Subject: below --
2021-03-25 10:23 Stefan Riedmueller
2021-03-25 10:23 ` Stefan Riedmueller
2021-03-28 17:35 ` Miquel Raynal
2021-03-28 17:35 ` Miquel Raynal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210715230836.222817-1-miquel.raynal@bootlin.com \
--to=miquel.raynal@bootlin.com \
--cc=boris.brezillon@collabora.com \
--cc=dan_brown@ieee.org \
--cc=dwmw2@infradead.org \
--cc=festevam@gmail.com \
--cc=kernel@pengutronix.de \
--cc=kieran.bingham+renesas@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=mchehab+huawei@kernel.org \
--cc=richard@nod.at \
--cc=s.hauer@pengutronix.de \
--cc=s.riedmueller@phytec.de \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.