[PATCH 0/5] Add AMD Versal CPM/QDMA PCIe support
Pranav Sanwal <[email protected]>
| Newsgroups | org.u-boot-project.lists.u-boot |
|---|---|
| Message-ID | <[email protected]> |
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 -- 2.43.7