Re: [PATCH] clk: at91: avoid sleeping early
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
Date: 2019-09-23 21:34:09
Also in:
linux-clk, lkml
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
Date: 2019-09-23 21:34:09
Also in:
linux-clk, lkml
On 23/09/2019 09:58:47-0700, Stephen Boyd wrote:
Quoting Alexandre Belloni (2019-09-20 08:39:06)quoted
It is not allowed to sleep to early in the boot process and this may lead to kernel issues if the bootloader didn't prepare the slow clock and main clock. This results in the following error and dump stack on the AriettaG25: bad: scheduling from the idle thread! Ensure it is possible to sleep, else simply have a delay. Reported-by: Uwe Kleine-König <redacted> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> --- Note that this was already discussed a while ago and Arnd said this approach was reasonable: https://lore.kernel.org/lkml/6120818.MyeJZ74hYa@wuerfel/ (local)Does this need a Fixes: tag?
I'm not sure how far this can get backported
Fixes: 80eded6ce8bb ("clk: at91: add slow clks driver")
--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel