Skip to content

pci: xgene: Add multiple memory ranges support

Duc Dang linux-arm-kernel linux-devicetree linux-pci lkml 2 versions – Applied

Status from this message: Applied to pci/host-xgene for v4.3, with changelogs as follows, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesApplied
  2. v22 patches 3 repliesSuperseded

Changes in v3 from the cover letter

1. Explicitly mention in change log that: Each PCIe node in dts will have 1 32-bit non-prefetchable memory window and 1 64-bit prefetchable memory window.

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2arm64: dts: Add 1 more window with large size for X-Gene PCIe nodesarch/arm64/boot/dts/apm/apm-storm.dtsi+14 -90 replies
2/2pci: xgene: Fix driver to handle multiple memory rangesdrivers/pci/host/pci-xgene.c+10 -20 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/2] pci: xgene: Add multiple memory ranges support

This patch set adds 1 large (up to 64GB) memory window for each PCIe controller nodes in X-Gene device tree and fix PCIe controller driver to handle multiple memory ranges correctly. These changes are required to support PCIe devices that have huge BAR.

v3 changes:
1. Explicitly mention in change log that: Each PCIe node in dts will have 1 32-bit non-prefetchable memory window and 1 64-bit prefetchable memory window.

v2 changes:
1. Separate device-tree changes and driver changes into different patches
2. Explicitly define new large window as 64-bit prefetchable in dts.
3. Use IORESOURCE_PREFETCH flag to determine which PCIe controller register to be used to configure the memory ranges.

 arch/arm64/boot/dts/apm/apm-storm.dtsi | 23 ++++++++++++++---------
 drivers/pci/host/pci-xgene.c           | 12 ++++++++++--
 2 files changed, 24 insertions(+), 11 deletions(-)
Signature · 1 line
1.9.1