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 X-Spam-Level: X-Spam-Status: No, score=-17.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CB58CC48BE6 for ; Wed, 16 Jun 2021 17:19:22 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9BA7E613BF for ; Wed, 16 Jun 2021 17:19:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9BA7E613BF Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0A718819C3; Wed, 16 Jun 2021 19:19:19 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="FUTW6XQC"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A0BEC81DB3; Wed, 16 Jun 2021 19:19:16 +0200 (CEST) Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 2285F80C70 for ; Wed, 16 Jun 2021 19:19:13 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=s-anna@ti.com Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 15GHJBTM021913 for ; Wed, 16 Jun 2021 12:19:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1623863951; bh=xe+AOA1IWHAhpgL2zz6rmRkOHoNZDhf+BX75WWPlLGU=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=FUTW6XQCqQ/L3X0FpDb+9/ArtPE6qhkZwgdUkCouKRIINRhb71ry5YiwZyTN8gtmC 9/AN6UlHx0ogLPxH3aZZwqy//sJyE3J+j8jYfOOW3+ADA3dKLXiE09Ua7ra3VOYS+/ cIiX8KxwauI5iqWgadPRFElWmhIaz+M0xZ4+TYMg= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 15GHJBn9020099 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 16 Jun 2021 12:19:11 -0500 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Wed, 16 Jun 2021 12:19:11 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Wed, 16 Jun 2021 12:19:11 -0500 Received: from [10.250.36.147] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 15GHJA1I110149; Wed, 16 Jun 2021 12:19:11 -0500 Subject: Re: [PATCH v2 2/2] arm: dts: k3-am64-main: Reserve OCMRAM for DMSC-lite and secure proxy communication To: Aswath Govindraju CC: , Lokesh Vutla , Nishanth Menon , Dave Gerlach , Vignesh Raghavendra , Kishon Vijay Abraham I References: <20210616163821.20457-1-a-govindraju@ti.com> <20210616163821.20457-3-a-govindraju@ti.com> From: Suman Anna Message-ID: Date: Wed, 16 Jun 2021 12:19:10 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20210616163821.20457-3-a-govindraju@ti.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean On 6/16/21 11:38 AM, Aswath Govindraju wrote: > The final 128KB in SRAM is reserved by default for DMSC-lite code and > secure proxy communication buffer. The memory region used for DMSC-lite > code can be optionally freed up by secure firmware API[1]. However, the > buffer for secure proxy communication is not configurable. This default > hardware configuration is unique for AM64. > > Therefore, indicate the area reserved for DMSC-lite code and secure proxy > communication buffer in the oc_sram device tree node. > > [1] - http://downloads.ti.com/tisci/esd/latest/6_topic_user_guides/security_handover.html#triggering-security-handover > > Signed-off-by: Aswath Govindraju Acked-by: Suman Anna You may actually want to reorder so that this patch is first. regards Suman > --- > arch/arm/dts/k3-am64-main.dtsi | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/arch/arm/dts/k3-am64-main.dtsi b/arch/arm/dts/k3-am64-main.dtsi > index f68b969a2e9b..c5af2ffb8ee1 100644 > --- a/arch/arm/dts/k3-am64-main.dtsi > +++ b/arch/arm/dts/k3-am64-main.dtsi > @@ -16,6 +16,14 @@ > tfa-sram@1c0000 { > reg = <0x1c0000 0x20000>; > }; > + > + dmsc-sram@1e0000 { > + reg = <0x1e0000 0x1c000>; > + }; > + > + sproxy-sram@1fc000 { > + reg = <0x1fc000 0x4000>; > + }; > }; > > gic500: interrupt-controller@1800000 { >