Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp6274169pxb; Thu, 27 Jan 2022 10:03:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJxLhFtX7r4AUnxUt7GcHBp2D9bGBxCDqCzAhkpHiGujlhLNzxvA7qjXJsJJG3e3ZyS8pLiJ X-Received: by 2002:a05:6402:5247:: with SMTP id t7mr4875927edd.10.1643306628386; Thu, 27 Jan 2022 10:03:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643306628; cv=none; d=google.com; s=arc-20160816; b=Yd2EdmWUJW4q+yyECzx4omuKD494CmjJQSi3wU+M0gl9Tj1X6RfhgpUoO9bPES3SwD c1QqmF1L2doAVxreEZFcsq2GAMP93pdnnw79lYt76735KmTzEIKnmInnqNYpaj/5fHzi y/bgi9xy+3V9bc0x1IxcewpRU+8i+UeURsXS7DUo6l4QbddHEfoJC/9pqMpEzo2xEoVs JWLwSq5XLgJq4aiX4g204/1KtOJvbZf0rTqkOjgWaTRmlbXBVCo1x8/TPSBSiRIsrWMM /4G7FHTScGNZxZeWthWuoe9SLzmsU/n1wHmQcAuPGhWa9PSqKayGYxCH3cRXmrFyrS65 pT7w== 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=iKifaOc9BJNsPhhZWXxvCORQUmFhdoLB1/L1im+j4Bw=; b=ig8Y1O8gWviz3jCObkHnN6Lu1O1Kkumw2zzQJJszQljz5gL2jcGv7VmsQZboziwQ4c oAvGeFPh3wr0iZt2C7ifZ/GS1GFSQMcYyaFuywWeeNhjHrUI+jqrcB2Q4X9AC9bJCRB5 Qg2OVAVuPOns3ZZiTQUd6etL3qRJQdUWj+3ch0EJB5zR6EK6PjUhrND3mE6DwmoIjfdz nx6lxwB5KtlT+gsJFafawgFhPKDnP4pkI3QH6hF/z+Rw96k1jz6PUEVbvIC/xjOYb61m zwb1bbed/S+ga121IBThWuS1VmP0UKQnpuNVMikqN9kZAg1n2w3GgCryVw5yQLciNZOs BDhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=lzqbWkgN; 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 gs13si1742660ejc.747.2022.01.27.10.03.12; Thu, 27 Jan 2022 10:03:48 -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=lzqbWkgN; 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 S233066AbiA0Koc (ORCPT + 99 others); Thu, 27 Jan 2022 05:44:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232967AbiA0Ko3 (ORCPT ); Thu, 27 Jan 2022 05:44:29 -0500 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4D8EC06173B for ; Thu, 27 Jan 2022 02:44:28 -0800 (PST) Received: by mail-wm1-x329.google.com with SMTP id d138-20020a1c1d90000000b0034e043aaac7so2989228wmd.5 for ; Thu, 27 Jan 2022 02:44:28 -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=iKifaOc9BJNsPhhZWXxvCORQUmFhdoLB1/L1im+j4Bw=; b=lzqbWkgNumeAcUAhOU+IXhVTzWpBSTLyGhZ2xhO+cApu3VTxgrX8WjEDopdkP5hVoD l/MXDqzcA0L2Ev6oc5IkZhze7ODYIA7azKkthZJtspXxgtRhHSwnDVgsy2sN40js+map 9V8H5bl77xrAn/MJgRxVRy6TjcEnIU7F1Y7kEqJJ/yCBKPciV/UInLTHm0e4GgMRTIdO z8kwoWK3sdChLrLtpjcuQqh2c7tyaRkccBSF5Ax17ETBo9AMkP0c/dPTcL4Lspu3Y2j1 DGrHO0UIOHkDk6xGs9+oAPCpKfy/biXxjqDdUVxuuGqFOyFuiHtvo8ERAswg0yMENYup LkeQ== 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=iKifaOc9BJNsPhhZWXxvCORQUmFhdoLB1/L1im+j4Bw=; b=cSoK9CAeXz+B+xsRzDnRO2jtlseTX2LILkdSRGiNWLOoOsxqnVVhHddkva9MXiB0mU Twv7s2CdqBo+7CQgPqEVXBJ/1yxwgr/sQ4OWY85LxRIOyvWtyzhq7lhTklzCqF58ZheB MHa6ADUbgg3d+SsodkGvZw02fHKvj3zdHn+earGsbRVwpqii2ynFpnBRTIW32UBx3FPI C6TrPbej30F2ETOThd05Du6ZJdl9ND18h8pk06ZA504dRHmTTmK7wLvj9htMilYDl6xj nOQ+5sKVK6gIMYDNCSJswOUiOAEkms5X96QfAN795mVBmGm/9lSXuncP/7BmNoENXWie HBzQ== X-Gm-Message-State: AOAM5331BM3ODlaScVIUn6B9rRxWthRaPfQEX8cBGBCVwWCI+nRBVRBa f5MxGiZwx1R/TelcR/6Cm7kfllyTaoyvUw== X-Received: by 2002:a05:600c:4e49:: with SMTP id e9mr2669723wmq.92.1643280266901; Thu, 27 Jan 2022 02:44:26 -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 f6sm1749482wrj.26.2022.01.27.02.44.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 27 Jan 2022 02:44:26 -0800 (PST) Subject: Re: [PATCH 1/3] arm64: dts: meson-gx: add ATF BL32 reserved-memory region To: Vyacheslav , 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-2-christianshewitt@gmail.com> From: Neil Armstrong Organization: Baylibre Message-ID: <3924894b-d479-7ec2-ff68-b830137f3b79@baylibre.com> Date: Thu, 27 Jan 2022 11:44:25 +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: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 26/01/2022 06:35, Vyacheslav wrote: > Hi! > > 26.01.2022 07: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. >> >> Suggested-by: Mateusz Krzak >> Signed-off-by: Christian Hewitt >> --- >>   arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 6 ++++++ >>   1 file changed, 6 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi >> index 6b457b2c30a4..aa14ea017a61 100644 >> --- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi >> +++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi >> @@ -49,6 +49,12 @@ >>               no-map; >>           }; >>   +        /* 32 MiB reserved for ARM Trusted Firmware (BL32) */ >> +        secmon_reserved_bl32: secmon@5300000 { >> +            reg = <0x0 0x05300000 0x0 0x2000000>; >> +            no-map; >> +        }; >> + > How do I check if we need a similar patch for axg boards? > > >>           linux,cma { >>               compatible = "shared-dma-pool"; >>               reusable; >> > For AXG board with BL32 booting from vendor u-boot, yes. Neil