Re: [PATCH] PCI: dwc: Move forward the iATU detection process

From: Lorenzo Pieralisi
Date: Mon Mar 22 2021 - 14:10:04 EST


On Mon, Mar 22, 2021 at 06:03:57PM +0000, Lorenzo Pieralisi wrote:
> 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

Bjorn will queue it for v5.12, so I have dropped it, ignore
this notification.

Thanks,
Lorenzo