]> asedeno.scripts.mit.edu Git - linux.git/commit
PCI/ACPI: Reserve firmware-allocated resources for hot-added root buses
authorYinghai Lu <yinghai@kernel.org>
Sun, 4 Nov 2012 04:39:31 +0000 (21:39 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 7 Jan 2013 22:58:48 +0000 (15:58 -0700)
commit3c449ed0075994b3f3371f8254560428ba787efc
treed4ed374d484cc1818c47b66fb71c1955ee277ae9
parentb95168e010a405add13aa010d7c45b55dc4026c7
PCI/ACPI: Reserve firmware-allocated resources for hot-added root buses

Firmware may have assigned PCI BARs for hot-added devices, so reserve
those resources before trying to allocate more.

[bhelgaas: move empty weak definition here]
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/acpi/pci_root.c
drivers/pci/bus.c
include/linux/pci.h