* [PATCH] arm64: dts: msm8994-angler: fix the memory map
@ 2022-12-30 19:48 Dominik Kobinski
2023-01-01 19:07 ` Petr Vorel
2023-01-10 16:17 ` Bjorn Andersson
0 siblings, 2 replies; 3+ messages in thread
From: Dominik Kobinski @ 2022-12-30 19:48 UTC (permalink / raw)
To: linux-arm-msm
Cc: pevik, agross, alexeymin, quic_bjorande, bribbers, devicetree,
konrad.dybcio, petr.vorel, 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.
Reported-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Dominik Kobinski <dominikkobinski314@gmail.com>
---
.../qcom/msm8994-huawei-angler-rev-101.dts | 19 ++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/msm8994-huawei-angler-rev-101.dts b/arch/arm64/boot/dts/qcom/msm8994-huawei-angler-rev-101.dts
index dbfbb77e9ff5..108bac7d22f1 100644
--- a/arch/arm64/boot/dts/qcom/msm8994-huawei-angler-rev-101.dts
+++ b/arch/arm64/boot/dts/qcom/msm8994-huawei-angler-rev-101.dts
@@ -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 {
--
2.30.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] arm64: dts: msm8994-angler: fix the memory map
2022-12-30 19:48 [PATCH] arm64: dts: msm8994-angler: fix the memory map Dominik Kobinski
@ 2023-01-01 19:07 ` Petr Vorel
2023-01-10 16:17 ` Bjorn Andersson
1 sibling, 0 replies; 3+ messages in thread
From: Petr Vorel @ 2023-01-01 19:07 UTC (permalink / raw)
To: Dominik Kobinski
Cc: linux-arm-msm, pevik, agross, alexeymin, quic_bjorande, bribbers,
devicetree, konrad.dybcio
Hi all,
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] arm64: dts: msm8994-angler: fix the memory map
2022-12-30 19:48 [PATCH] arm64: dts: msm8994-angler: fix the memory map Dominik Kobinski
2023-01-01 19:07 ` Petr Vorel
@ 2023-01-10 16:17 ` Bjorn Andersson
1 sibling, 0 replies; 3+ messages in thread
From: Bjorn Andersson @ 2023-01-10 16:17 UTC (permalink / raw)
To: linux-arm-msm, dominikkobinski314
Cc: petr.vorel, devicetree, pevik, bribbers, agross, quic_bjorande,
konrad.dybcio, alexeymin
On Fri, 30 Dec 2022 20:48:45 +0100, Dominik Kobinski wrote:
> 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,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-01-10 16:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-30 19:48 [PATCH] arm64: dts: msm8994-angler: fix the memory map Dominik Kobinski
2023-01-01 19:07 ` Petr Vorel
2023-01-10 16:17 ` Bjorn Andersson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).