From patchwork Wed Dec 21 22:03:42 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Gross X-Patchwork-Id: 9483829 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 33F50601D2 for ; Wed, 21 Dec 2016 22:05:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2597B28481 for ; Wed, 21 Dec 2016 22:05:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 18ADD28494; Wed, 21 Dec 2016 22:05:50 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A853A28481 for ; Wed, 21 Dec 2016 22:05:49 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cJozh-0001fu-MU; Wed, 21 Dec 2016 22:04:17 +0000 Received: from mail-oi0-x232.google.com ([2607:f8b0:4003:c06::232]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cJoza-0001eE-OK for linux-arm-kernel@lists.infradead.org; Wed, 21 Dec 2016 22:04:12 +0000 Received: by mail-oi0-x232.google.com with SMTP id v84so223528624oie.3 for ; Wed, 21 Dec 2016 14:03:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=uiBjN8ZKSl/GnPptPLQEzKRGW6KFyakiwUzhncd55TA=; b=Nx/vdNiNXzHiQSfG/XyKn6bxBfzSA/KR7cShSSMM/fbq2uA37adIffik/iI/PJhw8r E3AdLTue+CohTk9+yCOJZmTzVq8Be277ZAeOgV91DR+BtUTX2yvfNCZsfnt1cmUvT+86 XHNMPAFFDHQgVvJuOfaFmMMeFPMk0hQ4oqB3s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=uiBjN8ZKSl/GnPptPLQEzKRGW6KFyakiwUzhncd55TA=; b=P/NhBWcac/Y24+qYnRnJ0Y6af3ZAj9WFUIL/ShibiDm7iY424Y4MS+hb0IFb134cDf xZHjIQtc9BbvbH5M1SbAvD6GM87VOkev4JQueny7XuIUYHqQqJ26TV04ooPYMLaCmvSr dYwdvf8TrgvHN6Lu/+zboOvALaXGY3oLIiBCOaEKxRgqqUqpjD36fUecAs+2CbuVkvl4 tWItNDmhwgiOeH25Is+eHffnrVeVyXPodkLEb1X+JmPWIGN2TOdrDNG7WGgI5QXjQFnp En4fwCNj/0RJZ/duXhFL1XKCaNSMTZyMdYyamt0NtVR0Nkb8qM8wEKwMZ71Z4pZpZ5CO 1cag== X-Gm-Message-State: AIkVDXJo8p+nGg1pcqvkds41+czIfyVO5qwQ6KRIvjCSTEk4ILyqvAf+boqpNLu4N/ft4dzY X-Received: by 10.202.93.139 with SMTP id r133mr3719808oib.18.1482357828548; Wed, 21 Dec 2016 14:03:48 -0800 (PST) Received: from localhost ([2602:306:3406:6500:d0a5:bdc7:95e3:aad5]) by smtp.gmail.com with ESMTPSA id 61sm12704717otb.8.2016.12.21.14.03.47 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Wed, 21 Dec 2016 14:03:48 -0800 (PST) From: Andy Gross To: linux-arm-msm@vger.kernel.org Subject: [PATCH] arm64: dts: msm8996: Add required memory carveouts Date: Wed, 21 Dec 2016 16:03:42 -0600 Message-Id: <1482357822-20823-1-git-send-email-andy.gross@linaro.org> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161221_140410_902372_00CAEF46 X-CRM114-Status: UNSURE ( 8.75 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Nicolas Dechesne , Andy Gross , Rob Clark , Stephen Boyd , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Stephen Boyd This patch adds required memory carveouts so that the kernel does not access memory that is in use or has been reserved for use by other remote processors. Signed-off-by: Andy Gross Signed-off-by: Stephen Boyd Reviewed-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index cde4114..25e11dc 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -64,6 +64,16 @@ reg = <0x0 0x86000000 0x0 0x200000>; no-map; }; + + memory@85800000 { + reg = <0x0 0x85800000 0x0 0x800000>; + no-map; + }; + + memory@86200000 { + reg = <0x0 0x86200000 0x0 0x2600000>; + no-map; + }; }; cpus {