x86/xen: Use xen-specific path for interrupt delivery
Rather than mapping event channels to vectors and then using the vector->irq mapping for interrupt delivery, just cut out the middleman and directly map event channels to irqs. This allows for some more cleanups in the event handling code.
The following changes since commit 637f52a7cc5b3ae22354b7e45397375a17d626af:
Jeremy Fitzhardinge (1):
x86: unify do_IRQ()
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git jsgf/xen/irq
Jeremy Fitzhardinge (5):
xen: set irq_chip disable
xen: use our own eventchannel->irq path
xen: pack all irq-related info together
xen: remove irq bindcount
xen: make sure that softirqs get handled at the end of event processing
arch/x86/include/asm/xen/events.h | 6 - arch/x86/xen/irq.c | 17 +--- drivers/xen/events.c | 224 +++++++++++++++++++++++++------------ 3 files changed, 155 insertions(+), 92 deletions(-)
Quoted 20 lines · Jeremy Fitzhardinge
Rather than mapping event channels to vectors and then using the
vector->irqmapping for interrupt delivery, just cut out the middleman and directly map event channels to irqs. This allows for some more cleanups in the event handling code.The following changes since commit
637f52a7cc5b3ae22354b7e45397375a17d626af:
Jeremy Fitzhardinge (1):x86: unify do_IRQ()are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gitjsgf/xen/irqJeremy Fitzhardinge (5):
xen: setirq_chipdisable
xen: use our owneventchannel->irqpath
xen: pack all irq-related info together
xen: remove irq bindcount
xen: make sure that softirqs get handled at the end of event processing
Quoted 4 lines
arch/x86/include/asm/xen/events.h | 6 - arch/x86/xen/irq.c | 17 +--- drivers/xen/events.c | 224 +++++++++++++++++++++++++------------ 3 files changed, 155 insertions(+), 92 deletions(-)
Ok, never mind my comment on the do_IRQ() detail, this looks good after all, you just consolidated what is there already in essence.
Pulled into tip/x86/apic [which had dependencies here], thanks Jeremy!
Btw., please remove leftover bits like:
+ //printk("cpu %d handling irq %d\n", smp_processor_id(), info->irq);
Ingo