Messages in this thread |  | | From | Yinghai Lu <> | Subject | [PATCH 0/8] PCI, ACPI, x86: Reserve fw allocated resource for hot-add root bus | Date | Sat, 3 Nov 2012 21:39:23 -0700 |
| |
For root bus hot add, fw could assign some resource for the devices for that root bus before notifying os via acpi, we should check and use those resources at first just like we do for booting path.
At first, we need to refactor x86 pci pcibios_allocate related functions for booting path to take bus as parameter.
After that, we could use the survey function for hot add root bus.
based on pci/yinghai-for-pci-root-bus-hotplug
could get from git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git for-pci-survey-resources
Yinghai Lu (8): PCI, x86: Separate out pcibios_allocate_bridge_resources() PCI, x86: Separate out pcibios_allocate_dev_resources() PCI, x86: Let pcibios_allocate_bus_resources() take bus instead PCI, x86: Separate out rom resource claim PCI, x86: Add pcibios_fw_addr_done PCI, x86: Remove __init for hw/fw allocated functions PCI, x86: Claim FW allocated resources in hot add path. PCI, ACPI: reserve fw allocated resource for hot added root bus
arch/x86/pci/i386.c | 185 +++++++++++++++++++++++++++++++---------------- drivers/acpi/pci_root.c | 4 +- drivers/pci/bus.c | 2 + include/linux/pci.h | 1 + 4 files changed, 127 insertions(+), 65 deletions(-)
-- 1.7.7
|  |