public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/3 v7] Add support for running StandaloneMm as OP-TEE TA
@ 2021-03-13 18:31 Ilias Apalodimas
  2021-03-13 18:31 ` [PATCH 1/3 v7] Drivers/OpTeeRpmb: Add an OP-TEE backed RPMB driver Ilias Apalodimas
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Ilias Apalodimas @ 2021-03-13 18:31 UTC (permalink / raw)
  To: devel, sami.mujawar, pierre.gondois
  Cc: ardb+tianocore, sughosh.ganu, leif, Ilias Apalodimas

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-03-28 11:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox