aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKnut Omang <knut.omang@oracle.com>2014-08-24 15:32:20 +0200
committerMichael S. Tsirkin <mst@redhat.com>2014-08-25 00:16:06 +0200
commita74b87027065fdacdadc906c236b001419df7c91 (patch)
tree9a92d9c678ed870e5b7bd7dc755e99851318d3a9
parent0f9b1771ccc65873a8376c81200a437aa58c2f6d (diff)
downloadqemu-a74b87027065fdacdadc906c236b001419df7c91.zip
qemu-a74b87027065fdacdadc906c236b001419df7c91.tar.gz
qemu-a74b87027065fdacdadc906c236b001419df7c91.tar.bz2
ioh3420: Enable ARI forwarding
Signed-off-by: Knut Omang <knut.omang@oracle.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
-rw-r--r--hw/pci-bridge/ioh3420.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/pci-bridge/ioh3420.c b/hw/pci-bridge/ioh3420.c
index e6674a1..cce2fdd 100644
--- a/hw/pci-bridge/ioh3420.c
+++ b/hw/pci-bridge/ioh3420.c
@@ -85,6 +85,7 @@ static void ioh3420_reset(DeviceState *qdev)
pcie_cap_root_reset(d);
pcie_cap_deverr_reset(d);
pcie_cap_slot_reset(d);
+ pcie_cap_arifwd_reset(d);
pcie_aer_root_reset(d);
pci_bridge_reset(qdev);
pci_bridge_disable_base_limit(d);
@@ -119,6 +120,7 @@ static int ioh3420_initfn(PCIDevice *d)
goto err_msi;
}
+ pcie_cap_arifwd_init(d);
pcie_cap_deverr_init(d);
pcie_cap_slot_init(d, s->slot);
pcie_chassis_create(s->chassis);