Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit feb77c9d authored by Lucas Stach's avatar Lucas Stach Committed by Alex Shi
Browse files

ARM: imx6: allow booting with old DT



The GPC rewrite to IRQ domains has been on the premise that it may break
suspend/resume for new kernels on old DT, but otherwise keep things working
from a user perspective. This was an accepted compromise to be able to move
the GIC cleanup forward.

What actually happened was that booting a new kernel on an old DT crashes
before even the console is up, so the user does not even see the warning
that the DT is too old. The warning message suggests that this has been
known before, which is clearly unacceptable.

Fix the early crash by mapping the GPC memory space if the IRQ controller
doesn't claim it. This keeps at least CPUidle and the needed CPU wakeup
workarounds working. With this fixed the system is able to boot up
properly minus the expected suspend/resume breakage.

Signed-off-by: default avatarLucas Stach <l.stach@pengutronix.de>
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
(cherry picked from commit 634a603760c26d163ff92751d91ac7b859e879c4)
Signed-off-by: default avatarAlex Shi <alex.shi@linaro.org>
parent 6934f243
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment