Re: [PATCH] clk: at91: avoid sleeping early

2019-10-05 Thread Alexandre Belloni
On 24/09/2019 13:20:15-0700, Stephen Boyd wrote: > Quoting Uwe (2019-09-24 05:21:47) > > On Fri, Sep 20, 2019 at 05:39:06PM +0200, Alexandre Belloni wrote: > > > Note that this was already discussed a while ago and Arnd said this > > > approach was > > > reasonable: > > >

Re: [PATCH] clk: at91: avoid sleeping early

2019-09-24 Thread Stephen Boyd
Quoting Uwe (2019-09-24 05:21:47) > On Fri, Sep 20, 2019 at 05:39:06PM +0200, Alexandre Belloni wrote: > > Note that this was already discussed a while ago and Arnd said this > > approach was > > reasonable: > > https://lore.kernel.org/lkml/6120818.MyeJZ74hYa@wuerfel/ > > > >

Re: [PATCH] clk: at91: avoid sleeping early

2019-09-24 Thread Uwe Kleine-König
On Fri, Sep 20, 2019 at 05:39:06PM +0200, Alexandre Belloni wrote: > 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

Re: [PATCH] clk: at91: avoid sleeping early

2019-09-23 Thread Alexandre Belloni
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

[PATCH] clk: at91: avoid sleeping early

2019-09-20 Thread Alexandre Belloni
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