Skip to content
Commit bcb39615 authored by Rodrigo Cataldo's avatar Rodrigo Cataldo Committed by Carles Cufí
Browse files

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: default avatarRodrigo Cataldo <rodrigo.cataldo@huawei.com>
Co-authored-by: default avatarHenri Xavier <datacomos@huawei.com>
parent 0efb0f55
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment