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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2206DC433EF for ; Tue, 26 Oct 2021 13:35:40 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 8408861039 for ; Tue, 26 Oct 2021 13:35:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 8408861039 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9E40F83521; Tue, 26 Oct 2021 15:35:33 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (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="uba8dsuw"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 28F0A833B5; Tue, 26 Oct 2021 15:35:06 +0200 (CEST) Received: from mail-qv1-xf32.google.com (mail-qv1-xf32.google.com [IPv6:2607:f8b0:4864:20::f32]) (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 50A1283431 for ; Tue, 26 Oct 2021 15:34:58 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf32.google.com with SMTP id a4so1391561qva.12 for ; Tue, 26 Oct 2021 06:34:58 -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=OqhwKMHbeNNyDk4rwclzKJtjx6bZYOHjMdrJqxK43Lk=; b=uba8dsuwsEsDw3Ny+i12mvzVzp9SXtP1WShZw5pBigm+DJrHLhVcNE24o0/1DKmtKQ rn8NVzVtYVjDjQjEuNoMeMT8KNngE7FY8DlN9kyMkiT5URE6u1jTyKwlcT8JYDiTP3Mv UnHwRJXAURWsycuagbgCrSNZctk7nvTe+i+ME= 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=OqhwKMHbeNNyDk4rwclzKJtjx6bZYOHjMdrJqxK43Lk=; b=ivHPWoDkKDR+zR5ahpaco5D6sPUULVzQN25mokq17GiGKIT3IdBOFTvHNaaDfVB9QX 3ZCFle5gIcfMz19tYQDh70xyPxcSQKUCjJArvf86DLIeLDbsm2JRAI7oRU814t4HL0uX nP3Gf1vyoJ/BLxNorBQETQRrgC/gkggTgNN0QRo7RfYD4asvuObWcGUS+88ZSVXPl0Lt PXnRjkqiq6Rb6qbMh6lSzAD7TYPvpl1gWDivuGVMCF0v52U9XaiUS239pJHAGg1D+mYe BxAyj+OfV6BX1JGSmEtha6WZDWJaimXEULtfhGBBmFJI75GSle79Fia/e1Vhiv4romen hsQQ== X-Gm-Message-State: AOAM5305jPR1D/H50LmZmFWYBrIsed4LI0qrIZ96jIPd6L6t3z3FQ/f7 gJoJB61pW5i70DU65bZ4KlnVBg== X-Google-Smtp-Source: ABdhPJyNWAKE1r6f8qNCU2K3GZZu2tNX/zXYzPOJrAI6Hw2MhiPp/5Iregfhf2BfzgGZ+7LEd+mgdw== X-Received: by 2002:ad4:5ba2:: with SMTP id 2mr8616558qvq.41.1635255297202; Tue, 26 Oct 2021 06:34:57 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-9d55-b872-362e-0c9f.res6.spectrum.com. [2603:6081:7b01:cbda:9d55:b872:362e:c9f]) by smtp.gmail.com with ESMTPSA id c8sm10954330qtb.29.2021.10.26.06.34.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Oct 2021 06:34:56 -0700 (PDT) Date: Tue, 26 Oct 2021 09:34:54 -0400 From: Tom Rini To: Oleksandr Suvorov Cc: u-boot@lists.denx.de, Ricardo Salveti , Alexandru Gagniuc , Bin Meng , Jaehoon Chung , Marek =?iso-8859-1?Q?Beh=FAn?= , Marek Vasut , Michael Walle , Pali =?iso-8859-1?Q?Roh=E1r?= , Patrick Delaunay , Simon Glass Subject: Re: [PATCH v3 1/1] arm: spl: prepare for jumping to OPTEE Message-ID: <20211026133454.GI8284@bill-the-cat> References: <20211020121206.40312-1-oleksandr.suvorov@foundries.io> <20211020121206.40312-2-oleksandr.suvorov@foundries.io> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qM81t570OJUP5TU/" Content-Disposition: inline In-Reply-To: <20211020121206.40312-2-oleksandr.suvorov@foundries.io> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean --qM81t570OJUP5TU/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 20, 2021 at 03:12:06PM +0300, Oleksandr Suvorov wrote: > From: Ricardo Salveti >=20 > Make sure to (if applicable) flush the D-cache, invalidate I-cache, > and disable MMU and caches before jumping to OPTEE. > This fixes the SDP->SPL->OPTEE boot flow on iMX6Q and most likely on > some other ARM SoCs. >=20 > Signed-off-by: Ricardo Salveti > Co-developed-by: Oleksandr Suvorov > Signed-off-by: Oleksandr Suvorov Applied to u-boot/master, thanks! --=20 Tom --qM81t570OJUP5TU/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmF4A/4ACgkQFHw5/5Y0 tyy4yAv/aPDcmn0k9as3U43KiHp5g+faFlAsx0tnzAwzoZPSvn5r/Phc9QqPQIGi 6I/uUhm3S0hlkz5sqblTv57GeKp6Ew5Hf5rkrN/wn2ItliMdN7dAcGEXTENUZQ/M Tw6duqZ3OozUelCopE2m/f/rBOWe714VSBtHhgnRcdCM2m+FtsvH73H6Zz4wDG8Y oGvDRzs1ww9mmbfgZ6EFaRSGq1tXEaqug0BB5pi7ADufGPc55fkspzE+Yh16S5Mq wRyzL0bvWvOZof0UuyUz90eGUscRnk3tyJGervbeQVtARR+kcd5iYqIbYdKVDVdK jtnUMc0vWOR2detPMnnUv7mheKp0jlPzTAhprwoPkGnUpGduYNlXNYw4NK70Y/yr mYdjxraYaLldqBsQ/NkO7gn9uPppPpi3ukmlDrKhuj3/Ei6jhK3hRVvp5TuvguoE tcPbLHiFyYrCBqm+ezcTX7ZgjkR4Ze9WcjEtLQXoc9FU+9pTE4i3jN8MsRk+W95q IVpe6GVd =81AR -----END PGP SIGNATURE----- --qM81t570OJUP5TU/--