[regression 5.4.y][RFC][PATCH 0/1] mtd: rawnand: gpmi: busy_timeout_cycles

Greg KH gregkh at linuxfoundation.org
Wed Feb 21 03:00:56 PST 2024


On Wed, Feb 07, 2024 at 06:49:10PM +0100, max.oss.09 at gmail.com wrote:
> From: Max Krummenacher <max.krummenacher at toradex.com>
> 
> Hello
> 
> With the backported commit e09ff743e30b ("mtd: rawnand: gpmi: Set
> WAIT_FOR_READY timeout based on program/erase times") in kernel 5.4.y
> I see corruption of the NAND content during kernel boot.
> Reverting said commit on top of current 5.4.y fixes the issue.
> 
> It seems that the commit relies on commit 71c76f56b97c ("mtd:
> rawnand: gpmi: Fix setting busy timeout setting"), but its
> backport got reverted.
> One should either backport both commits or none, having only one
> results in potential bugs.
> 
> I've seen it in 5.4.y, however in 5.10.y and 5.15.y there one of
> the two backports is also reverted and likely the same regression
> exists.
> 
> Any comments?
> 
> Max
> 
> Max Krummenacher (1):
>   Revert "Revert "mtd: rawnand: gpmi: Fix setting busy timeout setting""
> 
>  drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> -- 
> 2.42.0
> 
> 

Now queeud up, thanks.

greg k-h



More information about the linux-mtd mailing list