ARM: dts: msm: Update IPA load address for TUIVM

Newer hypervisor images have started loading TUI at the IPA address it
requests in devicetree (formerly 0xF3600000). This resuls in the below
error:

Hotplug memory [0x20400000-0x20600000] exceeds maximum addressable range
[0xc0000000-0x40bfffffff]

At bootup, linux configures memstart_addr to the lowest DDR address passed
by the bootloader, rounded down to PUD_SIZE (1 GB). It assumes that all
memory added via hotplug is above this.

As a temporary workaround, ensure the IPA load address is in the first
1GB of memory. This forces memstart_addr=0, and guarantees memory added
via hotplug will have an acceptable address.

Change-Id: I32a1cc58d9fd633f840b505d8be3bfb247ae29b1
This commit is contained in:
Patrick Daly
2022-04-22 20:21:34 -07:00
parent 95f0dab810
commit 666dd0d373

View File

@@ -104,7 +104,11 @@
memory {
#address-cells = <0x2>;
#size-cells = <0x0>;
base-address = <0x0 0xf3600000 >;
/*
* IPA address linux image is loaded at. Must be within
* first 1GB due to memory hotplug requirement.
*/
base-address = <0x0 0x28800000 >;
size-min = <0x0 0x49ee000>; /* 73 MB */
};