This is core part of ACPI pci root bus hotplug support. First add pci_stop_and_remove_bus support, so could use it to remove root bus. Separate out hot add from acpiphp. User could only use pci_root_hp and pciehp. And add hot removal notification support. could get from git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git for-pci-root-bus-hotplug-part4 Jiang Liu (3): PCI: Fix a device reference count leakage issue in pci_dev_present() PCI: Correctly clean up pci root buses in function pci_remove_bus() PCI: Fix an access-after-free issue in function pci_stop_and_remove_bus() Yinghai Lu (8): PCI: Add pci_stop_and_remove_bus() PCI, acpiphp: Separate out hot-add support of pci host bridge PCI, ACPI: Make acpi_pci_root_remove remove pci root bus too PCI, ACPI: Add pci_root_hp hot removal notification support. PCI, ACPI: Add alloc_acpi_hp_work() PCI, acpiphp: Use acpi_hp_work PCI, pci_root_hp: Use acpi_hp_work PCI, ACPI: Make kacpi_hotplug_wq static drivers/acpi/Makefile | 1 + drivers/acpi/osl.c | 24 +++- drivers/acpi/pci_root.c | 14 ++ drivers/acpi/pci_root_hp.c | 271 ++++++++++++++++++++++++++++++++++++ drivers/pci/hotplug/acpiphp_glue.c | 79 ++--------- drivers/pci/remove.c | 44 +++++- drivers/pci/search.c | 10 +- include/acpi/acpiosxf.h | 9 +- include/linux/pci.h | 1 + 9 files changed, 374 insertions(+), 79 deletions(-) create mode 100644 drivers/acpi/pci_root_hp.c -- 1.7.7 -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html