Re: [PATCH v4 5/9] pci: pcie_dw_rockchip: Disable unused BARs of the root complex

2023-07-25 Thread Kever Yang
On 2023/7/22 21:30, Jonas Karlman wrote: From: Jon Lin The Root Complex BARs default to claim the full 1 GiB memory region on RK3568, leaving no space for any attached device. Fix this by disable the unused BAR 0 and BAR 1 of the RC. Signed-off-by: Jon Lin [jo...@kwiboo.se: Move to rk_pcie

[PATCH v4 5/9] pci: pcie_dw_rockchip: Disable unused BARs of the root complex

2023-07-22 Thread Jonas Karlman
From: Jon Lin The Root Complex BARs default to claim the full 1 GiB memory region on RK3568, leaving no space for any attached device. Fix this by disable the unused BAR 0 and BAR 1 of the RC. Signed-off-by: Jon Lin [jo...@kwiboo.se: Move to rk_pcie_configure and use PCI_BASE_ADDRESS_0/1 const