From patchwork Tue Oct 9 03:03:19 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2/7] PCI, acpiphp: disable ARI forwarding for acpiphp From: Yijing Wang X-Patchwork-Id: 190172 Message-Id: <1349751804-7476-3-git-send-email-wangyijing@huawei.com> To: Bjorn Helgaas Cc: , Hanjun Guo , , Yinghai Lu , Yijing Wang Date: Tue, 9 Oct 2012 11:03:19 +0800 Disable the port ARI forwarding after an ARI device hot removed. Signed-off-by: Yijing Wang --- drivers/pci/hotplug/acpiphp_glue.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/pci/hotplug/acpiphp_glue.c b/drivers/pci/hotplug/acpiphp_glue.c index 3d6d4fd..6c2a1b6 100644 --- a/drivers/pci/hotplug/acpiphp_glue.c +++ b/drivers/pci/hotplug/acpiphp_glue.c @@ -944,6 +944,7 @@ static int disable_device(struct acpiphp_slot *slot) */ while ((pdev = dev_in_slot(slot))) { pci_stop_and_remove_bus_device(pdev); + pci_configure_ari(pdev, false); pci_dev_put(pdev); }