Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp14035894rwb; Sun, 27 Nov 2022 16:22:01 -0800 (PST) X-Google-Smtp-Source: AA0mqf6BxxCvY1OKY0YQ1zkIcMBuUMZ4IioViozwQDrcHID8SYYddQbrVrsdAW1S87zp03q2F3G+ X-Received: by 2002:a62:1510:0:b0:575:238e:5918 with SMTP id 16-20020a621510000000b00575238e5918mr3306543pfv.37.1669594920892; Sun, 27 Nov 2022 16:22:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669594920; cv=none; d=google.com; s=arc-20160816; b=mzojT8jSk9My/RYKvzt2OfMsMhyCFZbAicfZvp88ri55TQ7qFKvwhk9oKIS7kBBZnl gqnA7G5OURDaV1CPYmluirp9klDMgB3vlfgikmHPDg72QIEaCjexADafMFp82VxVl86w KnTaPl7yM5/7A3HI271oU30PMTj/Olokpc9bJuoatereBBtL5K+lSkzbNbwQmRx303qn bRB828Hws2e7GLVK1OKhdcbtkYVzlYnnEKjZrZZPzizMiuCBZ1i29fGAEVy9nsUHHxg/ Gy1VzyhTZDMERXcQxEehgQ6JZroNOxloA1RFsOdk86HrVCWDyvbGsOTbd1Y9d5vyyJkr vDBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=mpLlXizBvFO1isoUI3KX5JXYNy0mSJGR1QxATUr1/VA=; b=T87Sw8fKP8u9/oi/21rgIJ8w+2eA3FnQoQKWfZRehpWLV0L2RNtzYI8UoE3Nq1c1Hw UdWtE5Tb4EV5cOkps69wkfKyBeaSM+i/vD/Lfg22U0beZ2k2G9x6NrhI3UJ4dGh+OT6a /D5UNTJx9qWFXTlU9sGQoQ/Yu6LNDR4WctgjzUnw32nUDPtqWaqtS2RRzVgK5bMjx9kU +3rkBOhrBq5jIIaa9ZgUT2YxTJnffATat6A2UKHK9VQMDmPQ5b3UDhPCDLo1eBzOgvCR P1MFlXIMAToUmJhWcTGLL4lFBrTkYM/GS0K3uMusfwUliyQkve/EVDGPac4aaRk2xpUU dS0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=iKqUihgz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d1-20020a170903230100b00179ec1d9eb4si11695623plh.112.2022.11.27.16.21.50; Sun, 27 Nov 2022 16:22:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=iKqUihgz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229619AbiK1AK6 (ORCPT + 85 others); Sun, 27 Nov 2022 19:10:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229509AbiK1AKy (ORCPT ); Sun, 27 Nov 2022 19:10:54 -0500 Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [IPv6:2001:4b98:dc4:8::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D27352BD7; Sun, 27 Nov 2022 16:10:53 -0800 (PST) Received: (Authenticated sender: gregory.clement@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 90288100005; Mon, 28 Nov 2022 00:10:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1669594252; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=mpLlXizBvFO1isoUI3KX5JXYNy0mSJGR1QxATUr1/VA=; b=iKqUihgz0I723jh3Z6YgSHplx4VEc661gEgVbtX4ncH4jqnYfpSzTkPOzq1ZVfMzXpSUXv pEmOqw0lL5DxyNxf3ooN479Jl18d2jHQ8rnjQnHlq9FOCerYGpUz0S+B+5E2qsqocEKFE8 MuJQQR9ipdJCbwV4l6WbXweRJrnnj4IkYrGHrwHo3qeDD2gKgGp81ZTAf8E0u04J88139T H5+tcZGKnaKANsMLQqrM0si6gkvrfJ7kwtc9NhnGNY/k5uXxhQsgpjYUza5ddAw6smIC8C aD1mRbEMlpIcRkoJULSRWzQbEp9h8qg6z8OSy9wQLYMOtqRuNeKMNrIrYiElQg== From: Gregory CLEMENT 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 , Konstantin Porotchkin , Andrew Lunn , Sebastian Hesselbarth Subject: Re: [PATCH] arm64: dts: marvell: add optee FW definitions In-Reply-To: <20221109150743.1444103-1-kostap@marvell.com> References: <20221109150743.1444103-1-kostap@marvell.com> Date: Mon, 28 Nov 2022 01:10:51 +0100 Message-ID: <87o7ss7xbo.fsf@BL-laptop> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS autolearn=ham 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 writes: > From: Konstantin Porotchkin > > Add reserved memory and ARM firmware definitions for optee > memory region in Marvell Armada SoCs to avoid protected memory > access. > Applied on mvebu/dt64 Thanks, Gregory > Signed-off-by: Konstantin Porotchkin > Cc: Andrew Lunn > Cc: Gregory Clement > Cc: Sebastian Hesselbarth > --- > arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 5 +++++ > arch/arm64/boot/dts/marvell/armada-ap80x.dtsi | 5 +++++ > 2 files changed, 10 insertions(+) > > diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi > index df152c72276b..e300145ad1a6 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 { > diff --git a/arch/arm64/boot/dts/marvell/armada-ap80x.dtsi b/arch/arm64/boot/dts/marvell/armada-ap80x.dtsi > index a06a0a889c43..4e6d29ad32eb 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 { > -- > 2.25.1 > -- Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com