[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210806200309.393655-1-miquel.raynal@bootlin.com>
Date: Fri, 6 Aug 2021 22:03:08 +0200
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Daniel Palmer <daniel@...f.com>, miquel.raynal@...tlin.com,
richard@....at
Cc: linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [RFC PATCH] mtd: spinand: core: Properly fill the OOB area.
On Thu, 2021-06-17 at 11:08:42 UTC, Daniel Palmer wrote:
> The comment in spinand_write_to_cache_op() says that
> spinand_ondie_ecc_prepare_io_req() should 0xff fill the OOB
> area but it doesn't.
>
> This causes the OOB area to get filled with zeros
> and anytime the first page in a block the bad block marker
> is cleared and it becomes a bad block on the next boot.
>
> This was observed on Longsys FORSEE branded parts and
> might be specific to these parts.
>
> Signed-off-by: Daniel Palmer <daniel@...f.com>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
Powered by blists - more mailing lists