Re: [PATCH] irqchip: gic: Allow gic_arch_extn hooks to call into scheduler

2014-08-04 Thread Stephen Boyd
On 08/04/14 16:20, Nicolas Pitre wrote: > On Mon, 4 Aug 2014, Stephen Boyd wrote: > >> diff --git a/drivers/irqchip/irq-gic.c b/drivers/irqchip/irq-gic.c >> index 7c131cf7cc13..824c1e2ac403 100644 >> --- a/drivers/irqchip/irq-gic.c >> +++ b/drivers/irqchip/irq-gic.c >> @@ -72,6 +72,8 @@ struct gic_

Re: [PATCH] irqchip: gic: Allow gic_arch_extn hooks to call into scheduler

2014-08-04 Thread Nicolas Pitre
On Mon, 4 Aug 2014, Stephen Boyd wrote: > Commit 1a6b69b6548c (ARM: gic: add CPU migration support, > 2012-04-12) introduced an acquisition of the irq_controller_lock > in gic_raise_softirq() which can lead to a spinlock recursion if > the gic_arch_extn hooks call into the scheduler (via complete(