public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-platforms][PATCH V1 00/20] Add the support for ARM Firmware First Framework
@ 2023-07-11 14:36 Nishant Sharma
  2023-07-11 14:36 ` [edk2-platforms][PATCH V1 01/20] ArmPkg: Change PcdFfaEnable flag datatype Nishant Sharma
                   ` (20 more replies)
  0 siblings, 21 replies; 41+ messages in thread
From: Nishant Sharma @ 2023-07-11 14:36 UTC (permalink / raw)
  To: devel
  Cc: Ard Biesheuvel, Sami Mujawar, Thomas Abraham, Sayanta Pattanayak,
	Achin Gupta

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

-- 
2.34.1


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

end of thread, other threads:[~2023-07-13 20:49 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-11 14:36 [edk2-platforms][PATCH V1 00/20] Add the support for ARM Firmware First Framework Nishant Sharma
2023-07-11 14:36 ` [edk2-platforms][PATCH V1 01/20] ArmPkg: Change PcdFfaEnable flag datatype Nishant Sharma
2023-07-12 17:21   ` [edk2-devel] " Oliver Smith-Denny
2023-07-12 17:23     ` Chris Fernald
2023-07-11 14:36 ` [edk2-platforms][PATCH V1 02/20] StandaloneMmPkg: Allocate and initialise SP stack from internal memory Nishant Sharma
2023-07-12 17:47   ` [edk2-devel] " Chris Fernald
2023-07-11 14:36 ` [edk2-platforms][PATCH V1 03/20] StandaloneMmPkg: Include libfdt in the StMM Nishant Sharma
2023-07-11 14:36 ` [edk2-platforms][PATCH V1 04/20] ArmPkg: Add data structures to receive FF-A boot information Nishant Sharma
2023-07-12 17:27   ` [edk2-devel] " Oliver Smith-Denny
2023-07-11 14:36 ` [edk2-platforms][PATCH V1 05/20] ArmPkg/ArmFfaSvc: Add helper macros and fids Nishant Sharma
2023-07-11 14:36 ` [edk2-platforms][PATCH V1 06/20] ArmPkg: Add support for FFA_MEM_PERM_GET/SET ABIs Nishant Sharma
2023-07-12 17:43   ` [edk2-devel] " Oliver Smith-Denny
2023-07-11 14:36 ` [edk2-platforms][PATCH V1 07/20] StandaloneMmPkg: define new data structure to stage FF-A boot information Nishant Sharma
2023-07-11 14:36 ` [edk2-platforms][PATCH V1 08/20] StandaloneMmPkg: Add backwards compatible support to detect FF-A v1.1 Nishant Sharma
2023-07-12 20:31   ` [edk2-devel] " Oliver Smith-Denny
2023-07-11 14:36 ` [edk2-platforms][PATCH V1 09/20] StandaloneMmPkg: parse SP manifest and populate new boot information Nishant Sharma
2023-07-13 15:24   ` [edk2-devel] " Girish Mahadevan
2023-07-13 16:48     ` Chris Fernald
2023-07-13 20:49       ` Achin Gupta
2023-07-11 14:36 ` [edk2-platforms][PATCH V1 10/20] StandaloneMmPkg: Populate Hoblist for SP init from StMM " Nishant Sharma
2023-07-12 20:52   ` [edk2-devel] " Oliver Smith-Denny
2023-07-11 14:36 ` [edk2-platforms][PATCH V1 11/20] StandaloneMmPkg: Skip zero sized sections while tweaking page permissions Nishant Sharma
2023-07-11 14:36 ` [edk2-platforms][PATCH V1 12/20] StandaloneMmPkg: Add global check for FF-A abis Nishant Sharma
2023-07-11 14:36 ` [edk2-platforms][PATCH V1 13/20] ArmPkg: Bump the StMM SP FF-A minor version to 1 Nishant Sharma
2023-07-11 14:36 ` [edk2-platforms][PATCH V1 14/20] ArmPkg/MmCommunicationDxe: Introduce FF-A version check Nishant Sharma
2023-07-13 16:56   ` [edk2-devel] " Chris Fernald
2023-07-11 14:36 ` [edk2-platforms][PATCH V1 15/20] ArmPkg/MmCommunicationDxe: Add support for obtaining FF-A partition ID Nishant Sharma
2023-07-11 14:36 ` [edk2-platforms][PATCH V1 16/20] ArmPkg/MmCommunicationDxe: Register FF-A RX/TX buffers Nishant Sharma
2023-07-11 14:36 ` [edk2-platforms][PATCH V1 17/20] ArmPkg/MmCommunicationDxe: Unmap FF-A RX/TX buffers during ExitBootServices Nishant Sharma
2023-07-12 20:59   ` [edk2-devel] " Oliver Smith-Denny
2023-07-11 14:36 ` [edk2-platforms][PATCH V1 18/20] ArmPkg/MmCommunicationDxe: Discover the StMM SP Nishant Sharma
2023-07-12 21:10   ` [edk2-devel] " Oliver Smith-Denny
2023-07-12 21:48   ` Girish Mahadevan
2023-07-13 17:16   ` Chris Fernald
2023-07-11 14:36 ` [edk2-platforms][PATCH V1 19/20] ArmPkg/MmCommunicationDxe: Use the FF-A transport for MM requests Nishant Sharma
2023-07-11 19:22   ` [edk2-devel] " Kun Qin
2023-07-12 14:21     ` achin.gupta
2023-07-12 17:13       ` Kun Qin
2023-07-12 21:49   ` Girish Mahadevan
2023-07-11 14:36 ` [edk2-platforms][PATCH V1 20/20] StandaloneMmPkg: Add support for MM requests as FF-A direct messages Nishant Sharma
2023-07-12 21:13 ` [edk2-devel] [edk2-platforms][PATCH V1 00/20] Add the support for ARM Firmware First Framework Oliver Smith-Denny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox