Skip to content

PCI: move DT PCI functions to PCI core

Rob Herring linux-devicetree linux-pci linuxppc-dev lkml 1 version Applied

Status from this message: Applied to pci/dt-resources for v4.16, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3PCI: move OF related PCI functions into PCI corearch/arm/mach-mvebu/Kconfig drivers/of/Kconfig drivers/of/Makefile +5 more+510 -5400 replies
2/3powerpc/pci: use of_irq_parse_and_map_pci helperarch/powerpc/kernel/pci-common.c+1 -70 replies
3/3PCI: make of_irq_parse_pci staticdrivers/pci/of.c include/linux/of_pci.h+1 -80 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] PCI: move DT PCI functions to PCI core

Most subsystem specific functions have been moved into the respective subsystems. Only PCI and networking remain. This series moves most of the PCI related code to drivers/pci/of.c. Some bus address functions for PCI remain in of/address.c because we don't have infrastructure to split up the per bus helper functions.

I expect Bjorn to take this series, so PPC maintainers please ack.

Rob

Rob Herring (3):
PCI: move OF related PCI functions into PCI core powerpc/pci: use of_irq_parse_and_map_pci helper
PCI: make of_irq_parse_pci static

 arch/arm/mach-mvebu/Kconfig      |   1 -
 arch/powerpc/kernel/pci-common.c |   8 +-
 drivers/of/Kconfig               |  16 --
 drivers/of/Makefile              |   2 -
 drivers/of/address.c             |   8 +-
 drivers/of/of_pci.c              | 384 -----------------------------
 drivers/of/of_pci_irq.c          | 131 ----------
 drivers/pci/of.c                 | 505 +++++++++++++++++++++++++++++++++++++++
 include/linux/of_pci.h           |   8 +-
 9 files changed, 510 insertions(+), 553 deletions(-)
 delete mode 100644 drivers/of/of_pci.c
 delete mode 100644 drivers/of/of_pci_irq.c