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 9F702C4332F for ; Mon, 28 Nov 2022 00:11:48 +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:MIME-Version:Message-ID:Date:References :In-Reply-To:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=VEyndc9wnsa1PtFPhwTAgI2tNTIGZfRotasBPlmztCQ=; b=D3gYgPGbPwZiqW K8EbH+4B//TtxrQuhH1eYZU4i/Ec0G2rokiCrpl9zGOCYZsGnkR2mNAVS4NOoSGcg5Xz9hq/Sk9JP DFg0tn0qbh19bmjsMs7ihLxN1e4p2RLwlvoYBJSPnuxOgEDmV9EzGdTZiHgCdJEo3TpQIfpaDgJUn jiKq8XH5Sw7dmDS1SDqUn6aOsBr8mkekf/jrRzZu2DSiz7XfgZIJdGB6KnB4M6JA0Vd+BtGeRlewV r+gj7jL4z/c+vc3x1nFrzf3PG2L8S9wSba2rFVc41Dss1p6EOpufshacVGg3NHJHGWBVdVhVUPlji aTooyLa/ls/W05sBQWjw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ozRjd-00EL4b-E4; Mon, 28 Nov 2022 00:10:57 +0000 Received: from relay11.mail.gandi.net ([2001:4b98:dc4:8::231]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ozRja-00EL2q-9a for linux-arm-kernel@lists.infradead.org; Mon, 28 Nov 2022 00:10:55 +0000 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221127_161054_527570_ACFCAEBB X-CRM114-Status: GOOD ( 13.36 ) 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 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E3608C352A1 for ; Mon, 28 Nov 2022 00:10:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229618AbiK1AKz (ORCPT ); Sun, 27 Nov 2022 19:10:55 -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 Precedence: bulk List-ID: X-Mailing-List: devicetree@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