Skip to content

PCI: Add support for Cavium ThunderX RC and on-SoC devices.

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3PCI: Allow quirks to override SRIOV BARs.drivers/pci/iov.c+7 -20 replies
2/3PCI: Add quirks for devices found on Cavium ThunderX SoCs.drivers/pci/host/Kconfig drivers/pci/host/Makefile drivers/pci/host/quirks-thunder.c+102 -08 replies
3/3PCI: generic: Add support for Cavium ThunderX PCIe root complexes.Documentation/devicetree/bindings/pci/host-generic-pci.txt drivers/pci/host/pci-host-generic.c+34 -36 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchWill Deacon
1/3
2/3
3/3A-b

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

Read the v1 thread

Cover letter [PATCH 0/3] PCI: Add support for Cavium ThunderX RC and on-SoC devices.

From: David Daney <[email protected]>

The Cavium ThunderX arm64 based SoC needs a little bit of special handling for both its PCIe Root Complexes as well as on-SoC devices (which all appear as PCIe devices).

1/3 - Small change to allow SRIOV BARs to be given fixed addresses in
the header fixup.

2/3 - Add quirks to support fixed BAR addresses for all on-SoC devices,
including SRIOV BARs in the NIC.

3/3 - Add config spaces accessors to pci-host-generic driver for ThunderX RC.

This patch set depends on:

https://lkml.org/lkml/2015/9/17/799

David Daney (3):
PCI: Allow quirks to override SRIOV BARs.
PCI: Add quirks for devices found on Cavium ThunderX SoCs.
PCI: generic: Add support for Cavium ThunderX PCIe root complexes.

 .../devicetree/bindings/pci/host-generic-pci.txt   |  8 +-
 drivers/pci/host/Kconfig                           |  6 ++
 drivers/pci/host/Makefile                          |  1 +
 drivers/pci/host/pci-host-generic.c                | 29 +++++++
 drivers/pci/host/quirks-thunder.c                  | 95 ++++++++++++++++++++++
 drivers/pci/iov.c                                  |  9 +-
 6 files changed, 143 insertions(+), 5 deletions(-)
 create mode 100644 drivers/pci/host/quirks-thunder.c
Signature · 1 line
1.9.1