Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp2904300rdh; Mon, 30 Oct 2023 10:56:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEy993LdiqAqEqd5mDCIvvoq6rhvnfHwLEZKJ9/zyqUVDbTBd4eNJVnHwZOYLvJTbofG+uI X-Received: by 2002:a17:90a:f60d:b0:27d:3e8f:26dc with SMTP id bw13-20020a17090af60d00b0027d3e8f26dcmr7786539pjb.9.1698688573550; Mon, 30 Oct 2023 10:56:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698688573; cv=none; d=google.com; s=arc-20160816; b=w+s9XnTZeMp3OtBdx7AtvGK465uLrYNcs4LKdF+jg8iCx495VuDSYEPhwrUcPrg1Nw Nn4UEmVaLuMdEw+SquPCwaE1ERGiQ0k54wdiqhgGKBaswrCAuXFpoNQvxusTLiQub6/E 4ZEvokYXuoGQ1nLRTFs4RuAeykyfKu+r9Hp62CbiYONtXqHD+/UtolyMTSWkKZMrlNu8 PBo6zMkI4I+Gs5cQb+l7uP6w7bIrvs6bz2OzjUfqq2XfY7+oR2Qgm+B+HsJ3dFt9vB2B RD5A8sdrT3h/LqLIDmspxtFqTZ4KT9zz6lJAh5EpoqYBBbjlwhlldmRH80/EKqZPYfMB M8tQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=G6XArBh+cfcqYGo9AbKwnAbna32yieYtrNnD7ei8fA8=; fh=Ns9HSTtrVxd0yoJMKStxL/CTvPbKenqrm0OniJEya5o=; b=VIF5qvHoY3Hs/eXidnnTYxN1bkC2mkB7Jj16z9IW8zR+/Uy2MGKebKMIMErEeD0PuP hd7X8RxNEnYFlQU9FGXoEPjP9VaZHeg9iDSfUW2steSLwmMoUqA8pF1mJzNf1oXFlXs7 sb7YhiK9TTz2FG8JoUoQcXZ7oh1MOvdaprRpR96/NcRppleMCcuYAKIIk6xAAMqhkp4H 5aId91uOuNZloJGSeEf1k742bmlcYtvsofmuyrEfodibwLvTNeSb470YN7phx7md70tQ RM9CctXox9TBPtFstIF61o98bDIRk4ZH3gl/EafHTAhBKrVbbj60QvuAjGAY/hkkS0j+ yaxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DmcLLM5Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id h1-20020a17090a130100b0027d0bf1eef1si5158528pja.98.2023.10.30.10.56.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 10:56:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DmcLLM5Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id C5E2A8061B41; Mon, 30 Oct 2023 10:55:50 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233960AbjJ3Rzr (ORCPT + 99 others); Mon, 30 Oct 2023 13:55:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229849AbjJ3Rzp (ORCPT ); Mon, 30 Oct 2023 13:55:45 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51598BD for ; Mon, 30 Oct 2023 10:55:43 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-507bd644a96so6895037e87.3 for ; Mon, 30 Oct 2023 10:55:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698688541; x=1699293341; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=G6XArBh+cfcqYGo9AbKwnAbna32yieYtrNnD7ei8fA8=; b=DmcLLM5Yr0KfbkjLSK6dfHLO4123joejN5em3JbdJNJM5kmk61dTNP5ybmHC8nGQJ5 +qzAQSXd/oKNdsgWoenox498Uct4vPkN5n3wpowuibDDmeDxPnARqVa8nxfRLmjiaPsX gXtqFfeR3ZjO4PGE27lG0P3EG0rW3sFg77fmZks8j8P68g/M655D94TrYUetLARImRgi BITL4Qz4A4pvHaRS0Dbefm+YhobmXzL/F/cJ139n5L4A7fnU9kELfWhDpxVtU8GJpDho 3sYvGWMh+hdL9DwZO5/zqsajchDM5zbK8YfD1Z+o6qiF/jQLjvymbcxxpdwLSgk7rnTk 054w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698688541; x=1699293341; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=G6XArBh+cfcqYGo9AbKwnAbna32yieYtrNnD7ei8fA8=; b=vgGCY22xMjyVOaMD7NqniKb/ba9uJ2utX6I1LgckLKbfr90sGejX7Lij6j5brSX2wG X0K+PozKP93xIg/o3/Xjc5PZUd/CnBvmsDU1ZNj2C7HbCfqwAuGniXDpuDeLtvQSReho OA0Dgf7J8kDFy2GuQe5x0A2cZCTeHoB7DAzl5aJWH/JJr3m07Z6f1jyDVwOFZCUf9e/y q+t3MmqJRUXX6kc6Qs9P1+HHirkINk3BdEKKjYHKzPPOdqHvHlTGYnqDPyaplkR0ybHL p7Nk+58LhKjLyWmwT0L8jF5YEjC5FYCLBpqmHjlP37sUVRJSXZXnqyLiuKSHlHG3tgne uekQ== X-Gm-Message-State: AOJu0YwJh0FtT8Av50fth5EcYDbwy510hsIGccY4lhDxNnWcDF2aQefD pkjRyw81mvlmua/cs3Yt6HpFBw== X-Received: by 2002:a05:6512:1282:b0:505:6ede:20a9 with SMTP id u2-20020a056512128200b005056ede20a9mr9898835lfs.65.1698688541087; Mon, 30 Oct 2023 10:55:41 -0700 (PDT) Received: from [192.168.1.20] ([178.197.218.126]) by smtp.gmail.com with ESMTPSA id oy29-20020a170907105d00b009b29553b648sm6304750ejb.206.2023.10.30.10.55.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 30 Oct 2023 10:55:40 -0700 (PDT) Message-ID: <97063238-88fd-4685-accc-064f4ac3328a@linaro.org> Date: Mon, 30 Oct 2023 18:55:38 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v7 06/11] arm64: dts: imx93-11x11-evk: reserved mem-ranges Content-Language: en-US To: Pankaj Gupta , shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, clin@suse.com, conor+dt@kernel.org, pierre.gondois@arm.com, festevam@gmail.com, linux-imx@nxp.com, davem@davemloft.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, gaurav.jain@nxp.com, alexander.stein@ew.tq-group.com, V.Sethi@nxp.com Cc: Dong Aisheng References: <20231030095849.3456820-1-pankaj.gupta@nxp.com> <20231030095849.3456820-7-pankaj.gupta@nxp.com> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLcnp5c3p0b2Yg S296bG93c2tpIDxrcnp5c3p0b2Yua296bG93c2tpQGxpbmFyby5vcmc+wsGUBBMBCgA+FiEE m9B+DgxR+NWWd7dUG5NDfTtBYpsFAmI+BxMCGwMFCRRfreEFCwkIBwIGFQoJCAsCBBYCAwEC HgECF4AACgkQG5NDfTtBYptgbhAAjAGunRoOTduBeC7V6GGOQMYIT5n3OuD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030095849.3456820-7-pankaj.gupta@nxp.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 30 Oct 2023 10:55:50 -0700 (PDT) On 30/10/2023 10:58, Pankaj Gupta wrote: > EdgeLock Enclave are has a hardware limitation of restricted access > to the DDR memory range: > - 0x80000000 0x9FFFFFFF > > ELE-MU driver requireis 1MB of memory. In this patch, reserving > 1MB of ddr memory region from the lower 32-bit range. > > Signed-off-by: Dong Aisheng > Signed-off-by: Pankaj Gupta > --- > arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts > index cafd39130eb8..bcb4ae931c64 100644 > --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts > +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts > @@ -7,6 +7,10 @@ > > #include "imx93.dtsi" > > +&ele_fw2 { OK, this explains the label in imx93.dtsi, but then node in the imx93.dtsi is incomplete and should be disabled. Everything which is incomplete should be disabled in DTSI by default. At v7 of your patchset I really would expect some internal review happening. > + memory-region = <&ele_reserved>; > +}; > + > / { > model = "NXP i.MX93 11X11 EVK board"; > compatible = "fsl,imx93-11x11-evk", "fsl,imx93"; > @@ -68,6 +72,17 @@ reg_vref_1v8: regulator-adc-vref { > regulator-max-microvolt = <1800000>; > }; > > + reserved-memory { > + #address-cells = <2>; > + #size-cells = <2>; > + ranges; > + ele_reserved: ele-reserved@a4120000 { Names in reserved memory should match the purpose, so "reserved" is here redundant. Just "ele". > + compatible = "shared-dma-pool"; > + reg = <0 0xa4120000 0 0x100000>; > + no-map; > + }; > + }; > + > reg_usdhc2_vmmc: regulator-usdhc2 { > compatible = "regulator-fixed"; > pinctrl-names = "default"; Best regards, Krzysztof