arm64: dts: qcom: Move rmtfs memory region
authorSujit Kautkar <sujitka@chromium.org>
Tue, 30 Mar 2021 01:46:10 +0000 (18:46 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sun, 4 Apr 2021 18:03:46 +0000 (13:03 -0500)
Move rmtfs memory region so that it does not overlap with system
RAM (kernel data) when KAsan is enabled. This puts rmtfs right
after mba_mem which is not supposed to increase beyond 0x94600000

Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Sujit Kautkar <sujitka@chromium.org>
Link: https://lore.kernel.org/r/20210330014610.1451198-1-sujitka@chromium.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi
arch/arm64/boot/dts/qcom/sc7180.dtsi

index 5a01aac..24d293e 100644 (file)
@@ -49,7 +49,7 @@
 
 /* Increase the size from 2MB to 8MB */
 &rmtfs_mem {
-       reg = <0x0 0x84400000 0x0 0x800000>;
+       reg = <0x0 0x94600000 0x0 0x800000>;
 };
 
 / {
index 83fbb48..a6da78d 100644 (file)
                        no-map;
                };
 
-               rmtfs_mem: memory@84400000 {
+               rmtfs_mem: memory@94600000 {
                        compatible = "qcom,rmtfs-mem";
-                       reg = <0x0 0x84400000 0x0 0x200000>;
+                       reg = <0x0 0x94600000 0x0 0x200000>;
                        no-map;
 
                        qcom,client-id = <1>;