arm64: dts: msm8994-angler: fix the memory map
PATCH 1/1 arm64: dts: msm8994-angler: fix the memory map
Add reserved regions for memory hole and tz app mem to prevent rebooting. Also enable cont_splash_mem, it is the same as the generic 8994 one.
Reported-by Petr Vorel <[email protected]>
Signed-off-by Dominik Kobinski <[email protected]>
--- .../qcom/msm8994-huawei-angler-rev-101.dts | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/qcom/msm8994-huawei-angler-rev-101.dts +16 -3
@@ -8,9 +8,6 @@ #include "msm8994.dtsi" -/* Angler's firmware does not report where the memory is allocated */ -/delete-node/ &cont_splash_mem; - / { model = "Huawei Nexus 6P"; compatible = "huawei,angler", "qcom,msm8994";
@@ -27,6 +24,22 @@ aliases { chosen { stdout-path = "serial0:115200n8"; }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + tzapp_mem: tzapp@4800000 { + reg = <0 0x04800000 0 0x1900000>; + no-map; + }; + + removed_region: reserved@6300000 { + reg = <0 0x06300000 0 0xD00000>; + no-map; + }; + }; }; &blsp1_uart2 {
Signature · 1 line
2.30.2
Hi all,
Reviewed-by Petr Vorel <[email protected]>
Thanks for this fix, LGTM. Angler is now looks to be stable, I do more testing next week.
You also fixed cont_splash_mem. My commit 0e5ded926f2a ("arm64: dts:
qcom: msm8994-angler: Disable cont_splash_mem")
was based on LineageOS kernel, which hides memory. I should have known this and searched more :).
Kind regards,
Petr
Quoted 5 lines · Dominik Kobinski
Add reserved regions for memory hole and tz app mem to prevent rebooting. Also enable
cont_splash_mem, it is the same as the generic 8994 one.
Applied, thanks!
[1/1] arm64: dts: msm8994-angler: fix the memory map
commit: 380cd3a34b7f9825a60ccb045611af9cb4533b70
Best regards,
Signature · 1 line
Bjorn Andersson <[email protected]>