Re: mtd: spinand: Handle the case where PROGRAM LOAD does not reset the cache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2019-01-24 at 14:20:07 UTC, Boris Brezillon wrote:
> Looks like PROGRAM LOAD (AKA write cache) does not necessarily reset
> the cache content to 0xFF (depends on vendor implementation), so we
> must fill the page cache entirely even if we only want to program the
> data portion of the page, otherwise we might corrupt the BBM or user
> data previously programmed in OOB area.
> 
> Fixes: 7529df465248 ("mtd: nand: Add core infrastructure to support SPI NANDs")
> Reported-by: Stefan Roese <sr@xxxxxxx>
> Cc: <stable@xxxxxxxxxxxxxxx>
> Signed-off-by: Boris Brezillon <bbrezillon@xxxxxxxxxx>
> Tested-by: Stefan Roese <sr@xxxxxxx>
> Reviewed-by: Stefan Roese <sr@xxxxxxx>

Applied to http://git.infradead.org/linux-mtd.git mtd/fixes.

Boris

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux