From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sheng Yang Subject: [PATCH 0/6 v5] MSI-X mask support for assigned device Date: Mon, 15 Nov 2010 17:15:26 +0800 Message-ID: <1289812532-3227-1-git-send-email-sheng@linux.intel.com> Cc: Marcelo Tosatti , "Michael S. Tsirkin" , kvm@vger.kernel.org, Sheng Yang To: Avi Kivity Return-path: Received: from mga01.intel.com ([192.55.52.88]:30507 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753593Ab0KOJOl (ORCPT ); Mon, 15 Nov 2010 04:14:41 -0500 Sender: kvm-owner@vger.kernel.org List-ID: Change from v4: 1. Rebased on latest KVM 2. Fix minor comments. 3. Drop big-endian patch because unable to guarantee the correctless. Add TODO for it. Change from v3: 1. Re-design the userspace API. 2. Add big-endian support for msix_mmio_read/write()(untested!) Change from v2: 1. Move all mask handling to kernel, and userspace has to access it using API. 2. Discard userspace mask bit operation API. Sheng Yang (6): PCI: MSI: Move MSI-X entry definition to pci_regs.h PCI: Add mask bit definition for MSI-X table KVM: Move struct kvm_io_device to kvm_host.h KVM: Add kvm_get_irq_routing_entry() func KVM: assigned dev: Clean up assigned_device's flag KVM: assigned dev: MSI-X mask support arch/x86/kvm/x86.c | 1 + drivers/pci/msi.c | 5 +- drivers/pci/msi.h | 6 - include/linux/kvm.h | 32 +++++ include/linux/kvm_host.h | 31 +++++ include/linux/pci_regs.h | 8 + virt/kvm/assigned-dev.c | 325 +++++++++++++++++++++++++++++++++++++++++++++- virt/kvm/iodev.h | 25 +---- virt/kvm/irq_comm.c | 20 +++ 9 files changed, 417 insertions(+), 36 deletions(-)