Jeremy Fitzhardinge
2009-Feb-07 00:35 UTC
[Xen-devel] [GIT PULL] 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(-) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ingo Molnar
2009-Feb-09 11:18 UTC
[Xen-devel] Re: [GIT PULL] x86/xen: Use xen-specific path for interrupt delivery
* Jeremy Fitzhardinge <jeremy@goop.org> wrote:> 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(-)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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel