On Mon, 25 Jan 2021 12:48:03 +0800, Zhiqiang Hou wrote: > In the dw_pcie_ep_init(), it depends on the detected iATU region > numbers to allocate the in/outbound window management bit map. > It fails after the commit 281f1f99cf3a ("PCI: dwc: Detect number > of iATU windows"). > > So this patch move the iATU region detection into a new function, > move forward the detection to the very beginning of functions > dw_pcie_host_init() and dw_pcie_ep_init(). And also remove it > from the dw_pcie_setup(), since it's more like a software > perspective initialization step than hardware setup. Applied to pci/dwc, thanks! [1/1] PCI: dwc: Move forward the iATU detection process https://git.kernel.org/lpieralisi/pci/c/5ff8ca16f8 Thanks, Lorenzo