Thanks for sending out the patchset!
I may be missing it, where is the StMM FF-A partition manifest as part
of this? I see where it gets parsed, but not the actual information. My
understanding, which may be flawed, is that there should be a separate
file defining the StMM manifest. Is that going in TF-A?
This seems mostly complete, I agree with Kun that extending support
to MmCommunicatePei would seem to be necessary.
Thanks,
Oliver
On 7/11/2023 7:36 AM, Nishant Sharma wrote:
> V1 :
>
> Following patchset add the support of ARM Firmware Framework protocol to
> MM communication.
>
> Following chagnes are made to enable the support
> 1> Changed the FFA enable flag(PcdFfaEnable) to integer to enable it
> use in assembly.
> 2> Add the support to Reserved SP stack space and program in startup
> code.
> 3> Added ABI for enabling FFA protocol
> 4> Added conditional support in Standalone MM to parse DTB and
> populated configuration info required for FFA.
> 5> Added FFA support in MmCommunicationDxe module.
>
> Patches are pushed to
> https://github.com/nissha03/edk2/tree/ArmFirmwareFramework
>
> ARM Firmware Framework Protocol:
> https://developer.arm.com/documentation/den0077/latest/
>
> Achin Gupta (19):
> StandaloneMmPkg: Allocate and initialise SP stack from internal memory
> StandaloneMmPkg: Include libfdt in the StMM
> ArmPkg: Add data structures to receive FF-A boot information
> ArmPkg/ArmFfaSvc: Add helper macros and fids
> ArmPkg: Add support for FFA_MEM_PERM_GET/SET ABIs
> StandaloneMmPkg: define new data structure to stage FF-A boot
> information
> StandaloneMmPkg: Add backwards compatible support to detect FF-A v1.1
> StandaloneMmPkg: parse SP manifest and populate new boot information
> StandaloneMmPkg: Populate Hoblist for SP init from StMM boot
> information
> StandaloneMmPkg: Skip zero sized sections while tweaking page
> permissions
> StandaloneMmPkg: Add global check for FF-A abis
> ArmPkg: Bump the StMM SP FF-A minor version to 1
> ArmPkg/MmCommunicationDxe: Introduce FF-A version check
> ArmPkg/MmCommunicationDxe: Add support for obtaining FF-A partition ID
> ArmPkg/MmCommunicationDxe: Register FF-A RX/TX buffers
> ArmPkg/MmCommunicationDxe: Unmap FF-A RX/TX buffers during
> ExitBootServices
> ArmPkg/MmCommunicationDxe: Discover the StMM SP
> ArmPkg/MmCommunicationDxe: Use the FF-A transport for MM requests
> StandaloneMmPkg: Add support for MM requests as FF-A direct messages
>
> Nishant Sharma (1):
> ArmPkg: Change PcdFfaEnable flag datatype
>
> ArmPkg/ArmPkg.dec | 14 +-
> StandaloneMmPkg/StandaloneMmPkg.dsc | 3 +-
> ArmPkg/Drivers/MmCommunicationDxe/MmCommunication.inf | 3 +
> ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.inf | 4 +-
> StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf | 8 +-
> ArmPkg/Drivers/MmCommunicationDxe/MmCommunicate.h | 7 +-
> ArmPkg/Include/IndustryStandard/ArmFfaSvc.h | 133 ++++-
> StandaloneMmPkg/Include/Library/Arm/StandaloneMmCoreEntryPoint.h | 39 +-
> ArmPkg/Drivers/MmCommunicationDxe/MmCommunication.c | 332 ++++++++++--
> ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.c | 140 ++++-
> StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/Arm/CreateHobList.c | 186 ++++++-
> StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/Arm/SetPermissions.c | 18 +-
> StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/Arm/StandaloneMmCoreEntryPoint.c | 561 +++++++++++++++++---
> StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/Arm/AArch64/ModuleEntryPoint.S | 68 +++
> 14 files changed, 1367 insertions(+), 149 deletions(-)
> create mode 100644 StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/Arm/AArch64/ModuleEntryPoint.S
>
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#106885): https://edk2.groups.io/g/devel/message/106885
Mute This Topic: https://groups.io/mt/100079869/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-