When a Zynq UltraScale+ MPSoC PL Bridge is Root Port (DMA/Bridge Subsystem for PCI Express - Bridge mode) and driver enabled in PetaLinux, the driver compilation fails.
The compilation failure is due to a change in PCIe subsystem APIs in Kernel 4.19.
This article is part of the PCI Express Solution Centre
|(Xilinx Answer 34536)||Xilinx Solution Center for PCI Express|
To address the issue, please install the tactical patch attached to this answer record.
The patch removes the deprecated API of_pci_get_host_bridge_resources () and uses the new kernel API devm_of_pci_get_host_bridge_resources() to fix the compilation error.
Please refer to the link below for guidance on installing the patch.
05/30/2019 - Initial Release