Skip to contentSkip to conversation

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

PATCH Marc Gonzalez 1 participant 1 message Feb 13, 2019 1 message not in the archive Arm Qualcomm mailing list

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 5 lines · Marc Gonzalez

My console locks up as soon as Linux writes to [88800000,88f00000[ AFAIU, that memory area is reserved for trustzone.

Extend the reserved memory range, to prevent Linux from stepping on trustzone's feet.

s/feet/toes/

Bjorn/Andy, could you fold this vital fixup into the final patch? ^_^

Quoted 28 lines
[    0.000000] early_memtest: # of tests: 17
[    0.000000]   0x0000000080000000 - 0x0000000080080000 pattern 4c494e5558726c7a
[    0.000000]   0x0000000080c7a000 - 0x0000000083200000 pattern 4c494e5558726c7a
[    0.000000]   0x0000000083205b94 - 0x0000000085800000 pattern 4c494e5558726c7a
[    0.000000]   0x0000000088f00000 - 0x00000000a1e00000 pattern 4c494e5558726c7a
[    0.000000]   0x00000000a2000000 - 0x000000017dbc06c8 pattern 4c494e5558726c7a
[    0.000000]   0x000000017dbc06f7 - 0x000000017dbc06f8 pattern 4c494e5558726c7a
Fixes c7833949564ec ("arm64: dts: qcom: msm8998: Add smem related nodes")
---
 arch/arm64/boot/dts/qcom/msm8998.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/msm8998.dtsi +1 -1
index d69401152089..f5ec83a91fe4 100644
@@ -38,7 +38,7 @@
 		};
 
 		memory@86200000 {
-			reg = <0x0 0x86200000 0x0 0x2600000>;
+			reg = <0x0 0x86200000 0x0 0x2d00000>;
 			no-map;
 		};