public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] KVM: x86: clean up interrupt injection
@ 2015-11-02 12:21 Paolo Bonzini
  2015-11-02 12:21 ` [PATCH 1/3] KVM: x86: merge kvm_arch_set_irq with kvm_set_msi_inatomic Paolo Bonzini
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Paolo Bonzini @ 2015-11-02 12:21 UTC (permalink / raw)
  To: linux-kernel, kvm; +Cc: Alex Williamson, Radim Krcmar

Legacy device assignment attempted to only do lightweight work when
injecting interrupts from atomic context.  This will be important
if we let VFIO inject interrupts from a non-threaded interrupt handler.
This series lets irqfd ditinguish between atomic-context and generic
interrupt injection.

Patch 1 is the real change, everything else cleans up what's left behind.

Paolo

Paolo Bonzini (3):
  KVM: x86: merge kvm_arch_set_irq with kvm_set_msi_inatomic
  KVM: device assignment: remove pointless #ifdefs
  KVM: x86: move kvm_set_irq_inatomic to legacy device assignment

 arch/x86/kvm/assigned-dev.c | 62 +++++++++++++++++++++++++++------------------
 arch/x86/kvm/irq_comm.c     | 44 +++++---------------------------
 include/linux/kvm_host.h    |  8 +++---
 virt/kvm/eventfd.c          | 11 +++-----
 4 files changed, 50 insertions(+), 75 deletions(-)

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-11-02 17:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-02 12:21 [PATCH 0/3] KVM: x86: clean up interrupt injection Paolo Bonzini
2015-11-02 12:21 ` [PATCH 1/3] KVM: x86: merge kvm_arch_set_irq with kvm_set_msi_inatomic Paolo Bonzini
2015-11-02 14:59   ` Radim Krcmar
2015-11-02 16:08     ` Paolo Bonzini
2015-11-02 17:01       ` Radim Krcmar
2015-11-02 17:05         ` Paolo Bonzini
2015-11-02 12:21 ` [PATCH 2/3] KVM: device assignment: remove pointless #ifdefs Paolo Bonzini
2015-11-02 12:21 ` [PATCH 3/3] KVM: x86: move kvm_set_irq_inatomic to legacy device assignment Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox