Skip to content

Add AMD Versal CPM/QDMA PCIe support

Pranav Sanwal u-boot 1 version Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5pci: Add pci_generic_mmap_write_config32() helperdrivers/pci/pci-uclass.c include/pci.h+68 -00 replies
2/5pci: Add support for AMD QDMA PL PCIe root portMAINTAINERS drivers/pci/Kconfig drivers/pci/Makefile +1 more+221 -00 replies
3/5pci: Add support for CPM4 and CPM5 PCIe controllersMAINTAINERS drivers/pci/Kconfig drivers/pci/Makefile +1 more+378 -00 replies
4/5arm64: versal: Add MMU mappings for CPM5 ECAM config spacearch/arm/mach-versal/cpu.c+20 -00 replies
5/5arm64: versal: Enable PCIe/NVMe support and add NVMe boot targetconfigs/xilinx_versal_virt_defconfig include/configs/xilinx_versal.h+13 -00 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] Add AMD Versal CPM/QDMA PCIe support

This series adds PCIe root port support for the AMD Versal CPM4, CPM5 and QDMA PL (soft IP) host bridges, and enables it along with NVMe storage on the xilinx_versal_virt platform.

Patch 1 adds a generic mmap config-space write helper for host bridges that only decode 32-bit accesses.
Patches 2 and 3 add the QDMA PL and CPM4/CPM5 host bridge drivers, respectively.
Patch 4 maps the CPM5 ECAM windows as device memory so config space accesses are not cached or reordered.
Patch 5 wires everything up in the versal_virt defconfig and adds NVMe as a distro boot target.

Pranav Sanwal (5):
pci: Add pci_generic_mmap_write_config32() helper
pci: Add support for AMD QDMA PL PCIe root port
pci: Add support for CPM4 and CPM5 PCIe controllers
arm64: versal: Add MMU mappings for CPM5 ECAM config space
arm64: versal: Enable PCIe/NVMe support and add NVMe boot target

 MAINTAINERS                          |  10 +
 arch/arm/mach-versal/cpu.c           |  20 ++
 configs/xilinx_versal_virt_defconfig |   6 +
 drivers/pci/Kconfig                  |  19 ++
 drivers/pci/Makefile                 |   2 +
 drivers/pci/pci-uclass.c             |  42 ++++
 drivers/pci/pcie_amd_cpm.c           | 363 +++++++++++++++++++++++++++
 drivers/pci/pcie_amd_qdma_pl.c       | 205 +++++++++++++++
 include/configs/xilinx_versal.h      |   7 +
 include/pci.h                        |  26 ++
 10 files changed, 700 insertions(+)
 create mode 100644 drivers/pci/pcie_amd_cpm.c
 create mode 100644 drivers/pci/pcie_amd_qdma_pl.c
Signature · 1 line
2.43.7