mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: linux-kernel@vger.kernel.org, kvm@vger.kernel.org
Cc: Alex Williamson <alex.williamson@redhat.com>,
	Radim Krcmar <rkrcmar@redhat.com>
Subject: [PATCH 0/3] KVM: x86: clean up interrupt injection
Date: Mon,  2 Nov 2015 13:21:15 +0100	[thread overview]
Message-ID: <1446466878-32837-1-git-send-email-pbonzini@redhat.com> (raw)

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


             reply	other threads:[~2015-11-02 12:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-02 12:21 Paolo Bonzini [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1446466878-32837-1-git-send-email-pbonzini@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=alex.williamson@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rkrcmar@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®