From patchwork Tue Feb 12 15:16:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Gonzalez X-Patchwork-Id: 10808173 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F153713A4 for ; Tue, 12 Feb 2019 15:17:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E063F2BB85 for ; Tue, 12 Feb 2019 15:17:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D4ACD2BB96; Tue, 12 Feb 2019 15:17:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 849B92BB98 for ; Tue, 12 Feb 2019 15:17:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728886AbfBLPRD (ORCPT ); Tue, 12 Feb 2019 10:17:03 -0500 Received: from smtp3-g21.free.fr ([212.27.42.3]:26526 "EHLO smtp3-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728524AbfBLPRD (ORCPT ); Tue, 12 Feb 2019 10:17:03 -0500 Received: from [192.168.108.68] (unknown [213.36.7.13]) (Authenticated sender: marc.w.gonzalez) by smtp3-g21.free.fr (Postfix) with ESMTPSA id C49C413F8EA; Tue, 12 Feb 2019 16:16:44 +0100 (CET) To: Bjorn Andersson , Andy Gross , David Brown Cc: MSM , Jeffrey Hugo , Evan Green , Douglas Anderson , Lee Jones From: Marc Gonzalez Subject: [PATCH] arm64: dts: qcom: msm8998: Extend reserved memory area Message-ID: <89492342-018b-3e5d-563c-026ad83458c4@free.fr> Date: Tue, 12 Feb 2019 16:16:44 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 Content-Language: en-US Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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. [ 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@vger.kernel.org # 4.20+ Fixes: c7833949564ec ("arm64: dts: qcom: msm8998: Add smem related nodes") Signed-off-by: Marc Gonzalez Reviewed-by: Sibi Sankar --- 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; };