From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 41ECCC433FE for ; Wed, 1 Dec 2021 15:11:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237476AbhLAPOk (ORCPT ); Wed, 1 Dec 2021 10:14:40 -0500 Received: from relay06.th.seeweb.it ([5.144.164.167]:47341 "EHLO relay06.th.seeweb.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229933AbhLAPOk (ORCPT ); Wed, 1 Dec 2021 10:14:40 -0500 Received: from [192.168.1.101] (83.6.166.111.neoplus.adsl.tpnet.pl [83.6.166.111]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by m-r2.th.seeweb.it (Postfix) with ESMTPSA id B13AE3F6AE; Wed, 1 Dec 2021 16:11:17 +0100 (CET) Message-ID: Date: Wed, 1 Dec 2021 16:11:17 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: Re: [PATCH 05/15] arm64: dts: qcom: sm8450: Add reserved memory nodes Content-Language: en-US To: Vinod Koul , Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org, Andy Gross , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20211201072915.3969178-1-vkoul@kernel.org> <20211201072915.3969178-6-vkoul@kernel.org> From: Konrad Dybcio In-Reply-To: <20211201072915.3969178-6-vkoul@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On 01.12.2021 08:29, Vinod Koul wrote: > Add the reserved memory nodes for SM8450. This is based on the downstream > documentation. > > Signed-off-by: Vinod Koul > --- > arch/arm64/boot/dts/qcom/sm8450.dtsi | 221 +++++++++++++++++++++++++++ > 1 file changed, 221 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi > index f0b9e80238a2..79aead4cba66 100644 > --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi > +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi > @@ -310,6 +310,227 @@ CLUSTER_PD: cpu-cluster0 { > }; > }; > > + reserved_memory: reserved-memory { > + #address-cells = <2>; > + #size-cells = <2>; > + ranges; > + > + hyp_mem: memory@80000000 { > + no-map; > + reg = <0x0 0x80000000 0x0 0x600000>; > + }; All nodes in this patch put no-map before reg, which is precisely not the way it's done in all other qcom DTs... [...] > + > + /* uefi region can be reused by apps */ What apps? Facebook? TikTok? Capitalization makes a difference in this specific case.. > + > + /* Linux kernel image is loaded at 0xa0000000 */ > + > + oem_vm_mem: memory@bb000000 { > + no-map; > + reg = <0x0 0xbb000000 0x0 0x5000000>; > + }; > + [...] Konrad