From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=44781 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PiLmg-0008Vz-Eb for qemu-devel@nongnu.org; Thu, 27 Jan 2011 01:56:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PiLme-0003Pa-EK for qemu-devel@nongnu.org; Thu, 27 Jan 2011 01:56:45 -0500 Received: from mail.valinux.co.jp ([210.128.90.3]:37198) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PiLme-0003Os-5B for qemu-devel@nongnu.org; Thu, 27 Jan 2011 01:56:44 -0500 From: Isaku Yamahata Date: Thu, 27 Jan 2011 15:56:34 +0900 Message-Id: Subject: [Qemu-devel] [PATCH v2 0/5] pci/pcie: implement ARI enable bit correctly List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: yamahata@valinux.co.jp, mst@redhat.com Changes v1 -> v2: - dropped PCI_DEVFN_MAX - use uint8_t for devfn instead of int - move pcie_check_slot into pci.h and made it static inline - minor clean ups Isaku Yamahata (5): pci: replace the magic, 256, for the maximum of devfn pci: use devfn for pci_find_device() instead of (slot, fn) pair pci/pcie: make pci_find_device() ARI aware. pci: use PCI_SLOT in pci_get_bus_devfn() pci: use uint8_t for devfn_min hw/pci-hotplug.c | 5 +++-- hw/pci.c | 18 ++++++++++++------ hw/pci.h | 51 +++++++++++++++++++++++++++++++++++++++++++++++---- hw/pci_host.c | 2 +- hw/pci_internals.h | 4 ++-- hw/pcie.c | 13 ------------- hw/pcie.h | 1 - hw/pcie_host.c | 3 +-- 8 files changed, 66 insertions(+), 31 deletions(-)