]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: qcom: qcm6490-fairphone-fp5: Add missing reserved-memory
authorLuca Weiss <luca.weiss@fairphone.com>
Fri, 29 Dec 2023 12:53:17 +0000 (13:53 +0100)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:16:34 +0000 (18:16 -0400)
[ Upstream commit 5dbbe7e0a2b91ac5901ee188724a997004759171 ]

It seems we also need to reserve a region of 81 MiB called "removed_mem"
otherwise we can easily hit the following error with higher RAM usage:

  [ 1467.809274] Internal error: synchronous external abort: 0000000096000010 [#2] SMP

Fixes: eee9602ad649 ("arm64: dts: qcom: qcm6490: Add device-tree for Fairphone 5")
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20231229-fp5-reserved-mem-v1-1-87bb818f1397@fairphone.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts

index 176898c9dbbd72672dce448f4b747aef022820e3..1e85c43a6fd14f674c2af7762f506f64a2a11d6b 100644 (file)
                        no-map;
                };
 
+               removed_mem: removed@c0000000 {
+                       reg = <0x0 0xc0000000 0x0 0x5100000>;
+                       no-map;
+               };
+
                rmtfs_mem: memory@f8500000 {
                        compatible = "qcom,rmtfs-mem";
                        reg = <0x0 0xf8500000 0x0 0x600000>;