Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5184431pxj; Wed, 9 Jun 2021 11:05:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwcgGgt2bYbFwiJrECM0WBxAAX93Qs5g0+hBnhw9kW8GPh3Ch2HoeCoPzq9ERRgmotgeBvH X-Received: by 2002:a17:907:628a:: with SMTP id nd10mr1070812ejc.326.1623261957411; Wed, 09 Jun 2021 11:05:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623261957; cv=none; d=google.com; s=arc-20160816; b=GF30AWLPup7MXQFMKKxKrVFT2s7a9o21Ra2Piz74IJgVDJRUaipT9psHR1JXxF8CTF 2Ctl0vttpBsasHVnax2Oq5TNsc1ZiANy6PB0TJOjDUae1ho833ZTMZ0Of8Z2hoQFhhoc VCbeztD1i8a9JoEUrvyrF2SMtPvQwWxSMRF/cZWNn01p4/mPZFEKl/7Ar95KdYhQdpKO jHRtRZ7f4coh0d6OMpBBQTr0+aOt19pHSI8UcoygXXwY+Bqw/8mY1kTi/rWdG7xYyn5o B/pThWYSjPIPveemoMLBjpsRIED6U9PBfGnct9nc+tpwWWChKmtBQrLcTCnw3tjBXmNJ qOTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=Akeg2CUF9xC8OIaJjJ+uRRAnTPnPHWRV4WNHbffInfU=; b=xPct4pg05OafDYmlI1Tce/5aL2CN6s1OYAIHQBiWOQ2NG9gFZGYQ+PnBAg6y7P9hMm hKd9omlNpAGijo+EDgVGeazXyEq3Rzx6XLooHUiMbOHYbHs5cxhHpWZJAN+Z+M12TCLA dR5PDjoyU4bCFizPDRWMfJZNPHU4IPhEqW0KFtmNkiZxbW4HrjnzV4WPA/xetAg2wnJt j4JLcBB7T9Q3xs+0lXUSIorTr5nEFgRpvzWJBeolO5JlqA1U8tAvDqlS9qxOlniKvhsm jT9flO5M9nYIdmXqqOCKgN86kvIO054JZ6jlxwH+5tSjavqE0g2LOn6shYKm0pkrq6pg ultw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=BVZi213e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z5si309816edx.70.2021.06.09.11.05.10; Wed, 09 Jun 2021 11:05:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=BVZi213e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235339AbhFIP0i (ORCPT + 99 others); Wed, 9 Jun 2021 11:26:38 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:35680 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234688AbhFIP03 (ORCPT ); Wed, 9 Jun 2021 11:26:29 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 159FORcB084415; Wed, 9 Jun 2021 10:24:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1623252267; bh=Akeg2CUF9xC8OIaJjJ+uRRAnTPnPHWRV4WNHbffInfU=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=BVZi213eHaxOzEEIaI/3z2LtlDFmylIZoPwIthwDsjzC5OTV0lPDwz+sVCLbK4Qpp wGK4xnL7H1krYOSSw/N841ziugy4aycm3GC/xq7bfGHK32nW0U0WfxvovDyAoY7G4h bSwd39A5ckoHOYId+hveYMQJq/Ird+dsRV2z6TQI= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 159FORJb117067 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 9 Jun 2021 10:24:27 -0500 Received: from DFLE114.ent.ti.com (10.64.6.35) by DFLE103.ent.ti.com (10.64.6.24) 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 10:24:27 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE114.ent.ti.com (10.64.6.35) 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 10:24:27 -0500 Received: from [10.24.69.20] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 159FOJ7I077894; Wed, 9 Jun 2021 10:24:23 -0500 Subject: Re: [PATCH v2] arm64: dts: ti: k3-am64-main: Update the location of ATF in SRAM and increase its max size To: Aswath Govindraju CC: Vignesh Raghavendra , Suman Anna , Kishon Vijay Abraham I , Nishanth Menon , Tero Kristo , Rob Herring , , , References: <20210607133806.18158-1-a-govindraju@ti.com> From: Lokesh Vutla Message-ID: <50bb1f20-ccca-fe94-eac1-70ac83bc004d@ti.com> Date: Wed, 9 Jun 2021 20:54:19 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/06/21 8:52 pm, Aswath Govindraju wrote: > Hi Lokesh, > > On 09/06/21 7:59 pm, Lokesh Vutla wrote: >> >> >> On 07/06/21 7:08 pm, Aswath Govindraju wrote: >>> Due to a limitation for USB DFU boot mode, SPL load address has to be less >>> than or equal to 0x70001000. So, load address of SPL and ATF have been >>> moved to 0x70000000 and 0x701a0000 respectively. >>> >>> Also, the maximum size of ATF has been increased to 0x1c000 [1]. >>> >>> Therefore, update ATF's location and maximum size accordingly in the device >>> tree file. >>> >>> [1] - https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/commit/?id=2fb5312f61a7de8b7a70e1639199c4f14a10b6f9 >>> >>> Signed-off-by: Aswath Govindraju >>> --- >>> arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 4 ++-- >>> 1 file changed, 2 insertions(+), 2 deletions(-) >>> >>> diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi >>> index ca59d1f711f8..fcd12b6f10f6 100644 >>> --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi >>> +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi >>> @@ -13,8 +13,8 @@ >>> #size-cells = <1>; >>> ranges = <0x0 0x00 0x70000000 0x200000>; >>> >>> - atf-sram@0 { >>> - reg = <0x0 0x1a000>; >>> + atf-sram@1a0000 { >>> + reg = <0x1a0000 0x1c000>; >> >> After thinking a bot more, isn't size be 0x20000? >> ATF is allocated with 125KB no? no point keeping the ~3 as hole IMO. >> > > The max size of ATF as defined above in [1] is 0x1c000 and as the > argument has to reflect it I have modified it to the same. ahh..Got it. Ignore my comment. Thanks and regards, Lokesh > > Thanks, > Aswath > > >> Thanks and regards, >> Lokesh >> >>> }; >>> }; >>> >>> >