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 X-Spam-Level: X-Spam-Status: No, score=-12.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C3079C4338F for ; Fri, 23 Jul 2021 12:33:59 +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 0C51560720 for ; Fri, 23 Jul 2021 12:33:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 0C51560720 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 0675182DC2; Fri, 23 Jul 2021 14:33:57 +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="mpxYgLEW"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D7F4482DC2; Fri, 23 Jul 2021 14:33:53 +0200 (CEST) Received: from mail-qt1-x831.google.com (mail-qt1-x831.google.com [IPv6:2607:f8b0:4864:20::831]) (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 80FFF82DAC for ; Fri, 23 Jul 2021 14:33:49 +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-qt1-x831.google.com with SMTP id d2so1502827qto.6 for ; Fri, 23 Jul 2021 05:33:49 -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:user-agent; bh=gYn2R1xMNf7WwSVvblM7wmX7WCq6/qtz9l3AHeiArks=; b=mpxYgLEWmg7WROWhRbJRmkNDaDojOWcPOv4EWEMHbmr5NBEVd2tFI3Xm3ZXdSvGAE2 2jDCxkd9c/dGgYnGahOERs8hNnFRUUDbgHfqAQ0PWfwbPpN5/G/StGOmsIJ4WlQq+F3h gwmqsve67vff7BXxfYR+45I14KsSukBN7lNKo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=gYn2R1xMNf7WwSVvblM7wmX7WCq6/qtz9l3AHeiArks=; b=l9jpbIvgqYt8Og6yiycfjc4abpw05btbRxxxsmLPAQOhji/2BLbRmWgu482MSd9OyT LfvMC9USo808VGKfosO3FC7PFXrO0vpOmUK/MZQbnQoDA/QoUA8N0CrsTe40y7ZrhOnm ZpWCkqlXG+rJfUjcB4MzH5ICWOmqj5sTDYwSdr3nGblD8W7L9yCeRnHE0RWgoZcKA4Qw BZLcZ3Dnw8jl3SBUN7LCArdM0Jv9H16gOBlGB/zabtgOIINkTMlqS57ZDwr2eETd4JZx 5KG/dRPQ2D1K5nydaFfRR0pb4zdO7fbPqxDynqlOXyOy4INj2jdKtCkIw1qgjjPhGNx9 QlXQ== X-Gm-Message-State: AOAM532GgpXUSwRXIIiFN/KifdIMKTV3EPxkhs2SRq5H/XItEf9HyuB3 zF4tbmfXpbt7qW9kxCcHFbjgHw== X-Google-Smtp-Source: ABdhPJyThSkd6m/Xkx17qJhiXlpKsbbT23Fe6jmWfPIS1qHdgTEFvHaKeTsCezCPSA87pKwovcKJWQ== X-Received: by 2002:ac8:4545:: with SMTP id z5mr3770833qtn.198.1627043628226; Fri, 23 Jul 2021 05:33:48 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-5560-078f-fb66-41c1.res6.spectrum.com. [2603:6081:7b01:cbda:5560:78f:fb66:41c1]) by smtp.gmail.com with ESMTPSA id f62sm14172211qke.135.2021.07.23.05.33.47 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 23 Jul 2021 05:33:47 -0700 (PDT) Date: Fri, 23 Jul 2021 08:33:45 -0400 From: Tom Rini To: Etienne Carriere Cc: u-boot@lists.denx.de, Jens Wiklander , Simon Glass , Patrick Delaunay , Ilias Apalodimas Subject: Re: [PATCH v2] tee: optee: sync cache on pre-reloc OP-TEE invocation Message-ID: <20210723123345.GM9379@bill-the-cat> References: <20210519142741.7782-1-etienne.carriere@linaro.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6xKfvfmn9W5rdvbv" Content-Disposition: inline In-Reply-To: <20210519142741.7782-1-etienne.carriere@linaro.org> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.4 (2018-02-28) 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 --6xKfvfmn9W5rdvbv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 19, 2021 at 04:27:41PM +0200, Etienne Carriere wrote: > This change ensures both U-Boot and OP-TEE see the same content > from shared memory when OP-TEE is invoked prior U-Boot relocation. >=20 > This change is required since U-Boot may execute with data cache off > while OP-TEE always enables cache on memory shared with U-Boot. >=20 > Signed-off-by: Etienne Carriere > Reviewed-by: Jens Wiklander > Acked-by: Ilias Apalodimas Applied to u-boot/master, thanks! --=20 Tom --6xKfvfmn9W5rdvbv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmD6tykACgkQFHw5/5Y0 tyzGJAv+Ot6FaimOFnu78VqJFmZUjrUqAtSgbrBR7DWO4Wnbx9vgXiflrS286Pxz x+bP7vvXUNjgMETrCeDML7jqUdUYJyj2l6H7CfmQ/mKx/QA2VOa6Vvqjqtd42OYV sty4yFL2LFTyDyPMrgk61PyI8XwbyI/nVbnWbb1He+Hj0a65VTNcDDH6lzogUXdL tJybQsRwc3rJTP6M7B/EzJ3YzSwk94ZFYEjpZONu6oO8O335tvxF+hDdpPe9DjIl CpUagyqS+zSYQJoVvLWi50Gp7ZK0mK2ZdMO5yQmLBN1fnnTjaayADfCJIfGLyosU kAwsypSIUAyxwWQPuGwbeViPdx7T4H5zFMKpMEtveNQ0ImxmcZQULhcrE29TNSWc rWfnINCytayq46TRGpFyhHGVGQSCf9ZZ2WiMvCxIPxjLWiSUN23HU9H04SA0TQ6D VZdNAY9+TmCanhctzUqOecy6Fm6rAozfkPRRK2pk6C2mHaBSd2ISfDJdBi3a++ty xkVVJvnh =z6rU -----END PGP SIGNATURE----- --6xKfvfmn9W5rdvbv--