[PATCH v2] ARM: OMAP: clocks: Delay clk inits atleast until slab is initialized

Tony Lindgren tony at atomide.com
Wed Mar 27 12:50:08 EDT 2013


* Paul Walmsley <paul at pwsan.com> [130326 22:01]:
> Hi
> 
> On Thu, 21 Mar 2013, Rajendra Nayak wrote:
> 
> > clk inits on OMAP happen quite early, even before slab is available.
> > The dependency comes from the fact that the timer init code starts to
> > use clocks and hwmod and we need clocks to be initialized by then.
> > 
> > There are various problems doing clk inits this early, one is,
> > not being able to do dynamic clk registrations and hence the
> > dependency on clk-private.h. The other is, inability to debug
> > early kernel crashes without enabling DEBUG_LL and earlyprintk.
> 
> ...
> 
> > Reported-by: Piotr Haber <phaber at broadcom.com>
> > Reported-by: Tony Lindgren <tony at atomide.com>
> > Signed-off-by: Rajendra Nayak <rnayak at ti.com>
> 
> Thanks, looks good to me.  Nice patch description!
> 
> Acked-by: Paul Walmsley <paul at pwsan.com>

I applied this into omap-for-v3.9-rc3/fixes, will send a pull request
for those today.

Regards,

Tony



More information about the linux-arm-kernel mailing list