From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Williamson Subject: [PATCH v2 0/8] pci-assign: better MSI-X table support Date: Tue, 31 Jan 2012 22:32:15 -0700 Message-ID: <20120201052203.9843.80792.stgit@bling.home> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: alex.williamson@redhat.com, avi@redhat.com, mst@redhat.com, jan.kiszka@siemens.com, shashidhar.patil@gmail.com To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:55849 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752585Ab2BAFcV (ORCPT ); Wed, 1 Feb 2012 00:32:21 -0500 Sender: kvm-owner@vger.kernel.org List-ID: This series enables better runtime MSI-X table support so that we can track vector updates for routing, enabling guest interrupt smp_affinity, as well as vectors setup after the MSI-X PCI capability is enabled, allowing for MSI-X on devices assigned to FreeBSD guests. Thanks, Alex v2: - Dropping mem64, we can work on this elsewhere - Fixed MemoryRegionOps to use .valid, tested 8-byte access - Endian conversions when testing MSI-X vector mask bit - Patch description updates - Misc cleanups --- Alex Williamson (8): pci-assign: Update MSI-X config based on table writes pci-assign: Use MSIX_PAGE_SIZE pci-assign: Allocate entries for all MSI-X vectors pci-assign: Proper initialization for MSI-X table pci-assign: Only calculate maximum MSI-X vector entries once pci-assign: Use struct for MSI-X table pci-assign: Update MSI-X MMIO to Memory API pci-assign: Fix warnings with DEBUG enabled hw/device-assignment.c | 262 +++++++++++++++++++++++++++++------------------- hw/device-assignment.h | 10 ++ 2 files changed, 169 insertions(+), 103 deletions(-)