[PATCH v3 0/4] KVM & genirq: Enable adaptive IRQ sharing for passed-through devices

Jan Kiszka
2010-12-13T23:00:08Z

This addresses the review comments of the previous round:
- renamed irq_data::status to drv_status
- moved drv_status around to unbreak GENERIC_HARDIRQS_NO_DEPRECATED
- fixed signature of get_irq_status (irq is now unsigned int)
- converted register_lock into a global one
- fixed critical white space breakage (that I just left in to check if
anyone is actually reading the code, of course...)

Note: The KVM patch still depends on
http://thread.gmane.org/gmane.comp.emulators.kvm.devel/64515

Thanks for all comments!

Final but critical question: Who will pick up which bits?

Jan Kiszka (4):
genirq: Introduce driver-readable IRQ status word
genirq: Inform handler about line sharing state
genirq: Add support for IRQF_COND_ONESHOT
KVM: Allow host IRQ sharing for passed-through PCI 2.3 devices

Documentation/kvm/api.txt | 27 ++++
arch/x86/kvm/x86.c | 1 +
include/linux/interrupt.h | 15 ++
include/linux/irq.h | 2 +
include/linux/kvm.h | 6 +
include/linux/kvm_host.h | 10 ++-
kernel/irq/manage.c | 77 ++++++++++-
virt/kvm/assigned-dev.c | 336 ++++++++++++++++++++++++++++++++++++++++-----
8 files changed, 436 insertions(+), 38 deletions(-)