Re: [PATCH] arm64: dts: qcom: msm8998: Extend reserved memory area

From: Marc Gonzalez
Date: Wed Feb 13 2019 - 04:38:28 EST


On 12/02/2019 16:16, Marc Gonzalez wrote:

> 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? ^_^

> [ 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
>
> Cc: stable@xxxxxxxxxxxxxxx # 4.20+
> Fixes: c7833949564ec ("arm64: dts: qcom: msm8998: Add smem related nodes")
> Signed-off-by: Marc Gonzalez <marc.w.gonzalez@xxxxxxx>
> ---
> 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 d69401152089..f5ec83a91fe4 100644
> --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi
> +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi
> @@ -38,7 +38,7 @@
> };
>
> memory@86200000 {
> - reg = <0x0 0x86200000 0x0 0x2600000>;
> + reg = <0x0 0x86200000 0x0 0x2d00000>;
> no-map;
> };
>