Skip to content

PCI, ACPI: pci root bus hotplug support - part4

Yinghai Lu linux-acpi linux-pci lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11PCI: Fix a device reference count leakage issue in pci_dev_present()drivers/pci/search.c+5 -50 replies
2/11PCI: Correctly clean up pci root buses in function pci_remove_bus()drivers/pci/remove.c+4 -50 replies
3/11PCI: Add pci_stop_and_remove_bus()drivers/pci/remove.c include/linux/pci.h+33 -00 replies
4/11PCI: Fix an access-after-free issue in function pci_stop_and_remove_bus()drivers/pci/remove.c+4 -10 replies
5/11PCI, acpiphp: Separate out hot-add support of pci host bridgedrivers/acpi/Makefile drivers/acpi/pci_root_hp.c drivers/pci/hotplug/acpiphp_glue.c+246 -300 replies
6/11PCI, ACPI: Make acpi_pci_root_remove remove pci root bus toodrivers/acpi/pci_root.c+14 -00 replies
7/11PCI, ACPI: Add pci_root_hp hot removal notification support.drivers/acpi/pci_root_hp.c+61 -00 replies
8/11PCI, ACPI: Add alloc_acpi_hp_work()drivers/acpi/osl.c include/acpi/acpiosxf.h+30 -00 replies
9/11PCI, acpiphp: Use acpi_hp_workdrivers/pci/hotplug/acpiphp_glue.c+6 -360 replies
10/11PCI, pci_root_hp: Use acpi_hp_workdrivers/acpi/pci_root_hp.c+3 -310 replies
11/11PCI, ACPI: Make kacpi_hotplug_wq staticdrivers/acpi/osl.c include/acpi/acpiosxf.h+1 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH part4 00/11] PCI, ACPI: pci root bus hotplug support - part4

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
Signature · 1 line
1.7.7