[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH-4.5 v2 10/10] xen/arm: print more info in gic_dump_info, keep gic_lr sync'ed
Hi Stefano, On 14/02/14 15:51, Stefano Stabellini wrote: @@ -986,6 +991,8 @@ void gic_dump_info(struct vcpu *v) struct pending_irq *p; printk("GICH_LRs (vcpu %d) mask=%"PRIx64"\n", v->vcpu_id, v->arch.lr_mask); + + spin_lock(&v->arch.vgic.lock); interrupts need to be disabled here. If not, it's possible to receive an interrupt while the lock is taken. Xen might deadlock if the interrupt is inject to this vcpu "v" (see vgic_vcpu_inject_irq). 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 |