From patchwork Tue Oct 9 03:03:20 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [3/7] PCI, pciehp: disable ARI forwarding for pciehp Date: Mon, 08 Oct 2012 17:03:20 -0000 From: Yijing Wang X-Patchwork-Id: 190174 Message-Id: <1349751804-7476-4-git-send-email-wangyijing@huawei.com> To: Bjorn Helgaas Cc: , Hanjun Guo , , Yinghai Lu , Yijing Wang Disable the port ARI forwarding after an ARI device hot removed. Signed-off-by: Yijing Wang --- drivers/pci/hotplug/pciehp_pci.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/pci/hotplug/pciehp_pci.c b/drivers/pci/hotplug/pciehp_pci.c index 09cecaf..6d12d20 100644 --- a/drivers/pci/hotplug/pciehp_pci.c +++ b/drivers/pci/hotplug/pciehp_pci.c @@ -118,6 +118,7 @@ int pciehp_unconfigure_device(struct slot *p_slot) } } pci_stop_and_remove_bus_device(temp); + pci_configure_ari(temp, false); /* * Ensure that no new Requests will be generated from * the device.