Skip to content

arm64, pci: Add ECAM/PCIe support for Cavium ThunderX

David Daney linux-arm-kernel linux-pci lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 26 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5pci: Add is_pcierc element to struct pci_busdrivers/pci/probe.c include/linux/pci.h+3 -00 replies
2/5gic-its: Allow pci_requester_id to be overridden.drivers/irqchip/irq-gic-v3-its.c include/linux/irqchip/arm-gic-v3.h+15 -14 replies
3/5arm64, pci: Allow RC drivers to supply pcibios_add_device() implementation.arch/arm64/include/asm/pci.h arch/arm64/kernel/pci.c+13 -05 replies
4/5irqchip: gic-v3: Add gic_get_irq_domain() to get the irqdomain of the GIC.drivers/irqchip/irq-gic-v3.c include/linux/irqchip/arm-gic-v3.h+6 -08 replies
5/5PCI: Add host drivers for Cavium ThunderX processors.drivers/pci/host/Kconfig drivers/pci/host/Makefile drivers/pci/host/pcie-thunder-pem.c +1 more+898 -06 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/5] arm64, pci: Add ECAM/PCIe support for Cavium ThunderX

From: David Daney <[email protected]>

The subject pretty much says it all. The first four patches tweak the infrastructure a little so that we can get required behavior. The final patch adds the drivers.

David Daney (5):
pci: Add is_pcierc element to struct pci_bus
gic-its: Allow pci_requester_id to be overridden.
arm64, pci: Allow RC drivers to supply pcibios_add_device()
implementation.
irqchip: gic-v3: Add gic_get_irq_domain() to get the irqdomain of the
GIC.
PCI: Add host drivers for Cavium ThunderX processors.

 arch/arm64/include/asm/pci.h        |   3 +
 arch/arm64/kernel/pci.c             |  10 +
 drivers/irqchip/irq-gic-v3-its.c    |  14 +-
 drivers/irqchip/irq-gic-v3.c        |   5 +
 drivers/pci/host/Kconfig            |  12 +
 drivers/pci/host/Makefile           |   2 +
 drivers/pci/host/pcie-thunder-pem.c | 462 ++++++++++++++++++++++++++++++++++++
 drivers/pci/host/pcie-thunder.c     | 422 ++++++++++++++++++++++++++++++++
 drivers/pci/probe.c                 |   2 +
 include/linux/irqchip/arm-gic-v3.h  |   3 +
 include/linux/pci.h                 |   1 +
 11 files changed, 935 insertions(+), 1 deletion(-)
 create mode 100644 drivers/pci/host/pcie-thunder-pem.c
 create mode 100644 drivers/pci/host/pcie-thunder.c
Signature · 1 line
1.9.1