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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id BB711C433FE for ; Thu, 5 May 2022 18:54:19 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AF70784099; Thu, 5 May 2022 20:53:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.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=konsulko.com header.i=@konsulko.com header.b="MIjQWbxf"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E15DA840FD; Thu, 5 May 2022 20:53:54 +0200 (CEST) Received: from mail-qv1-xf2e.google.com (mail-qv1-xf2e.google.com [IPv6:2607:f8b0:4864:20::f2e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id E7CC784011 for ; Thu, 5 May 2022 20:53:51 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf2e.google.com with SMTP id kk28so3632102qvb.3 for ; Thu, 05 May 2022 11:53:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=WSe6wCGB8chXpHhJH9V74HsuQSdrDQ5JLOFAXoEBsWA=; b=MIjQWbxfadTnFz+79/MSg8xG4oTNPj2o3A4Kpjp41nwsVFIvpCUn7YKnV+1+fwU0ZK WRSzXxpf3Rvw6nnZbpOGQj7YkBNovs7r0hd9Om2fL6Vv8bWZJJ5wcjUtyR+s4EkXgxZW qe76xiZWNHu8GWumAlK3dxWNQw/jvEP0hNWlc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=WSe6wCGB8chXpHhJH9V74HsuQSdrDQ5JLOFAXoEBsWA=; b=5VkA0jRQfF8Qji2qKObE1P6zi5fa/9HRLU4Ct8Bfhs3J7+79Bg9mAtuDtRkKu5EqZF cG4yqF/9OIVZRCK48O2YZlIqSE36aXlNjYYjifLtVBHGjiujePMBA1Ji4tfHo32NRuOS 07D4J7oMEWgJvGbK0rHbsVoQqkecWJ23rR4KbtKHnOhJLSf0ybaAduR6Tb8ncUhM0G0L DdretQ0A93sGF4eCuMZlJ2QYmWft3NCY6oak3TWaLBvrGFDk76ZuRWd51Hhle/X+ApzP Q7lMbG4BcYzQCZVFUGjPTKdMW3QwbgOjnVCAUIeHmy8ibpoDy9drEdRvMVMRdQGH/tAm d15g== X-Gm-Message-State: AOAM531CtGiIH7W5Hwr3MdozpjO3XC/AUKM/gmdHA6Y9wMtgcm+pPduY kAAZdsQII9uh7EUhxQfmyp37DQ== X-Google-Smtp-Source: ABdhPJzS+6Sjj8PeIeq+tHje7EhtW2TcJlekf/ZZQy+5LccDaW/YuMIVfPURWx4HWgPLf9NqW2SIxA== X-Received: by 2002:a05:6214:246f:b0:45a:c80c:3c4b with SMTP id im15-20020a056214246f00b0045ac80c3c4bmr3613603qvb.78.1651776830838; Thu, 05 May 2022 11:53:50 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-4500-d51e-139c-40d3-a517.res6.spectrum.com. [2603:6081:7b01:4500:d51e:139c:40d3:a517]) by smtp.gmail.com with ESMTPSA id 1-20020a370a01000000b0069fc13ce1f9sm1215217qkk.42.2022.05.05.11.53.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 May 2022 11:53:49 -0700 (PDT) Date: Thu, 5 May 2022 14:53:48 -0400 From: Tom Rini To: Aswath Govindraju Cc: u-boot@lists.denx.de, Dave Gerlach , Vignesh Raghavendra , Praneeth Bajjuri Subject: Re: [PATCH] include: configs: am**x/j721e/j721s2_evm.h: Move the stack pointer init address in arm64 Message-ID: <20220505185348.GT3580959@bill-the-cat> References: <20220419152602.6644-1-a-govindraju@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qKhyKP9HH88saeqA" Content-Disposition: inline In-Reply-To: <20220419152602.6644-1-a-govindraju@ti.com> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.5 at phobos.denx.de X-Virus-Status: Clean --qKhyKP9HH88saeqA Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 19, 2022 at 08:56:02PM +0530, Aswath Govindraju wrote: > Currently, in case of arm64 bootloader and U-Boot the stack pointer is > initialized at an offset of NON_SECURE_MSRAM_SIZE from arm64 SPL's text > base address. After jumping to arm64, execution is done out of DDR. > Therefore, having an offset corresponding to the size of MSRAM does not > have any significance. >=20 > Instead, initialize the stack pointer after an offset of 4MB from the SPL > text base address. This helps in allocating larger memory for stack. >=20 > =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=900x80080000 > =E2=94=82 =E2=94=82 > =E2=94=82 arm64 SPL =E2=94=82 > =E2=94=9C=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=A4 > =E2=94=82 =E2=96=B2 =E2=94=82 > =E2=94=82 =E2=94=82 =E2=94=82 > =E2=94=82 STACK =E2=94=82 > =E2=94=9C=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=A40x80480000 > =E2=94=82 Memory for Load =E2=94=82 > =E2=94=82 Buffer Allocation =E2=94=82 > =E2=94=9C=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=A40x80800000 > =E2=94=82 =E2=94=82 > =E2=94=82 U-Boot Image =E2=94=82 > =E2=94=82 =E2=94=82 > =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=98 >=20 > Signed-off-by: Aswath Govindraju Applied to u-boot/master, thanks! --=20 Tom --qKhyKP9HH88saeqA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmJ0HTsACgkQFHw5/5Y0 tyxtKQv9FFChWr+BscJ2SPHHpLK7bYU2Ug6ueYc7evACj9LkGYdUK7t9AuwB6k22 NgjIu3nFE7jEvTqZoHqamVGrIHRZ7XGJKhwRzL6nPjaHN+m1SKY3tmsWuNbh+fM1 zqBS6ejsNApDhoSag/bZYwJKpxvvQNyc66DJXQJUednxhCjjNp7Z5XNNZC9GHUVv WKIGF3XgqhWuZrIpo9q9ZUyk/9Z1oiikIZCyIPByu5+nqXU3BWxTAdvC4dphD72+ 6LmCBnYmlMwKuRbBjeI4YEGsdhudteRIZAdZuM+MIolTgYBBiJydLYWsGH2Pbe6i TpEBmGpv4VGr0Y8o2USVgEpKnGsTg+zXf2Z4DfYi9Rfp/QcsXqTAEBu1B3NgK8pJ c9lp2vvXTdJYEh0/4QAc2JuqCFHEFvKRpJuW/+HQYeJRWq+MF3UxKOMmumtQx/O8 YxdCfCSi2BEYD2JyuqIIYEeycbPwMHl+tri7ieYRNipH3mF/EtSPCKWY4CppGDt3 kMOJ18AY =8RuQ -----END PGP SIGNATURE----- --qKhyKP9HH88saeqA--