From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47532) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XLXvz-0000pg-ID for qemu-devel@nongnu.org; Sun, 24 Aug 2014 09:34:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XLXvb-0005Mj-Qf for qemu-devel@nongnu.org; Sun, 24 Aug 2014 09:34:15 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:30450) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XLXvb-0005MV-L6 for qemu-devel@nongnu.org; Sun, 24 Aug 2014 09:33:51 -0400 From: Knut Omang Date: Sun, 24 Aug 2014 15:32:16 +0200 Message-Id: <1408887140-3320-1-git-send-email-knut.omang@oracle.com> Subject: [Qemu-devel] [PATCH v2 0/4] q35: Minor fixes/enhancements to improve usability of root ports List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Marcel Apfelbaum , Alexey Kardashevskiy , Juan Quintela , Knut Omang , Markus Armbruster , "Gonglei (Arei)" , "Michael S. Tsirkin" , Igor Mammedov , Paolo Bonzini These are some minor fixes necessary to be able to operate ARI capable devices in PCIe root ports on a q35 machine, using command line options like this: -device ioh3420,slot=0,id=pcie_port.0 -device ioh3420,slot=1,id=pcie_port.1 -device ,bus=pcie_port.0 -device ,bus=pcie_port.1 Changes since v1: Removed "ioh3420: Provide a unique bus name and an interrupt mapping function" as it is no longer necessary. Added rename of ari -> arifwd for clarity and removal of obsolete init function (separate patches) Use the renamed functions in ioh3420. Knut Omang (4): pcie: Fix incorrect write to the ari capability next function field pcie: Rename the pcie_cap_ari_* functions to pcie_cap_arifwd_* ioh3420: Remove obsoleted, unused ioh3420_init function ioh3420: Enable ARI forwarding hw/pci-bridge/ioh3420.c | 27 +++------------------------ hw/pci-bridge/xio3130_downstream.c | 4 ++-- hw/pci/pcie.c | 13 +++++++------ include/hw/pci/pcie.h | 7 ++++--- 4 files changed, 16 insertions(+), 35 deletions(-) -- 1.9.0