Re: [PATCH v3 00/13] ARM: at91: PMC driver rework

From: Alexandre Belloni
Date: Tue Dec 15 2015 - 04:22:59 EST


Stephen,

Do you mind us taking that through the at91 and arm-soc trees?


On 10/12/2015 at 18:06:52 +0100, Boris Brezillon wrote :
> On Fri, 4 Dec 2015 18:03:35 +0100
> Alexandre Belloni <alexandre.belloni@xxxxxxxxxxxxxxxxxx> wrote:
>
> > Hi,
> >
> > This patch set is a cleanup that properly separate drivers needing to access the
> > PMC (PM and USB) from the clock driver by exposing the PMC as a syscon.
> >
> > This also allows to implement a fix for preempt-rt. Currently, at91 platform are
> > crashing when using preempt-rt because the irq handler are transformed in
> > threaded irq handler but at the time the pmc registers its clocks, it is not
> > possible to creat threads, leading to a NULL pointer dereference in the kernel.
> >
> > The new infrastructure uses polling until it is late enough to register threaded
> > irqs.
> >
> > Note that there is an ugly global spinlock for the peripheral and generated
> > clocks. More infrastructure is needed in syscon to get rid of that one. We will
> > be working on that.
>
> To the whole series,
>
> Acked-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxxxxxxx>
>
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/