Skip to content

ARM: PCI: implement generic PCI host controller

Will Deacon linux-arm-kernel linux-pci 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 0 repliesNew
  2. v23 patches 0 repliesSuperseded
  3. v13 patches 0 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ARM: mach-virt: allow PCI support to be selectedarch/arm/mach-virt/Kconfig+1 -00 replies
2/3ARM: bios32: use pci_enable_resource to enable PCI resourcesarch/arm/kernel/bios32.c+3 -341 reply
2/3ARM: bios32: use pci_enable_resource to enable PCI resources+0 -00 replies
2/3ARM: bios32: use pci_enable_resource to enable PCI resourcesarch/arm/kernel/bios32.c+31 -32 replies
2/3ARM: bios32: use pci_enable_resource to enable PCI resources+0 -00 replies
3/3PCI: ARM: add support for generic PCI host controllerDocumentation/devicetree/bindings/pci/host-generic-pci.txt drivers/pci/host/Kconfig drivers/pci/host/Makefile +1 more+477 -02 replies
3/3PCI: ARM: add support for generic PCI host controller+0 -03 replies
3/3PCI: ARM: add support for generic PCI host controller+0 -01 reply
3/3PCI: ARM: add support for generic PCI host controller+0 -01 reply
3/3PCI: ARM: add support for generic PCI host controller+0 -00 replies
3/3PCI: ARM: add support for generic PCI host controller+0 -00 replies
3/3PCI: ARM: add support for generic PCI host controller+0 -00 replies
3/3PCI: ARM: add support for generic PCI host controller+0 -01 reply
3/3PCI: ARM: add support for generic PCI host controller+0 -00 replies
3/3PCI: ARM: add support for generic PCI host controller+0 -00 replies
3/3PCI: ARM: add support for generic PCI host controller+0 -01 reply
3/3PCI: ARM: add support for generic PCI host controller+0 -00 replies

Reviews trailers per patch

None of the 17 patches has a Reviewed-by or Acked-by.

PatchJason GunthorpeJingoo HanRussell King
1/3
2/3T-b T-b T-b
2/3T-b T-b T-b
2/3T-b T-b T-b
2/3T-b T-b T-b
3/3
3/3
3/3
3/3
3/3
3/3
3/3
3/3
3/3
3/3
3/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/3] ARM: PCI: implement generic PCI host controller

Hi,

This is version 3 of the patches previously posted here:

v1: http://lists.infradead.org/pipermail/linux-arm-kernel/2014-February/229679.html
v2: http://lists.infradead.org/pipermail/linux-arm-kernel/2014-February/232213.html

Changes since v2 include:

- Tightening up of the DT requirements:
* Must have at least a non-prefetchable memory region
* "reg" property now defines a base and size for config space
* bus-range property supported and used in conjunction with "reg"
* device_type must be "pci"

- Fixed bus mapping so we don't sleep in atomic

- Updated compatible strings and file names to get rid of "arm"

- Added a really dumb I/O space allocator

- Moved a bunch of ->probe() into ->setup(). Note that I've not included Arnd's patch to propagate ->setup() failures back to ->probe(), so despite the use of devm_* to manage resource allocations, I still have explicit cleanup code on the failure paths.

All feedback welcome.

Will

Will Deacon (3):
ARM: mach-virt: allow PCI support to be selected
ARM: bios32: use pci_enable_resource to enable PCI resources
PCI: ARM: add support for generic PCI host controller

 .../devicetree/bindings/pci/host-generic-pci.txt   |  88 +++++
 arch/arm/kernel/bios32.c                           |  37 +-
 arch/arm/mach-virt/Kconfig                         |   1 +
 drivers/pci/host/Kconfig                           |   7 +
 drivers/pci/host/Makefile                          |   1 +
 drivers/pci/host/pci-host-generic.c                | 381 +++++++++++++++++++++
 6 files changed, 481 insertions(+), 34 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/pci/host-generic-pci.txt
 create mode 100644 drivers/pci/host/pci-host-generic.c
Signature · 1 line
1.8.2.2