Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp6275232pxb; Thu, 27 Jan 2022 10:04:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJzJdkCctwttIFOOJm75zatIde29kRxZUhspgVoOuGegY++iirkigCzFRprEUEae0z27ONBR X-Received: by 2002:a17:906:794b:: with SMTP id l11mr3980011ejo.760.1643306692460; Thu, 27 Jan 2022 10:04:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643306692; cv=none; d=google.com; s=arc-20160816; b=k3ZEbu3Mg7ghGNanFFTWrlrM2n/utTHGJrvG2a3u2a62HIfRGkTu2g8BHfR6pu2pJy cgwbiBTNmJhgRM0FaQcT6mZ1U+zUIgX2NTcKAAACQ5N2t1wvlP9ZSEU0NVj7DbaHpTai fnkS1bAaIALzxLeCJHeelhb5DvwiEn/F133XT2x5JHiSbVko2noK+3fbu+/NS+83D+8r ugWpWB8jyw2kXhsGhKBLVgq5PHp99ynwSKuPquRJHaMnrj3aC2wU+CuXDbxGPxzANrpl d5YkGU0xbxoYEKoJH4Z6RKWQS9WaCtPNehkIXPYlQ1Xn+2TGFFeL/u2rRHb+l4MTDIh+ 8Dkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:to:subject:dkim-signature; bh=jMJUQQRNGQfSVpTNxYkQjgWKQuRwp+63flTuqAq51FQ=; b=ioXGipU1ycyIzxotgvxXq6Vlea/WMdw6EisALVYSBONA7f6MMMEA+3Ir3DrADQMTB1 Us8Tjps/gzdEsBWTqSf+unAuOHz7tIidfSL12zIc0VabomdUqjmFnHjgSg92vU28lMfJ wp0V6Ez+JKo/MYrxcpyN93ncg0NEnJ9iR+AzMUxdwbPZuvXc7Wdmif7xzXjN2nCgmO+r f5CJjJNHuK55VkhHcsBndshpfq4i9CsG6zT6pD0i+WYr2Z713G2HoPItYCk9yZUzjjkW ZDs5uV2oxOEtSzdAegq5x7sVUseHb962RSUhCA8k5E3yKXIqLEqneHem8mnffdDejkxV wgUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=u3w9o4lf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j9si365266edw.523.2022.01.27.10.04.22; Thu, 27 Jan 2022 10:04:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=u3w9o4lf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239566AbiA0KqY (ORCPT + 99 others); Thu, 27 Jan 2022 05:46:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239294AbiA0KqW (ORCPT ); Thu, 27 Jan 2022 05:46:22 -0500 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67FE9C06173B for ; Thu, 27 Jan 2022 02:46:22 -0800 (PST) Received: by mail-wr1-x430.google.com with SMTP id s18so3932626wrv.7 for ; Thu, 27 Jan 2022 02:46:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=subject:to:references:from:organization:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=jMJUQQRNGQfSVpTNxYkQjgWKQuRwp+63flTuqAq51FQ=; b=u3w9o4lfjlVkkkP5URbtPSU9Oll4DJlepTa3I2gW+BSrLpjzv6SpUTIEZcOIlpc3mR qsWEh9Q+4LE4txajrQgxHMdp6LJzBNn/X3SvwuNw6Ob/lHoslGVAavqUldTSltQHAFgu zwiPfza1RwmSSMSFqNICd4jjWGmXJd9xkp2v9otjYWZNqRrHtFwzjLqZs7OkQ4vAB9aj zRD4w/5dIyR1sPPw/AHH3izsEc5t92cj540nCrBfPuZ41pHlDUicM0cF67F/vOCvyUcA pOVWWrcwWT8GOXDvsPJ57BWjxBBowsqpnyzXbm7d0JPuj1waxw0NUIQxaPXFI8odqq4/ jw5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=jMJUQQRNGQfSVpTNxYkQjgWKQuRwp+63flTuqAq51FQ=; b=Wxgw3Tnwc1obvyshXir29jftfvoW7Qdz19Xgf56aoLE2AtxbYdiRFR6ahQNVdItKTF boZTASYmUJekkNJmAnZxV4ME8+f5WURbK3LSnpt6dax3EZvunYwIdsrwkGOBYd42v0Wa earm/7+z9yK3vF3Ct2B2SSaETIKCln85VLmIfgaxl5CTypIqA/l5a2Kuct8DlB+mEYAN wa3CKjlOvFLpBYUdvebnO8OkJmVpMJRqg9byhEgJkvqCWe+QSMytudtkgpEip7XwFNs3 AhOyI0oYqQraHm2HiS/KrXjBa2rYyx60Gt3Rn+0orPuwbfxHHiFIXt9dpeE7mFLJKnFV NkFA== X-Gm-Message-State: AOAM532euvvul7en9+HM5s3hD6OO9N3QlTUueQ/UVqhDOEEXPak+omQg A4qbBOrU4JYC5UIZt+Ydj57olvD2d1Egbw== X-Received: by 2002:a5d:6d03:: with SMTP id e3mr2537467wrq.536.1643280380592; Thu, 27 Jan 2022 02:46:20 -0800 (PST) Received: from ?IPv6:2001:861:44c0:66c0:bd6:ac2b:1e48:f2ff? ([2001:861:44c0:66c0:bd6:ac2b:1e48:f2ff]) by smtp.gmail.com with ESMTPSA id l13sm5830775wmq.22.2022.01.27.02.46.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 27 Jan 2022 02:46:20 -0800 (PST) Subject: Re: [PATCH 2/3] arm64: dts: meson-g12: add ATF BL32 reserved-memory region To: Christian Hewitt , Rob Herring , Mark Rutland , Kevin Hilman , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org References: <20220126044954.19069-1-christianshewitt@gmail.com> <20220126044954.19069-3-christianshewitt@gmail.com> From: Neil Armstrong Organization: Baylibre Message-ID: Date: Thu, 27 Jan 2022 11:46:19 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <20220126044954.19069-3-christianshewitt@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 26/01/2022 05:49, Christian Hewitt wrote: > Add an additional reserved memory region for the BL32 trusted firmware > present in many devices that boot from Amlogic vendor u-boot. > > Signed-off-by: Christian Hewitt > --- > arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi > index 6d99c23261fb..45947c1031c4 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi > +++ b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi > @@ -107,6 +107,12 @@ > no-map; > }; > > + /* 32 MiB reserved for ARM Trusted Firmware (BL32) */ > + secmon_reserved_bl32: secmon@5300000 { > + reg = <0x0 0x05300000 0x0 0x2000000>; > + no-map; > + }; > + > linux,cma { > compatible = "shared-dma-pool"; > reusable; > Reviewed-by: Neil Armstrong