PCI, ACPI: Use bus type notifier for root bus hotplug
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 19 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | device: add drivers_autoprobe in struct devicedrivers/ drivers/ include/ | +3 | 39 replies | |
| 2/10 | ACPI: use device drivers_autoprobe to delay loading acpi driversdrivers/ | +47 | 0 replies | |
| 3/10 | PCI: prepare to use device drivers_autoprobe to delay attach driversdrivers/ drivers/ | +36 | 0 replies | |
| 4/10 | PCI: Use device_add for device and bus earlydrivers/ drivers/ drivers/ | +20 | 0 replies | |
| 5/10 | PCI, ACPI: Separate out acpi_pci_root_osc_contorl_setdrivers/ | +73 | 0 replies | |
| 6/10 | PCI, ACPI: Move hot add root bus conf code to acpi_pci_root_adddrivers/ | +16 | 0 replies | |
| 7/10 | PCI, ACPI: Remove not used acpi_pci_root_start()drivers/ | +2 | 0 replies | |
| 8/10 | PCI: Add dev_is_pci_host_bridge() helperinclude/ | +1 | 0 replies | |
| 9/10 | PCI, ACPI: using acpi/pci bind path for pci_host_bridgedrivers/ drivers/ | +40 | 0 replies | |
| 10/10 | PCI, ACPI: use bus_type notifier for acpi_pci_bind_notifydrivers/ drivers/ drivers/ +1 more | +81 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/10] PCI, ACPI: Use bus type notifier for root bus hotplug
Add device drivers_autoprobe to make hotplug path more like booting path:
create all acpi device and add them to device tree at first
then attach acpi drivers.
create all pci devices and add them to device tree at first
then attach pci drivers.
1. kill acpi_pci_root_start.
2. register pci devices to device tree as soon as possible after pci devices and bus get created.
After pci_scan_child_bus, all bus and devices get into devices already. pci_bus_add_devices will only attach driver to pci devices.
could get from
git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git for-pci-next
Yinghai Lu (10):
device: add drivers_autoprobe in struct device
ACPI: use device drivers_autoprobe to delay loading acpi drivers
PCI: prepare to use device drivers_autoprobe to delay attach drivers
PCI: Use device_add for device and bus early
PCI, ACPI: Separate out acpi_pci_root_osc_contorl_set PCI, ACPI: Move hot add root bus conf code to acpi_pci_root_add PCI, ACPI: Remove not used acpi_pci_root_start()
PCI: Add dev_is_pci_host_bridge() helper
PCI, ACPI: using acpi/pci bind path for pci_host_bridge PCI, ACPI: use bus_type notifier for acpi_pci_bind_notify
drivers/acpi/glue.c | 4 - drivers/acpi/pci_bind.c | 99 +++++++++++++++---- drivers/acpi/pci_root.c | 223 +++++++++++++++++++++++-------------------- drivers/acpi/scan.c | 48 +++++++++- drivers/base/bus.c | 2 +- drivers/base/core.c | 1 + drivers/pci/bus.c | 45 +++------ drivers/pci/hotplug.c | 25 +++++ drivers/pci/iov.c | 7 -- drivers/pci/probe.c | 25 ++++-- include/acpi/acpi_drivers.h | 2 + include/linux/device.h | 1 + include/linux/pci.h | 1 + 13 files changed, 310 insertions(+), 173 deletions(-)
Signature · 1 line
1.7.7