From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: [PATCH v2 0/4] KVM: Improve IRQ assignment for device passthrough Date: Tue, 2 Nov 2010 16:49:16 +0100 Message-ID: Cc: kvm , Alex Williamson , "Michael S. Tsirkin" To: Avi Kivity , Marcelo Tosatti Return-path: Received: from thoth.sbs.de ([192.35.17.2]:19479 "EHLO thoth.sbs.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753793Ab0KBPti (ORCPT ); Tue, 2 Nov 2010 11:49:38 -0400 Sender: kvm-owner@vger.kernel.org List-ID: Four patches to improve "classic" device assigment /wrt IRQs. Highlight is the last one that resolves the host IRQ sharing issue for all PCI 2.3 devices. Quite essential when passing non-MSI-ready devices like many USB host controllers. Changes in v2: - Reworked IRQ forwarding path to use threaded IRQs (direct signalling from IRQ context does not work out of the box and may be too lengthy) - Refactored host IRQ naming of assigned devices (cosmetic change) - Avoid unmask on ack when the next IRQ is pending, rather reassert the guest line (PCI-2.3 patch) - Refactored PCI-2.3 patch (but still no control knob for shared mode - is that a must?) Jan Kiszka (4): KVM: Clear assigned guest IRQ on release KVM: Switch assigned device IRQ forwarding to threaded handler KVM: Refactor IRQ names of assigned devices KVM: Allow host IRQ sharing for passed-through PCI 2.3 devices include/linux/kvm_host.h | 14 +-- virt/kvm/assigned-dev.c | 279 +++++++++++++++++++++++++++++++++------------ 2 files changed, 208 insertions(+), 85 deletions(-)