summaryrefslogtreecommitdiffstats
path: root/hw/pci-bridge/ioh3420.c
diff options
context:
space:
mode:
authorKnut Omang2014-08-24 15:32:20 +0200
committerMichael S. Tsirkin2014-08-25 00:16:06 +0200
commita74b87027065fdacdadc906c236b001419df7c91 (patch)
tree9a92d9c678ed870e5b7bd7dc755e99851318d3a9 /hw/pci-bridge/ioh3420.c
parentioh3420: Remove obsoleted, unused ioh3420_init function (diff)
downloadqemu-a74b87027065fdacdadc906c236b001419df7c91.tar.gz
qemu-a74b87027065fdacdadc906c236b001419df7c91.tar.xz
qemu-a74b87027065fdacdadc906c236b001419df7c91.zip
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>
Diffstat (limited to 'hw/pci-bridge/ioh3420.c')
-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 e6674a1a59..cce2fdd8e7 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);