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=-5.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1,WEIRD_PORT autolearn=no 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 6FACDC48BCF for ; Wed, 9 Jun 2021 14:38:39 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 368EA61364 for ; Wed, 9 Jun 2021 14:38:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 368EA61364 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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:MIME-Version:Date: Message-ID:From:References:CC:To:Subject:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=FvKPc4eg/d0UDauXXLAjDsF4shB+kdco2obqFEOzEdg=; b=tveERwEck7k3tIV83almZCOKzp MpWlhzbZ+LF8hStEz+sQyg4gBlEIDMbGZ/SgD26ty+xkuawNrQDI3jeNSGbu55Y2Y3AWcbGFiA6Gk iJYqIV3V+dpMOUeIHAqK7euH/eGEPny2eLZ26ld+UjlDTFO6JP1QJ80odR8Hu923PZ3QDA6e5R89i OGgXYdDViBda0EFvn2Pz+719lFBeDPLVAQIm2Y9T08vCWJDhOicxlU4izIFEbuTuJD2PYYAivyg+G 4Vo4nC1U10fKsdAX6sExFKKGTY2HLQr9gSuq7p/FZd0mwKpg1kcDgH0GKb94C9+aNoD4gzTZ42n/S TLYLkx4g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lqzJY-00ELPm-7z; Wed, 09 Jun 2021 14:36:17 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lqym1-00EAsk-Ml for linux-arm-kernel@lists.infradead.org; Wed, 09 Jun 2021 14:01:39 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 159E1a7j047790; Wed, 9 Jun 2021 09:01:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1623247296; bh=Tw1eN5lgDE9D28pNImTTEUKJXCMh0POoZIKxPcndiVk=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=WjJIFiBGTyeJUwvX05Zi04K6/eorqEyljyt90QbADLRMyy0JHPeHQGF0rjPr/GlNI yC9I5QQc3ele8/uO8EiVKWBI53vBy9Wqy7jfMq0ERLXfZ6KBfI5RVSSnVxlCIW/oPi 5y4wneFxPd2WyduzX4esTfWTi335YQkJVXcmU/hg= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 159E1a7O012039 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 9 Jun 2021 09:01:36 -0500 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Wed, 9 Jun 2021 09:01:36 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE102.ent.ti.com (10.64.6.23) 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, 9 Jun 2021 09:01:36 -0500 Received: from [10.250.234.148] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 159E1YOJ083663; Wed, 9 Jun 2021 09:01:35 -0500 Subject: Re: [PATCH 4/4] arm64: dts: ti: k3-am642-evm/sk: Reserve some on-chip SRAM for R5Fs To: Suman Anna , Nishanth Menon CC: Lokesh Vutla , , References: <20210528144718.25132-1-s-anna@ti.com> <20210528144718.25132-5-s-anna@ti.com> From: Vignesh Raghavendra Message-ID: <6035b723-ae52-3674-728d-b335b7d07982@ti.com> Date: Wed, 9 Jun 2021 19:31:33 +0530 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: <20210528144718.25132-5-s-anna@ti.com> Content-Language: en-US X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210609_070137_842502_00411ED4 X-CRM114-Status: GOOD ( 11.18 ) 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 Hi Suman, On 5/28/21 8:17 PM, Suman Anna wrote: > +&oc_sram { > + main_r5fss0_core0_sram: r5f-sram@40000 { > + reg = <0x40000 0x40000>; > + }; > + > + main_r5fss0_core1_sram: r5f-sram@80000 { > + reg = <0x80000 0x40000>; > + }; > + > + main_r5fss1_core0_sram: r5f-sram@c0000 { > + reg = <0xc0000 0x40000>; > + }; > + > + main_r5fss1_core1_sram: r5f-sram@100000 { > + reg = <0x100000 0x40000>; > + }; > +}; > + Now that ATF is being moved to end of SRAM[1], is it possible to move these allocations closer to that ATF reserved location? This will provide one large contiguouos memory at the beginning of SRAM which can be used as generic pool. Right now there are two dis-contiguous pool (256K@0 and ~384K@140000) which is not very efficient use of SRAM. [1] http://kahuna.dhcp.ti.com:8000/project/arm64-ti-dts/patch/20210607133806.18158-1-a-govindraju@ti.com/ _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel