From: "Ilias Apalodimas" <ilias.apalodimas@linaro.org>
To: Sami Mujawar <Sami.Mujawar@arm.com>
Cc: "devel@edk2.groups.io" <devel@edk2.groups.io>,
Pierre Gondois <Pierre.Gondois@arm.com>,
"ardb+tianocore@kernel.org" <ardb+tianocore@kernel.org>,
"sughosh.ganu@linaro.org" <sughosh.ganu@linaro.org>,
"leif@nuviainc.com" <leif@nuviainc.com>, nd <nd@arm.com>
Subject: Re: [PATCH 0/3 v7] Add support for running StandaloneMm as OP-TEE TA
Date: Sun, 28 Mar 2021 14:30:16 +0300 [thread overview]
Message-ID: <YGBoyKTGvs9pplcP@apalos.home> (raw)
In-Reply-To: <AM6PR08MB3784B6642C328B06FAC4C915847F9@AM6PR08MB3784.eurprd08.prod.outlook.com>
On Sun, Mar 28, 2021 at 10:52:19AM +0000, Sami Mujawar wrote:
> Hi ilias,
>
> Thank you for this series.
>
> Pushed as afb0ce7e9756..89f6170d6686
>
Thanks Sami!
> Regards,
>
> Sami Mujawar
>
>
> From: Ilias Apalodimas <ilias.apalodimas@linaro.org>
> Date: Saturday, 13 March 2021 at 18:32
> To: devel@edk2.groups.io <devel@edk2.groups.io>, Sami Mujawar <Sami.Mujawar@arm.com>, Pierre Gondois <Pierre.Gondois@arm.com>
> Cc: ardb+tianocore@kernel.org <ardb+tianocore@kernel.org>, sughosh.ganu@linaro.org <sughosh.ganu@linaro.org>, leif@nuviainc.com <leif@nuviainc.com>, Ilias Apalodimas <ilias.apalodimas@linaro.org>
> Subject: [PATCH 0/3 v7] Add support for running StandaloneMm as OP-TEE TA
> Hi,
> This is v7 of [1]
>
> Changes since V6:
> - Added param[in,out] in comments
> - Fixed an error on Maintainers entry
>
> Changes since V5:
> - Addressed coding style fixes from Pierre
> - Removed redundant checks in memory allocation and block usage
> - Removed unused COMPRESSION_TOOL_GUID
> - Renamed the files and directories following Leif's sugestion
> - Added Sami and myself as maintainers
>
> Changes since V4:
> - More coding stule fixes proposed by Sami, which Ecc or Patchcheck didn't
> report.
> - Adding missing error handling in InitializeFvAndVariableStoreHeaders().
> An allocation wasn't properly checked for success
>
> Changes since V3:
> - Coding style fixes proposed by Sami
> - Fixed all reported PatchCheck errors
> - Added overflow checks on the base aaddress allocated for EFI variables.
> The size of the partition is user defined (via Pcd's) and the memory layout
> and allocation address depends on OP-TEE. So let's make sure we won't overflow
> when calculating the 3 partitions needed for FTW
> - Switched some PcdGet/Set32 to 64 to accomodate 64-bit addressing
> - Removed some duplicate entries in Platform/StMMRpmb/PlatformStandaloneMm.dsc
> - Added reviewed-by tags on patch 2/2
>
> Changes since V2:
> - Allocate a dynamic number of pages based on the Pcd values instead
> of a static number
> - Clean up unused structs in header file
> - Added checks in OpTeeRpmbFvbGetBlockSize and handle NumLba=0
>
> Changes since V1:
> Some enhancements made by Ilias to the Optee Rpmb driver
>
> [1] https://edk2.groups.io/g/devel/message/66483?p=,,,20,0,0,0::Created,,ilias+apalodimas,20,2,0,77703661
>
> Ilias Apalodimas (3):
> Drivers/OpTeeRpmb: Add an OP-TEE backed RPMB driver
> StMMRpmb: Add support for building StandaloneMm image for OP-TEE
> Maintainers: Add maintainers for StandAloneMM and RPMB driver
>
> Drivers/OpTee/OpteeRpmbPkg/FixupPcd.c | 81 ++
> Drivers/OpTee/OpteeRpmbPkg/FixupPcd.inf | 43 +
> Drivers/OpTee/OpteeRpmbPkg/OpTeeRpmbFv.inf | 58 ++
> Drivers/OpTee/OpteeRpmbPkg/OpTeeRpmbFvb.c | 861 ++++++++++++++++++
> Drivers/OpTee/OpteeRpmbPkg/OpTeeRpmbFvb.h | 51 ++
> Maintainers.txt | 10 +
> .../PlatformStandaloneMmRpmb.dsc | 162 ++++
> .../PlatformStandaloneMmRpmb.fdf | 111 +++
> 8 files changed, 1377 insertions(+)
> create mode 100644 Drivers/OpTee/OpteeRpmbPkg/FixupPcd.c
> create mode 100644 Drivers/OpTee/OpteeRpmbPkg/FixupPcd.inf
> create mode 100644 Drivers/OpTee/OpteeRpmbPkg/OpTeeRpmbFv.inf
> create mode 100644 Drivers/OpTee/OpteeRpmbPkg/OpTeeRpmbFvb.c
> create mode 100644 Drivers/OpTee/OpteeRpmbPkg/OpTeeRpmbFvb.h
> create mode 100644 Platform/StandaloneMm/PlatformStandaloneMmPkg/PlatformStandaloneMmRpmb.dsc
> create mode 100644 Platform/StandaloneMm/PlatformStandaloneMmPkg/PlatformStandaloneMmRpmb.fdf
>
> --
> 2.30.1
prev parent reply other threads:[~2021-03-28 11:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-13 18:31 [PATCH 0/3 v7] Add support for running StandaloneMm as OP-TEE TA Ilias Apalodimas
2021-03-13 18:31 ` [PATCH 1/3 v7] Drivers/OpTeeRpmb: Add an OP-TEE backed RPMB driver Ilias Apalodimas
2021-03-27 20:25 ` [edk2-devel] " Sami Mujawar
2021-03-27 20:49 ` Ilias Apalodimas
2021-03-28 10:30 ` Sami Mujawar
2021-03-13 18:31 ` [PATCH 2/3 v7] StMMRpmb: Add support for building StandaloneMm image for OP-TEE Ilias Apalodimas
2021-03-13 18:31 ` [PATCH 3/3 v7] Maintainers: Add maintainers for StandAloneMM and RPMB driver Ilias Apalodimas
2021-03-28 10:29 ` Sami Mujawar
2021-03-28 10:52 ` [PATCH 0/3 v7] Add support for running StandaloneMm as OP-TEE TA Sami Mujawar
2021-03-28 11:30 ` Ilias Apalodimas [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YGBoyKTGvs9pplcP@apalos.home \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox