arm64: dts: qcom: msm8998: Extend TZ reserved memory area [Linux 5.0]

arm64: dts: qcom: msm8998: Extend TZ reserved memory area [Linux 5.0]

This Linux kernel change "arm64: dts: qcom: msm8998: Extend TZ reserved memory area" is included in the Linux 5.0 release. This change is authored by Marc Gonzalez <marc.w.gonzalez [at] free.fr> on Mon Feb 25 11:41:33 2019 +0100. The commit for this change in Linux stable tree is 6e53330 (patch).

arm64: dts: qcom: msm8998: Extend TZ reserved memory area

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: [email protected] # 4.20+
Reviewed-by: Sibi Sankar <[email protected]>
Fixes: c7833949564ec ("arm64: dts: qcom: msm8998: Add smem related nodes")
Signed-off-by: Marc Gonzalez <[email protected]>
Signed-off-by: Andy Gross <[email protected]>

There are 2 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 arch/arm64/boot/dts/qcom/msm8998.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi
index 8d41b69..99bccaa 100644
--- a/arch/arm64/boot/dts/qcom/msm8998.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi
@@ -37,7 +37,7 @@
        };

        [email protected] {
-           reg = <0x0 0x86200000 0x0 0x2600000>;
+           reg = <0x0 0x86200000 0x0 0x2d00000>;
            no-map;
        };

Leave a Reply

Your email address will not be published. Required fields are marked *