Re: [PATCH v2 5/9] pci: pcie_dw_rockchip: Hide BARs of the root complex

2023-07-13 Thread Jonas Karlman
Hi Kever, On 2023-06-29 12:25, Kever Yang wrote: > Hi Jonas, > >     Sorry for reply late for this patch. > >     I have check internally again for this BAR issue, the BAR alloce > fail for RC would not affect other process, and it always works on > vendor U-Boot tree. The issue is not that

Re: [PATCH v2 5/9] pci: pcie_dw_rockchip: Hide BARs of the root complex

2023-06-29 Thread Kever Yang
Hi Jonas,     Sorry for reply late for this patch.     I have check internally again for this BAR issue, the BAR alloce fail for RC would not affect other process, and it always works on vendor U-Boot tree.     And if we have to handle this, we can disable the BAR instead of this

[PATCH v2 5/9] pci: pcie_dw_rockchip: Hide BARs of the root complex

2023-05-17 Thread Jonas Karlman
PCI Autoconfig read the Root Complex BARs and try to claim the entire 1 GiB memory region on RK3568, leaving no space for any attached device. With a memory region less than 1 GiB this was not a real issue: PCI Autoconfig: Bus Memory region: [0-3eef], PCI Autoconfig: Bus I/O region: