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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 82555C433FE for ; Wed, 9 Nov 2022 14:36:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=VqVzh5cIveHeGMnSyt2GHrh9X45qrZK/zFS3kqd3+04=; b=YKIXVe99ZTnwNE SsucCPQa7wVvb4Hv/qMaikB3DrVRD7aJkwiESnYG6Gm+UPS1WaHTPL9MKoW+h157XWHYAIDaO+Bzi pKSCSBoN30y9xomW8kKW0FtFmIaPVCq/Zeg8gMok0Qo06AsNCORO6Eu9fn7bgjsVSBL8zmh/meZzd 11xelOH3cpqqVoHL8fcx9+hQWvJa64G78YTGgu9xYJKSnza6aGVbghShRtYYpvqjy5POq9Irjw1Mj 00WTXrvUWt5TaNy6Yv1bqXbZvjrragsKSMtzCcSUHuzHf0cGHIGXS6895wjp0Iwk8/hQpuxm3foq1 NvdtomnC3+EyBIpriSdg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1osmAK-00EA36-62; Wed, 09 Nov 2022 14:34:56 +0000 Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1osmAF-00EA1U-Kl for linux-arm-kernel@lists.infradead.org; Wed, 09 Nov 2022 14:34:53 +0000 Received: by mail-lj1-x22c.google.com with SMTP id a15so26048773ljb.7 for ; Wed, 09 Nov 2022 06:34:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=LHJSPQ2KpVWRh2F/hjyLQ9O/rrarIAVTyAzIqjmkK+Q=; b=hS8jMuM9Pet8reMxHNhi9rZIVXDPD3jUHk7alRI0bEee4KIChuuDJoKCSFip+M6jjh P+kiVAuCE40+85SqJaFvuIMoGUBUNZejgQEx7E7aCrUGy4DaD7VupUlayC5DvZc/0X0D 1EKysOd9Z9OqVpiv5hL+f4hZBaLgA8HQiuEvESZhBRURXFxymByDIYQ/hO7+P18Qyd5C 54igwOJZ33o1e5+vznOlTySJEvBTUUveICTbu+4XfCspnFZb9Xfc/IKhLJZl6/f2juEr qEACdvU9p0Bim6ddDleeW/7fNVePVE9vDNYUG8THYPltcPkEpMPyg8QIOfHHmIaJutOw aFWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to: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=LHJSPQ2KpVWRh2F/hjyLQ9O/rrarIAVTyAzIqjmkK+Q=; b=j57biIBBzUn6kn1dAKS1JAjaR9Eb2We0jxHm7COXwGng74xGaRnnKgQONIMxEpTlSK CxIHbLZAFD8NxhJjMLAiMEyclmdD/dtwdJFQqwzrl7FxUbWbqNm2fN8ECRfw1pu4PVcs s5kV+GBf1Ux9dRkGIxsXduxIygARY8ukj7bDzHarpdOO2KDM/+xmL8EHbXgLXJtuXXlr D7MK4/lvrxF3oFt4cyAVw5PJFGrUPe/kZPiMEOjQL3hlpe7km2jqhlCkmMVhaBfFObEr qs+wWrbZxskWKJZNQaHMX/18jcx5AOfQxTYhGVkxcW1WUB1IK+eD1EGc6Bb+R234kbgv 5HAA== X-Gm-Message-State: ACrzQf36FyxmA4bIyexsmQ40GkqxhuuXyn2ixx57fG2Zw2GvAz7hif8a AFbHchxBpbEJfcPSvZczO32eOw== X-Google-Smtp-Source: AMsMyM5xucvgotaykf4drj5tJEgPzvpUZhqXSSzBWj2WDa22wBUY7Ce1wlpRPyEiC8E3DFcRB66SYg== X-Received: by 2002:a2e:2417:0:b0:277:210:41d1 with SMTP id k23-20020a2e2417000000b00277021041d1mr7563569ljk.507.1668004486394; Wed, 09 Nov 2022 06:34:46 -0800 (PST) Received: from [192.168.0.20] (088156142199.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.199]) by smtp.gmail.com with ESMTPSA id v6-20020a05651203a600b004b40c1f1c70sm719554lfp.212.2022.11.09.06.34.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 09 Nov 2022 06:34:45 -0800 (PST) Message-ID: Date: Wed, 9 Nov 2022 15:34:45 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH] arch/arm64/boot/dts/marvell: add optee FW definitions Content-Language: en-US To: kostap@marvell.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Rob Herring , Stefan Chulski , Nadav Haklai , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth References: <20221109143054.1440158-1-kostap@marvell.com> From: Krzysztof Kozlowski In-Reply-To: <20221109143054.1440158-1-kostap@marvell.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221109_063451_709621_CD018F14 X-CRM114-Status: GOOD ( 16.35 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 09/11/2022 15:30, kostap@marvell.com wrote: > From: Konstantin Porotchkin > > Add reserved memory and ARM firmware definitions for optee > memory region in Marvell Armada SoCs to avoid protected memory > access. > > Signed-off-by: Konstantin Porotchkin Use subject prefixes matching the subsystem (git log --oneline -- ...). > Cc: Andrew Lunn > Cc: Gregory Clement > Cc: Sebastian Hesselbarth > --- > arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 11 +++++++++++ > arch/arm64/boot/dts/marvell/armada-ap80x.dtsi | 13 +++++++++++++ > 2 files changed, 24 insertions(+) > > diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi > index df152c72276b..c7a5a25826ea 100644 > --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi > +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi > @@ -35,6 +35,11 @@ psci-area@4000000 { > reg = <0 0x4000000 0 0x200000>; > no-map; > }; > + > + tee@4400000 { > + reg = <0 0x4400000 0 0x1000000>; > + no-map; > + }; > }; > > cpus { > @@ -531,5 +536,11 @@ armada-3700-rwtm { > mboxes = <&rwtm 0>; > status = "okay"; > }; > + > + optee { > + compatible = "linaro,optee-tz"; > + method = "smc"; > + status = "okay"; Why? It's by default. > + }; > }; > }; > diff --git a/arch/arm64/boot/dts/marvell/armada-ap80x.dtsi b/arch/arm64/boot/dts/marvell/armada-ap80x.dtsi > index a06a0a889c43..abf373b39463 100644 > --- a/arch/arm64/boot/dts/marvell/armada-ap80x.dtsi > +++ b/arch/arm64/boot/dts/marvell/armada-ap80x.dtsi > @@ -41,6 +41,11 @@ psci-area@4000000 { > reg = <0x0 0x4000000 0x0 0x200000>; > no-map; > }; > + > + tee@4400000 { > + reg = <0 0x4400000 0 0x1000000>; > + no-map; > + }; > }; > > AP_NAME { > @@ -461,4 +466,12 @@ map3_emerg: map3-emerg { > }; > }; > }; > + > + firmware { > + optee { > + compatible = "linaro,optee-tz"; > + method = "smc"; > + status = "okay"; Drop. > + }; > + }; > }; Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel