
On Monday 17 May 2021 08:39:56 Pali Rohár wrote:
For some configurations with more PCIe cards and PCIe bridges 16 MiB of PCIe MEM space is not enough. Since TF-A already allocates a 128 MiB CPU window for PCIe and IO port space is only 64 KiB in total, use all the remaining space for PCIe MEM.
Signed-off-by: Pali Rohár pali@kernel.org Reviewed-by: Marek Behún marek.behun@nic.cz
arch/arm/dts/armada-37xx.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/dts/armada-37xx.dtsi b/arch/arm/dts/armada-37xx.dtsi index b7d325b40577..f85fe38ad11c 100644 --- a/arch/arm/dts/armada-37xx.dtsi +++ b/arch/arm/dts/armada-37xx.dtsi @@ -333,9 +333,9 @@
bus-range = <0 0xff>; ranges = <0x82000000 0 0xe8000000
0 0xe8000000 0 0x1000000 /* Port 0 MEM */
0x81000000 0 0xe9000000
0 0xe9000000 0 0x10000>; /* Port 0 IO*/
0 0xe8000000 0 0xefff0000 /* Port 0 MEM */
Ou, this is mistake. Size should be 0xefff0000-0xe8000000 = 0x7ff0000.
I will send a new patch version.
0x81000000 0 0xefff0000
}; };0 0xefff0000 0 0x10000>; /* Port 0 IO*/
};
2.20.1