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: 9483823 X-Patchwork-Delegate: agross@codeaurora.org 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 4B986601D2 for ; Wed, 21 Dec 2016 22:04:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3BBAC28481 for ; Wed, 21 Dec 2016 22:04:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2DD4428494; Wed, 21 Dec 2016 22:04:45 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 B53AF28481 for ; Wed, 21 Dec 2016 22:04:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755957AbcLUWEn (ORCPT ); Wed, 21 Dec 2016 17:04:43 -0500 Received: from mail-oi0-f54.google.com ([209.85.218.54]:35262 "EHLO mail-oi0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751316AbcLUWEm (ORCPT ); Wed, 21 Dec 2016 17:04:42 -0500 Received: by mail-oi0-f54.google.com with SMTP id b126so224224489oia.2 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=g2WF7bXt8hO8EkzdJmGVQpila0uwlDBKuOHJaOGOTHAj72cwQECF0SIQz5oZ0BvsTy slTdagExHKnICc7sEsuiOgniqIviqYnEi3Qe4KmChBfVdCHwLpuHQ7GNubDV8In1Vmyj 946zpBubOt43cBCpeVhxfxnWPRa6SfkPLi/hPOuWDajmNcKtXfqg4+ALYAuLj4G1zvAO +wx58hdn+N3a5E9tp9bYY6+QMU3KQi2b3VC/ZxBplcgPDTzeKwe1ZoyHRUBC5IPWhgFD UFndL3gg2TyqK2FnFFfc8l7qjLxMi92+GqYWqM8FQoT+ETWUNfn04ZUfcBsRfZYz8jbH Qo0Q== X-Gm-Message-State: AIkVDXJhuvv5gJClcxI/Vqt4K3KYeMwcRnUZTP0fKAgK28th9jr4mDKyGO4eXFDzxDOafPkB 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 Cc: Stephen Boyd , linux-arm-kernel@lists.infradead.org, Rob Clark , Nicolas Dechesne , Andy Gross 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 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 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 {