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 00D87C001DB for ; Fri, 4 Aug 2023 18:35:52 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B824C86962; Fri, 4 Aug 2023 20:35:46 +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="na4zNBbR"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 131E9801FE; Fri, 4 Aug 2023 20:35:45 +0200 (CEST) Received: from mail-yw1-x112b.google.com (mail-yw1-x112b.google.com [IPv6:2607:f8b0:4864:20::112b]) (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 7E3F786664 for ; Fri, 4 Aug 2023 20:35:42 +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-yw1-x112b.google.com with SMTP id 00721157ae682-583b019f1cbso26257587b3.3 for ; Fri, 04 Aug 2023 11:35:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1691174141; x=1691778941; 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=fhV4YZW5MkJHPCXkwWSdG+K86Dor/80hle0gDBJS0pg=; b=na4zNBbR4pL9J3MYfAvlzzxuFKLriSBbvqVTU+RhASxbiQV/q5cSJgNrJ2sj4M1+hw /UHtEiec/LD8ngeWg+U1M8L3FvJcliFdAhreFNIdQWnjAO7ga1lw3rp/Ey2bHBeAJORC o7sk68FSEsVu7t4ht+2qEZoXgKnbDMjtK5kuo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691174141; x=1691778941; 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=fhV4YZW5MkJHPCXkwWSdG+K86Dor/80hle0gDBJS0pg=; b=h/cKJPQmaRQg5G+qsZKaK9LtZjFQKfotxVuDovhzAfrZvDQpQBRYzjUFT3l85DZkfi crKRvZ7vO4zuHwXpDE6pr1Uq9yEBwzACCavUR0Y8vsQQJdnUcdtIu3Jj8bbu1iKCXrvc Z4BR+I7QDQd5cRa+wEyG57M9Y+0F+ljlELrt9UCpaIqQ+vyVzGy85nRriTaYdI6H19S6 4kxjkhkvfA17jMhsTI0DJujwbckY0JP5PhLcN1BLy2lLbCSNLqvI9XbcS4Xe2BqW0O8y TrvosDhnIUljlfElWy3tioMS2qvZgbf0QmtePNslHwoIryiwyUtgQGWL5giK4l/JCX87 Ohrg== X-Gm-Message-State: AOJu0YywyOwk1yXX7Z8YZGQqOo+ZgShXvFLHzbebqtLza3//uVHeE2qd MU528OMjNU8ZjSmaVG3gC8NxlA== X-Google-Smtp-Source: AGHT+IFTiVRo1ZxMWF5/k89zyrkkS/UjUAFiYbtn+Mb16LnNfR+xTjPfAfAJ4CdLhrwG7QhxmLOu9Q== X-Received: by 2002:a81:4ec4:0:b0:586:a59f:6559 with SMTP id c187-20020a814ec4000000b00586a59f6559mr2368892ywb.24.1691174141233; Fri, 04 Aug 2023 11:35:41 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-c37f-6e0c-fce7-d587.res6.spectrum.com. [2603:6081:7b00:6400:c37f:6e0c:fce7:d587]) by smtp.gmail.com with ESMTPSA id i69-20020a0ddf48000000b005794a9576f0sm889979ywe.9.2023.08.04.11.35.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Aug 2023 11:35:40 -0700 (PDT) Date: Fri, 4 Aug 2023 14:35:39 -0400 From: Tom Rini To: Abdellatif El Khlifi Cc: achin.gupta@arm.com, ilias.apalodimas@linaro.org, jens.wiklander@linaro.org, nd@arm.com, sjg@chromium.org, u-boot@lists.denx.de, Gowtham Suresh Kumar Subject: Re: [PATCH v19 8/9] arm_ffa: efi: introduce FF-A MM communication Message-ID: <20230804183539.GX3630934@bill-the-cat> References: <20230803171435.GV3630934@bill-the-cat> <20230804133345.246809-1-abdellatif.elkhlifi@arm.com> <20230804133345.246809-9-abdellatif.elkhlifi@arm.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="to9dcw1bjYwV1y9z" Content-Disposition: inline In-Reply-To: <20230804133345.246809-9-abdellatif.elkhlifi@arm.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 --to9dcw1bjYwV1y9z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 04, 2023 at 02:33:44PM +0100, Abdellatif El Khlifi wrote: > Add MM communication support using FF-A transport >=20 > This feature allows accessing MM partitions services through > EFI MM communication protocol. MM partitions such as StandAlonneMM > or smm-gateway secure partitions which reside in secure world. >=20 > An MM shared buffer and a door bell event are used to exchange > the data. >=20 > The data is used by EFI services such as GetVariable()/SetVariable() > and copied from the communication buffer to the MM shared buffer. >=20 > The secure partition is notified about availability of data in the > MM shared buffer by an FF-A message (door bell). >=20 > On such event, MM SP can read the data and updates the MM shared > buffer with the response data. >=20 > The response data is copied back to the communication buffer and > consumed by the EFI subsystem. >=20 > MM communication protocol supports FF-A 64-bit direct messaging. >=20 > We tested the FF-A MM communication on the Corstone-1000 platform. >=20 > We ran the UEFI SCT test suite containing EFI setVariable, getVariable and > getNextVariable tests which involve FF-A MM communication and all tests > are passing with the current changes. >=20 > We made the SCT test reports (part of the ACS results) public following t= he > latest Corstone-1000 platform software release. Please find the test > reports at [1]. >=20 > [1]: https://gitlab.arm.com/arm-reference-solutions/arm-reference-solutio= ns-test-report/-/tree/master/embedded-a/corstone1000/CORSTONE1000-2023.06/a= cs_results_fpga.zip >=20 > Signed-off-by: Abdellatif El Khlifi > Tested-by: Gowtham Suresh Kumar > Reviewed-by: Simon Glass > Cc: Tom Rini > Cc: Ilias Apalodimas > Cc: Jens Wiklander Thanks for re-working things again. Reviewed-by: Tom Rini --=20 Tom --to9dcw1bjYwV1y9z Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmTNRPsACgkQFHw5/5Y0 tyz9FAwAoXLxq2tfAeTm2hommDhxBzEU7CsT96VHZsPHgCW5IMe6fHyrpmRKxjm/ 4a5SBWYtOL915VJIadQdDY92y3v6xEI6qFGcIVfwe65patvAyGtvQtl8+Bf+FgtF Vf084vfHMhqpiLvXoogXWqzBOAp/hzvRwxF/kCxx3TbpnwrXeECOETq9CLEjA1Tn BuqQ2HKfQdJUK1n+aPJky/vVVk1YIome7j4JyLq++D1fHKl8T4K/phF1p0n0PI9b +/4W6+oUZyjlrarqBwfIwI10r1hYX8SAndIxbvJZcRCmd2OuULG/U2UOlhrVSkT3 KY7c/X26MRVZw57eLLvob2iy5rG55tbnPAXmG36ohEFUFIvfMr0UExZmtsmdxwf4 OnoNaHsrlCb6moZXjCuFwhuMk3v160/3jpOhpiNaTzq31d+5JksylkKkv0psOi7T FKkNTUZ+PxzixaffHRBaOAu1ghMpVf7veJ8yo965T9zISa3cVLdGwrEMZXHdEWe6 C52zNqGM =jCKQ -----END PGP SIGNATURE----- --to9dcw1bjYwV1y9z--