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 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 2F268C6FD1F for ; Wed, 22 Mar 2023 18:03:32 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 06F2F85D6C; Wed, 22 Mar 2023 19:03:28 +0100 (CET) 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="Yo6Ssr1+"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 16317859E5; Wed, 22 Mar 2023 19:03:20 +0100 (CET) Received: from mail-qv1-xf2b.google.com (mail-qv1-xf2b.google.com [IPv6:2607:f8b0:4864:20::f2b]) (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 B219185D56 for ; Wed, 22 Mar 2023 19:03:15 +0100 (CET) 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-xf2b.google.com with SMTP id cu4so12723494qvb.3 for ; Wed, 22 Mar 2023 11:03:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1679508194; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=YMiooYWWVzHjFtu4j5aj/clZblgE5jr/A1esB+BbiE8=; b=Yo6Ssr1+R+fZ8fEGQkhP0q//XWl2bGJQWV01dZ22eeXCQgq/zMiknSw4yhoXPy2XW1 j71kvI/5WhDNAPsQzXUr5clWLREnnHf9+zJfUf5RxQV3k2BLnWg/1Q5hYrem6zeFmWwL QcwxU8snaBSlN31lTRNifMXd4bUq4BhxvNfeU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679508194; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=YMiooYWWVzHjFtu4j5aj/clZblgE5jr/A1esB+BbiE8=; b=uucVObUs4EJDs8B7ldJYn9Xg286X/5vj5sh22+PZurViKOcTUnQgkYKJzeTQ9Rc2B7 szknNr5lSXbv/ioZg+6CYUxI3nmy31OZaLS2t42CMDicuH841ZfPcczqSMp6g+BzPPoC xBzKqAGiAFhkojbhPyPMAJ4sBoPS4FRtTdE1ApjyueOyQDgXc9aXhEEAA124F/6g9WKZ XeIYandoaoGsnx+YZkAWDG1zrY3iyShone/0BjLy8e3A2GOraySiGcaQ4wyYpp8StwRM F9cuHD9K9Kq5d6ITJqePW4W8i0Ooi5sax97neMIWYLhMS0T+2kPEE7VWwBihyIg4Yrep G1RA== X-Gm-Message-State: AO0yUKVvPtRdilTZK77eAdyFwT3i9C/Kgn4K10vin1DQtX/hj8z5rE+k p9SjhddRD3wupI5md5c3qIT7QcK9+MEBkaSaUk86IA== X-Google-Smtp-Source: AK7set96VYgUUCEBxhk6R7HsrWbRUZWwOnE2Otti474NmhMe5OSwDfKCr2eFzDJ2lWFdUpMdyVfVEA== X-Received: by 2002:a05:6214:e67:b0:56e:9ef7:e76d with SMTP id jz7-20020a0562140e6700b0056e9ef7e76dmr6043348qvb.1.1679508193896; Wed, 22 Mar 2023 11:03:13 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-8fb4-da0c-fb38-955c.res6.spectrum.com. [2603:6081:7b00:6400:8fb4:da0c:fb38:955c]) by smtp.gmail.com with ESMTPSA id r20-20020a37a814000000b00746ae84ea6csm1546545qke.3.2023.03.22.11.03.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Mar 2023 11:03:13 -0700 (PDT) Date: Wed, 22 Mar 2023 14:03:11 -0400 From: Tom Rini To: kamlesh@ti.com Cc: u-boot@lists.denx.de Subject: Re: [PATCH 2/2] configs: am62: move stack and heap to HSM RAM Message-ID: <20230322180311.GM8135@bill-the-cat> References: <20230302141047.3175114-1-kamlesh@ti.com> <20230302141047.3175114-3-kamlesh@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="i+qYR+6U7OvQFI4Y" Content-Disposition: inline In-Reply-To: <20230302141047.3175114-3-kamlesh@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.8 at phobos.denx.de X-Virus-Status: Clean --i+qYR+6U7OvQFI4Y Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 02, 2023 at 07:40:47PM +0530, kamlesh@ti.com wrote: > From: Kamlesh Gurudasani >=20 > On high security devices, ROM enables firewalls to protect the OCSRAM > region access during bootup. Only after TIFS has started (and had > time to disable the OCSRAM firewall region) will we have write access to > the region. >=20 > This means we will need to move the stack & heap from OCSRAM to HSM RAM > and reduce the size of BSS and the SPL to allow it to fit properly. >=20 > To protect us from overflowing our ~256k of HSM SRAM, add limits and > check during the wakeup SPL build. >=20 > Signed-off-by: Kamlesh Gurudasani Applied to u-boot/master, thanks! --=20 Tom --i+qYR+6U7OvQFI4Y Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmQbQt8ACgkQFHw5/5Y0 tywxfAv+L+3jAZcgtQPh2ZDC72lT2Y38XlzsBpSJdOREiQvG6iXPG5AlDvtErNpg ULs2OZFepafoZbrvIyTaYsSfK4XqyV5GTsW1bdwI6qYyCL6WOGI4cyg8xQhmyBAm b9hfIQKcSkIJ77BYjj5ibHQxiZNYwXlRduUnVQJNZyVxmgsqD4jrkUrF8cqK0pqq thf3/KUIIFoGNGaOr2oAbjmbSZVZ58uDwXSizuo1CtHKbEo+GQlfmaIiykvYEO59 ipt28yMr8+YAcvWvRs4J4a6+O3qxmStd3xnwyGJP7f1S87NMSQcPZFBoVpoHoxy1 +0KO4nziNPkHbut3HGfz+17OK011nZTiEQisTCwcElX/jHaCv4EuR+y/zc0OQkmG GtHm9YNpAyhYMRZqVBzetU9kdf0nKgWOTDbLv7/IvezCmrWqVI6Awgty0TpMs4aE QZs9fVrKwVMQ2Lajnfq78kjlHbnN7wBSVt2WYXsflrzEiXlJ/P9H4fSGLTFixvOk 5C/6ojNf =yWbm -----END PGP SIGNATURE----- --i+qYR+6U7OvQFI4Y--