[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20190923213403.GF4141@piout.net>
Date: Mon, 23 Sep 2019 23:34:03 +0200
From: Alexandre Belloni <alexandre.belloni@...tlin.com>
To: Stephen Boyd <sboyd@...nel.org>
Cc: Nicolas Ferre <nicolas.ferre@...rochip.com>,
Claudiu Beznea <claudiu.beznea@...rochip.com>,
Michael Turquette <mturquette@...libre.com>,
linux-clk@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>
Subject: Re: [PATCH] clk: at91: avoid sleeping early
On 23/09/2019 09:58:47-0700, Stephen Boyd wrote:
> Quoting Alexandre Belloni (2019-09-20 08:39:06)
> > 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 <u.kleine-koenig@...gutronix.de>
> > Signed-off-by: Alexandre Belloni <alexandre.belloni@...tlin.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/
>
> 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
Powered by blists - more mailing lists