Re: [PATCH v8 00/22] PCI, ACPI: pci root bus hotplug support / pci match_driver

From: Rafael J. Wysocki
Date: Sat Jan 12 2013 - 16:29:00 EST


On Friday, January 11, 2013 02:40:27 PM Yinghai Lu wrote:
> It includes
> 1. preparing patches for pci root bus hotadd/hotremove support
> 2. move root bus hotadd from acpiphp to pci_root.c
> 3. add hot-remove support
> 4. clean up hotadd/remove with common functions
> 5. add acpi_hp_work to be shared with acpiphp and root-bus hotplug
> 6. add match_driver to add pci device to device tree early but
> not attach driver for hotplug path.
>
> based on pci/next
>
> could get from
> git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git for-pci-root-bus-hotplug
>
> After this patchset, will send out
> for_each_host_bridge support
> for_each_dev_addon_res
>
> Jiang Liu (4):
> PCI: Fix a device reference count leakage issue in pci_dev_present()
> PCI: make PCI device create/destroy logic symmetric
> PCI: split registration of PCI bus devices into two stages
> PCI: correctly detect ACPI PCI host bridge objects
>
> Tang Chen (2):
> ACPI: Introduce a new acpi handle to determine HID match.
> PCI, ACPI: debug print for installation of acpi root bridge's notifier
>
> Yinghai Lu (16):
> PCI, acpiphp: Add is_hotplug_bridge detection
> PCI: Add root bus children dev's res to fail list
> PCI: Set dev_node early for pci_dev
> ACPI: Separate acpi_bus_trim to support two steps.
> PCI, acpiphp: Separate out hot-add support of pci host bridge
> PCI, ACPI: Add pci_root_hp hot removal notification support.
> PCI, ACPI: remove acpi_root_bridge in pci_root_hp
> ACPI: update ej_event interface to take acpi_device
> ACPI, PCI: Simplify handle_root_bridge_removal()
> PCI, acpiphp: Don't bailout even no slots found yet.
> 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
> PCI: add match_driver in struct pci_dev
> PCI: move device_add out of pci_bus_add_device()

It looks good overall, but I have a few questions and comments.

I'll reply to the individual patches where applicable.

Thanks,
Rafael


--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/