Skip to content

ACPI based root bridge hot-add

Rajesh Shah linux-acpi linux-ia64 lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12ACPI based root bridge hot-addarch/i386/pci/common.c arch/i386/pci/legacy.c arch/i386/pci/numa.c +7 more+53 -80 replies
2/12Fix pci_enable_device() for p2p bridgesarch/ia64/pci/pci.c+7 -30 replies
3/12Make pcibios_fixup_bus() hot-plug safearch/ia64/pci/pci.c+21 -10 replies
4/12Prevent duplicate bus numbers when scanning PCI bridgedrivers/pci/probe.c+10 -20 replies
5/12Take the PCI lock when modifying pci bus or device listsdrivers/pci/probe.c+11 -10 replies
6/12Link newly created pci child bus to its parent on creationdrivers/pci/bus.c drivers/pci/probe.c+9 -62 replies
7/12Make the PCI remove routines safe for failed hot-plugdrivers/pci/remove.c+9 -51 reply
8/12Remove hot-plugged devices that could not be allocated resourcesdrivers/pci/setup-bus.c+4 -10 replies
9/12Read bridge resources when fixing up the busarch/ia64/pci/pci.c+4 -00 replies
10/12Allow ACPI .add and .start operations to be done independentlydrivers/acpi/container.c drivers/acpi/processor_core.c drivers/acpi/scan.c +1 more+119 -280 replies
11/12Export the interface to get PCI id for an ACPI handledrivers/acpi/pci_bind.c include/acpi/acpi_drivers.h+6 -60 replies
12/12ACPI based root bridge hot-adddrivers/pci/hotplug/acpiphp_glue.c+202 -90 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC/Patch 0/12] ACPI based root bridge hot-add

Here is a series of patches to support ACPI hot-add of a root bridge hierarchy. The added hierarchy may contain other p2p bridges and end/leaf I/O devices too. The root bridge itself is assumed to have been assigned resource ranges, but the p2p bridges and end devices are not required to be initialized by firmware. Most of the code changes are to make the existing code flows suitable for such a hierarchy of bridges & devices.

This code supports hot-add on ia64 only for now.It does not yet support I/O APIC hot-add, which is needed to make this fully functional. The patches are against 2.6.11-mm4 (plus the patch needed for ia64 to boot). I've tested to make sure this does not break end/leaf device hotplug on the hotplug capable ia64 box I have.

Thanks,
Rajesh