Displaying 1 result from an estimated 1 matches for "eoimask".
Did you mean:
emask
2013 May 06
2
[PATCH v2] xen/gic: EOI irqs on the right pcpu
...struct cpu_user_regs *r
p = irq_to_pending(v, virq);
if ( p->desc != NULL ) {
p->desc->status &= ~IRQ_INPROGRESS;
- GICC[GICC_DIR] = virq;
+ /* Assume only one pcpu needs to EOI the irq */
+ cpu = cpumask_first(&p->eoimask);
+ cpumask_clear(&p->eoimask);
+ eoi = 1;
}
list_del_init(&p->inflight);
spin_unlock_irq(&v->arch.vgic.lock);
+ if ( eoi ) {
+ /* this is not racy because we can''t receive another irq of the
+...