[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 2/2] xen/arm: observe itarget setting in vgic_enable_irqs and vgic_disable_irqs
Hi Stefano, On 05/25/2014 07:06 PM, Stefano Stabellini wrote: > while ( (i = find_next_bit(&mask, 32, i)) < 32 ) { > irq = i + (32 * n); > - p = irq_to_pending(v, irq); > + rank = vgic_irq_rank(v, 1, irq/32); > + vgic_lock_rank(v, rank); > + if ( irq >= 32 ) > + { > + target = rank->itargets[(irq%32)/4] >> (8*(irq % 4)); > + target &= 0xff; > + v_target = v->domain->vcpu[target]; Without looking to the target stuff (see comment on patch #1), I don't need to do a specific case for SPIs. It will avoid diverging following the IRQ type. 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 |