From: Yinghai Lu Date: Mon, 22 Jul 2013 21:37:15 +0000 (-0700) Subject: PCI: Enable unassigned resource reallocation on per-bus basis X-Git-Tag: v3.12-rc1~177^2~3^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=967260cdb13f9c0de3cf56e305b34eb363e41d5b;p=pandora-kernel.git PCI: Enable unassigned resource reallocation on per-bus basis pci_realloc_detect() turns on automatic resource allocation when it finds unassigned SR-IOV resources. Previously it did this on a global basis, so we enabled reallocation if any PCI device anywhere had an unassigned SR-IOV resource. This patch changes pci_realloc_detect() so it looks at a single bus, so we can do this when a host bridge is hot-added. [bhelgaas: changelog] Signed-off-by: Yinghai Lu Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed