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 A50B7C46467 for ; Wed, 11 Jan 2023 02:18:11 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8DFF6856CD; Wed, 11 Jan 2023 03:17:16 +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="bNMi+bUf"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A6B5A856A4; Wed, 11 Jan 2023 03:17:12 +0100 (CET) Received: from mail-qt1-x833.google.com (mail-qt1-x833.google.com [IPv6:2607:f8b0:4864:20::833]) (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 C420D855FC for ; Wed, 11 Jan 2023 03:17:09 +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-qt1-x833.google.com with SMTP id v14so12697888qtq.3 for ; Tue, 10 Jan 2023 18:17:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; 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=pSGoaJnZ1GrCLc8sODYMk0roknTuOx8v+GqFZKpgZcg=; b=bNMi+bUfecl4t709CI4X56ugDzHnAn4z3Hz8eJgRZC7wCi+38rrHjDVkVe4F+9K0Qg f+Yk9sejCILKGxC50KKhLSkp9Jhcgjoz230Omnuf3PKUXt9+bOelPQ5B7G7D2SB683XT hquNdSUfYFv8Qejud7stJy/BDCrDfi80DH1Y0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=pSGoaJnZ1GrCLc8sODYMk0roknTuOx8v+GqFZKpgZcg=; b=qAeDNEkRa1L3l1zAcuwaodR0e7fsQMtP2aJTrJWyxRFYcJD3gkPzq8Z6yrCh7Ns5+r M+fqCI1iiCGcYeQc0Tc0/2Abzw01/rMujL30PZbbmldG5X8CytF5n4/QXkg85fFvaxk8 kdQ1+Gooh0YkQK7DKcij7U6wW8xYg+JTgf53qEWvLSLgvsKWWBgjCSf6ltyNVyPkNUvC c0+r5wnwQWPCVcdLfYg7/kCvjATpzR3rAJANe1hm1CP6nie4qtl5opt7L90FPo5a7N5I 81B/vOL63Tf5v5SCWkXinLng2cu1GdKbgvv7X524Iyl4JCrzSndzNAlG/Nuo+NYlAWq4 rWTw== X-Gm-Message-State: AFqh2koF6/VR+sSTpMi3hNVNqp7XMIDXui3424QQKL3ukMlRCFlPYdNj jWs8P1ac3GAxjHURnpojh3863Q== X-Google-Smtp-Source: AMrXdXtZcIhwnAiDdkgvkWE5ufG2zjz9g1FMGoMbdCV6CDWu4vjKuipZcnazVdmnzWBB6ojVetqHZg== X-Received: by 2002:ac8:7eeb:0:b0:3a9:7faf:d635 with SMTP id r11-20020ac87eeb000000b003a97fafd635mr89837968qtc.1.1673403428586; Tue, 10 Jan 2023 18:17:08 -0800 (PST) Received: from bill-the-cat (2603-6081-7b00-6400-2c2f-ce0f-8dee-7136.res6.spectrum.com. [2603:6081:7b00:6400:2c2f:ce0f:8dee:7136]) by smtp.gmail.com with ESMTPSA id g20-20020ac84814000000b003a97a71c906sm6892200qtq.78.2023.01.10.18.17.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Jan 2023 18:17:08 -0800 (PST) Date: Tue, 10 Jan 2023 21:17:06 -0500 From: Tom Rini To: Bryan Brattlof Cc: Vignesh Raghavendra , Andrew Davis , Judith Mendez , Kamlesh Gurudasani , UBoot Mailing List Subject: Re: [PATCH 3/5] arm: mach-k3: copy bootindex to OCRAM for main domain SPL Message-ID: <20230111021706.GC3787616@bill-the-cat> References: <20221224011525.4696-1-bb@ti.com> <20221224011525.4696-4-bb@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="oOGy4blbGL5bIUOs" Content-Disposition: inline In-Reply-To: <20221224011525.4696-4-bb@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.6 at phobos.denx.de X-Virus-Status: Clean --oOGy4blbGL5bIUOs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 23, 2022 at 07:15:23PM -0600, Bryan Brattlof wrote: > Texas Instruments has begun enabling security settings on the SoCs it > produces to instruct ROM and TIFS to begin protecting the Security > Management Subsystem (SMS) from other binaries we load into the chip by > default. >=20 > One way ROM and TIFS do this is by enabling firewalls to protect the > OCSRAM and HSM RAM regions they're using during bootup. >=20 > The HSM RAM the wakeup SPL is in is firewalled by TIFS to protect > itself from the main domain applications. This means the 'bootindex' > value in HSM RAM, left by ROM to indicate if we're using the primary > or secondary boot-method, must be moved to OCSRAM (that TIFS has open > for us) before we make the jump to the main domain so the main domain's > bootloaders can keep access to this information. >=20 > Signed-off-by: Bryan Brattlof Applied to u-boot/master, thanks! --=20 Tom --oOGy4blbGL5bIUOs Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmO+HCEACgkQFHw5/5Y0 tyz7wQwAiIzV1K4laBTsGNtLQ09A1rdW2IpGGkPpd99pqQaLXxSX3GzNXibwxhJx +uqNffLP29oSyfY8KbEwV8CyUkZjqhZUJVG8yxjSOI6UNYiQeebaP3mWuJYZB6tR HJphH3Cg4NVrEaF6WUVtmIKsuoBHJKu8L8agnaslbXWoGSwyig4SpOa2q/6O1PfO 3g8CeJFgMPGV/JBfVrAD61jeNBU6Qy0+UwS+MH7bOHEQlsog8g4j/tzoOZTfOZFJ PLeR1wmAKL1pGi773lm4VwrVj2gAIzL7TIpdpkgHpgGNMm8y8ZiOrFi2Pt1nxSpr uCPdO/EpmxKKyy6OGijc4kJGV1x84AuN7UGXtahuvhLhZIk/t5UFfrvleyU3pYWc 0cGzP7WfZLQMBD3eCJYiOWCQXbpl1rVK4XgA9pyeyons+RKCrG1LNPh+OmiKqSIx JeNeuOqhPHy4aWxpJYtia/LHOk9wBLVaF23jhFI9g6ncyffbS4d/WI9p8vPl5iwI Lzr4Wv8S =R1Qp -----END PGP SIGNATURE----- --oOGy4blbGL5bIUOs--