Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 50349c5e07e7a6b0451c42104c18553a14fabc32
      
https://github.com/tianocore/edk2/commit/50349c5e07e7a6b0451c42104c18553a14fabc32
  Author: Yeoreum Yun <[email protected]>
  Date:   2026-04-28 (Tue, 28 Apr 2026)

  Changed paths:
    M ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.c

  Log Message:
  -----------
  ArmPkg/Library: optimise StandaloneMmMmuLib with FF-A v1.3

commit 4ca452c ("ArmPkg/Library: Update StandaloneMmuLib with
FF-A v1.2 with page granularity") introduced page-granular memory
permission updates to fix the StandaloneMm load failure.

However, this approach results in issuing an SMC call
per page when updating permissions over a region.

Since FF-A Memory Management Protocol v1.3 [0],
FFA_MEM_PERM_GET has been updated to return the number of contiguous
pages that share the same memory permission starting from a base address.

With this change, update memory permissions in bulk
(per contiguous page range) to reduce the number of SMC calls,
leveraging FF-A Memory Management Protocol v1.3 [0].

Link: https://developer.arm.com/documentation/den0140/latest [0]
Signed-off-by: Yeoreum Yun <[email protected]>


  Commit: ae2d2d76c1b9c1f28abaee67f335dec29c96f7ec
      
https://github.com/tianocore/edk2/commit/ae2d2d76c1b9c1f28abaee67f335dec29c96f7ec
  Author: Yeoreum Yun <[email protected]>
  Date:   2026-04-28 (Tue, 28 Apr 2026)

  Changed paths:
    M ArmPkg/Drivers/MmCommunicationDxe/MmCommunication.c
    M ArmPkg/Drivers/MmCommunicationPei/MmCommunicationPei.c
    M 
ArmPkg/Library/ArmStandaloneMmCoreEntryPoint/ArmStandaloneMmCoreEntryPoint.c
    M ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.c
    M MdeModulePkg/Library/ArmFfaLib/ArmFfaCommon.c
    M MdePkg/Include/IndustryStandard/ArmFfaSvc.h
    M MdePkg/Include/Library/ArmFfaLib.h

  Log Message:
  -----------
  ArmPkg,MdePkg,MdeModulePkg: change ArmFfaLibGetVersion() with whole version

Current ArmFfaLibGetVersion()'s arguments receive two arguments
-- major version and minor version.

However, This gives some impression treating major and minor version
of the ABI as two unrelated 16-bit variables as opposed to
the upper and lower 16-bits of a 32-bit version variable.

Therefore, change the arguments with whole version and
let user to get major/minor version via ARM_FFA_MAJOR/MINOR_VERSION_GET
macros.

Also, add some useful helper to check version compatibility and
mimimum require ABI version.

Continuous-integration-options: PatchCheck.ignore-multi-package
Suggested-by: Leif Lindholm <[email protected]>
Signed-off-by: Yeoreum Yun <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/03a07cb0f5e9...ae2d2d76c1b9

To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to