edk2/MdeModulePkg/Library/ArmFfaLib
kuqin12 94065db3dc MdeModulePkg: ArmFfaLib: Add FFA_YIELD handling
If a secure partition on AArch64 platforms would consume extended time
to operate with peripherals, it might elect to yield the control back to
normal world and expect the normal world to callback after hinted period
of time.

This change adds the FFA_YIELD handling from ArmFfaLib to support long
operations from secure partitions. Timeout arguments are ignored because
systems in this context cannot benefit from the timeout period. Treating
FFA_YIELD like FFA_INTERRUPT and expecting the caller to invoke FFA_RUN
is the least disruptive approach while achieving the intended behavior.

This was tested on proprietary hardware platforms and booted to Windows.

Signed-off-by: Kun Qin <kun.qin@microsoft.com>
2025-10-31 07:26:12 +00:00
..
ArmFfaCommon.c MdeModulePkg: ArmFfaLib: Add FFA_YIELD handling 2025-10-31 07:26:12 +00:00
ArmFfaCommon.h MdeModulePkg/Library: commonize some duplicate code in ArmFfaLib 2025-07-14 11:59:38 +00:00
ArmFfaDxeLib.c MdeModulePkg/Library: add ArmFfaSecLib 2025-07-14 11:59:38 +00:00
ArmFfaDxeLib.inf MdeModulePkg/ArmFfaLib: Add MemoryAllocationLib 2025-09-12 07:31:53 +00:00
ArmFfaPeiLib.c MdeModulePkg/Include: change type of buffer address in ArmFfaRxTxBufferInfo 2025-07-14 11:59:38 +00:00
ArmFfaPeiLib.inf MdeModulePkg/ArmFfaLib: Add MemoryAllocationLib 2025-09-12 07:31:53 +00:00
ArmFfaRxTxMap.c MdeModulePkg/Include: change type of buffer address in ArmFfaRxTxBufferInfo 2025-07-14 11:59:38 +00:00
ArmFfaRxTxMap.h MdeModulePkg/Library: fix memory leak Rx/Tx Buffer in ArmFfaPeiLib 2025-07-14 11:59:38 +00:00
ArmFfaSecLib.c MdeModulePkg/Include: change type of buffer address in ArmFfaRxTxBufferInfo 2025-07-14 11:59:38 +00:00
ArmFfaSecLib.inf MdeModulePkg/ArmFfaLib: Add MemoryAllocationLib 2025-09-12 07:31:53 +00:00
ArmFfaSecRxTxMap.c MdeModulePkg/Include: change type of buffer address in ArmFfaRxTxBufferInfo 2025-07-14 11:59:38 +00:00
ArmFfaStandaloneMmCoreLib.inf MdeModulePkg/ArmFfaLib: Add MemoryAllocationLib 2025-09-12 07:31:53 +00:00
ArmFfaStandaloneMmLib.c MdeModulePkg: consider UNSUPPORTED return as valid in ArmFfaStandaloneMmLib 2025-09-09 01:09:48 +10:00
ArmFfaStandaloneMmLib.inf MdeModulePkg/ArmFfaLib: Add MemoryAllocationLib 2025-09-12 07:31:53 +00:00
ArmFfaStandaloneMmRxTxMap.c MdeModulePkg/Include: change type of buffer address in ArmFfaRxTxBufferInfo 2025-07-14 11:59:38 +00:00