[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH-4.5 v2 07/10] xen/arm: don't protect GICH and lr_queue accesses with gic.lock
Hi Stefano, On 02/14/2014 03:51 PM, Stefano Stabellini wrote: > GICH is banked, protect accesses by disabling interrupts. > Protect lr_queue accesses with the vgic.lock only. > gic.lock only protects accesses to GICD now. > > Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> > --- > xen/arch/arm/gic.c | 22 +++------------------- > xen/arch/arm/vgic.c | 12 ++++++++++-- > 2 files changed, 13 insertions(+), 21 deletions(-) > > diff --git a/xen/arch/arm/gic.c b/xen/arch/arm/gic.c > index 0955d48..6386ccb 100644 > --- a/xen/arch/arm/gic.c > +++ b/xen/arch/arm/gic.c > @@ -667,19 +667,14 @@ void gic_remove_from_queues(struct vcpu *v, unsigned > int virtual_irq) > { > struct pending_irq *p = irq_to_pending(v, virtual_irq); > > - spin_lock(&gic.lock); > if ( !list_empty(&p->lr_queue) ) > list_del_init(&p->lr_queue); > - spin_unlock(&gic.lock); > } This patch doesn't apply correctly on the latest master. The commit 0ddaeff has replace spin_lock by spin_lock_irqsave. You need to rebase your patches series at least on top of this patch. Regards, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |