drivers: pcie: late initialization of pcie when PCIe controller is used
For architectures that rely on a PCIe controller (for example, ARM64), scanning the PCI space will only succeed after the controller has initialized. Therefore, in the presence of PCIe controller, the PCIe initialization is bumped to the next system init level. In the past, drivers like ivshmem would do a late scan of the PCI space in case the early scan failed; however, the cited commit removed this feature and ivshmem fails for ARM64. This commit fix this by making the early scan succeed. Fixes: a96016d7 ("drivers: ivshmem: Remove unnecessary BDF lookup ...") Signed-off-by:Rodrigo Cataldo <rodrigo.cataldo@huawei.com> Co-authored-by:
Henri Xavier <datacomos@huawei.com>
Loading
Please sign in to comment