public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* Regression, i.MX7 boot failure, Linux v6.1.77
@ 2024-02-13 11:21 Francesco Dolcini
  2024-02-13 11:44 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 2+ messages in thread
From: Francesco Dolcini @ 2024-02-13 11:21 UTC (permalink / raw)
  To: Sasha Levin, stable, Greg Kroah-Hartman
  Cc: Alexander Stein, Shawn Guo, linux-kernel, linux-arm-kernel,
	regressions, Max Krummenacher, Miquel Raynal

Hello Sasha,
kernel v6.1.77 introduces a regression, with a boot failure, on i.MX7,
with commit db30f469ae8b ("ARM: dts: imx7s: Fix nand-controller #size-cells").

The issue is known [1][2], changing `#size-cells = <0>` is formally
correct, but do not play well with the firmware that are deployed on
those embedded devices, leading to a boot failure.

A mitigation was implemented in the Linux kernel,
commit 84549c816dc3 ("mtd: parsers: ofpart: add workaround for #size-cells 0")
that was merged into v6.3, the firmware was also fixed, however existing
device using old firmware will not boot anymore if updating to a newer
kernel.

I would ask you to drop such a patch from any stable patches queue and
not backport it to any older kernel.

To fix v6.1.y I see two options:
 - backport 84549c816dc3
 - revert db30f469ae8b

What do you prefer? Should I send myself a patch?

[1] https://lore.kernel.org/all/Y4dgBTGNWpM6SQXI@francesco-nb.int.toradex.com/
[2] https://lore.kernel.org/all/20221202071900.1143950-1-francesco@dolcini.it/

Francesco


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-13 11:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-13 11:21 Regression, i.MX7 boot failure, Linux v6.1.77 Francesco Dolcini
2024-02-13 11:44 ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox