OSDN Git Service

arm64: dts: qcom: msm8998: Extend TZ reserved memory area
authorMarc Gonzalez <marc.w.gonzalez@free.fr>
Mon, 25 Feb 2019 10:41:33 +0000 (11:41 +0100)
committerAndy Gross <andy.gross@linaro.org>
Wed, 27 Feb 2019 05:32:11 +0000 (23:32 -0600)
My console locks up as soon as Linux writes to [88800000,88f00000[
AFAIU, that memory area is reserved for trustzone.

Extend TZ reserved memory range, to prevent Linux from stepping on
trustzone's toes.

Cc: stable@vger.kernel.org # 4.20+
Reviewed-by: Sibi Sankar <sibis@codeaurora.org>
Fixes: c7833949564ec ("arm64: dts: qcom: msm8998: Add smem related nodes")
Signed-off-by: Marc Gonzalez <marc.w.gonzalez@free.fr>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm64/boot/dts/qcom/msm8998.dtsi

index 8d41b69..99bccaa 100644 (file)
@@ -37,7 +37,7 @@
                };
 
                memory@86200000 {
-                       reg = <0x0 0x86200000 0x0 0x2600000>;
+                       reg = <0x0 0x86200000 0x0 0x2d00000>;
                        no-map;
                };