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 49951C43334 for ; Thu, 23 Jun 2022 18:32:43 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3F26E84396; Thu, 23 Jun 2022 20:32:37 +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="bjDXWQgu"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 65F4984362; Thu, 23 Jun 2022 20:32:35 +0200 (CEST) Received: from mail-qk1-x729.google.com (mail-qk1-x729.google.com [IPv6:2607:f8b0:4864:20::729]) (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 BDC19842F1 for ; Thu, 23 Jun 2022 20:32:32 +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-qk1-x729.google.com with SMTP id c137so3302191qkg.5 for ; Thu, 23 Jun 2022 11:32:32 -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=tIvMRxN/FIC81U6tc0pBoIoBQ2YRcXdr33x93ZolDxc=; b=bjDXWQguJL//J+Vny9QC5UmXxun/pf7ySWP9q78YIFADClExL+CROSXEefE61qflp1 0FuZfBEevDydXSFSJ1N+dLDy5rnwPo8gMldwpkWb15aVnnfByhXSfePAasPVZr0Cdpx9 360txpIss7b7xF56FSXfndV/gs3yOgbJC9amM= 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=tIvMRxN/FIC81U6tc0pBoIoBQ2YRcXdr33x93ZolDxc=; b=yAO6xo25G4fOpwwGV9lXso2HW+tpONFC4KSuno3yRkQ7hPD4XL4rWrrB9u8OxFuKOK UzoH6QmF3xeBMxkXhS6w7ZbLxcpST9bYAoBiPqbEC7b4ShYU2xKijII0JBlnZnqQOO0c PROkHHGBH3xF+EXR7CLwB82G0Et53aWr0TS5ODfGrPDvWCrGamYLoM3k8JZ6ZLSZvKby 4gV/lcMhe4z3ejHhCavZPbHEZcJqynPsByw6MlLAyUykFJV9Zzhv+SUl9nsdEKPpvN2Z Lur/yUZN9DANFr/1g2n01k4Z7dLwa6iVOvh0xhDiyOiV7Gbrbrr2D+BPpChgzSAGWIoz WxPg== X-Gm-Message-State: AJIora/xfOpHcAy7uD4BXV0tnUswQ6IMjmUmCpfHhaHvthdWom57I1gp 3NZV5ZkJT2NdoYrPuZNGYkLKgQ== X-Google-Smtp-Source: AGRyM1uOjTtpSvtEjenAM65A2xNXzzal0w8yWWcnQX6quJXCov03TIiBKnG0c3vCsNNI1LdxJIluMw== X-Received: by 2002:a05:620a:1a94:b0:6ae:c382:422f with SMTP id bl20-20020a05620a1a9400b006aec382422fmr7447169qkb.532.1656009151408; Thu, 23 Jun 2022 11:32:31 -0700 (PDT) Received: from bill-the-cat (cpe-65-184-195-139.ec.res.rr.com. [65.184.195.139]) by smtp.gmail.com with ESMTPSA id y3-20020a05620a44c300b006a74458410csm185121qkp.123.2022.06.23.11.32.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jun 2022 11:32:30 -0700 (PDT) Date: Thu, 23 Jun 2022 14:32:28 -0400 From: Tom Rini To: Etienne Carriere Cc: u-boot@lists.denx.de, Patrick Delaunay , Patrice Chotard Subject: Re: [PATCH v2 01/14] firmware: scmi: optee: use TEE shared memory for SCMI messages Message-ID: <20220623183228.GI2484912@bill-the-cat> References: <20220531160929.931150-1-etienne.carriere@linaro.org> <20220531160929.931150-2-etienne.carriere@linaro.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="r9HX/zivTfBeckaV" Content-Disposition: inline In-Reply-To: <20220531160929.931150-2-etienne.carriere@linaro.org> 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 --r9HX/zivTfBeckaV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 31, 2022 at 06:09:16PM +0200, Etienne Carriere wrote: > Changes implementation when using TEE dynamically allocated shared > memory to synchronize with the Linux implementation where the legacy > SMT protocol cannot be used with such memory since it is expected from > device mapped memory whereas OP-TEE shared memory is cached and > hence should not be accessed using memcpy_toio()/memcpy_fromio(). >=20 > This change implements the MSG shared memory protocol introduced > in Linux [1]. The protocol uses a simplified SMT header of 32bit > named MSG_SMT to carry SCMI protocol information and uses side channel > means to carry exchanged buffer size information, as TEE invocation API > parameters when used in the SCMI OP-TEE transport. >=20 > Link: [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.= git/commit/?id=3Df301bba0ca7392d16a6ea4f1d264a91f1fadea1a > Signed-off-by: Etienne Carriere For the series, applied to u-boot/next, thanks! --=20 Tom --r9HX/zivTfBeckaV Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmK0sbwACgkQFHw5/5Y0 tyzTpgv8DyZBrbXg9Tl5FzIDRDbFZWQqvMSAert61yjVH90xbQdXqqCXlslTfzOV PsDVf+dxcMmBlLpjSiN2bmPSV7jQUpcAotCmr2a338GsIsfHHTmhjXailcRa95C3 qHvyUbNgZcinBGxkEeg8DjOtnCOgsevys3uvy+xDYEWQPbJ1GqeV5t7XQhFg3skC mN7A38keHNmD9KxF/9zqlUOo/rPpuK1oJf37SVRiMdfoVKqsKjT7I55ByMgX19OO bv3oIocbTgec7/lTF6GCokq507XyIkXKLMJzllKmnP1fGZ0DhVVVxjitwjNVsYvm 6+a7oDRybJWHKPYJ4XNXfg/B14Xi8lD4Z0coVr9DvsIvheKgPjmj5zIkXqN/ZxLY q5Kl+R2m2twppow5I7xOCns00jfWF9OnVpaw5fimN/+GVm69tYqdfACizQM32ot9 xyBSlfEkiF0Qq6OGiJu09A1z5aROLfAPxwsJbnnkdssg1js+mQ64j2AAbN4mCkUk 2WQW+K1m =5VBN -----END PGP SIGNATURE----- --r9HX/zivTfBeckaV--