Skip to content

export acpi_pci_root to find pci_bus correctly

Alex Chiang linux-acpi lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 4 repliesIn review
  2. v22 patches 4 repliesSuperseded
  3. v13 patches 4 repliesSuperseded

Changes in v3 from the cover letter

- don't depend on acpi_is_root_bridge (Bjorn Helgaas)

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ACPI: export acpi_pci_root and friendsdrivers/acpi/pci_root.c include/acpi/acpi_bus.h+18 -151 reply
2/2PCI Hotplug: acpiphp: get pci_bus from acpi handle correctlydrivers/pci/hotplug/acpiphp_glue.c+17 -113 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchBjorn Helgaas
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] export acpi_pci_root to find pci_bus correctly

This is v3 of a patch series that:

a) exports struct acpi_pci_root
b) fixes an assumption in acpiphp about finding struct pci_bus

It's a minimal fix that's aimed at -rc5, as (b) fixes an assumption introduced in -rc1.

I'll send the rest of the cleanups for linux-next later, after doing some more testing.

Original thread here:

	http://thread.gmane.org/gmane.linux.kernel.pci/5080

v2 -> v3:
- don't depend on acpi_is_root_bridge (Bjorn Helgaas)

v1 -> v2:
- fixed build error in acpi_pci_root
- reduced patch series in scope to be much smaller

---

Alex Chiang (2):
ACPI: export acpi_pci_root and friends
PCI Hotplug: acpiphp: get pci_bus from acpi handle correctly

 drivers/acpi/pci_root.c            |   17 ++---------------
 drivers/pci/hotplug/acpiphp_glue.c |   28 +++++++++++++++++-----------
 include/acpi/acpi_bus.h            |   16 ++++++++++++++++
 3 files changed, 35 insertions(+), 26 deletions(-)