Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 7f0fd11273126838dcff879185642ea53f84c26d
https://github.com/tianocore/edk2/commit/7f0fd11273126838dcff879185642ea53f84c26d
Author: Shenghu Liu <[email protected]>
Date: 2026-05-28 (Thu, 28 May 2026)
Changed paths:
M MdeModulePkg/Library/ArmFfaLib/ArmFfaCommon.c
M MdeModulePkg/Library/ArmFfaLib/ArmFfaRxTxMap.c
M MdeModulePkg/Library/ArmFfaLib/ArmFfaSecRxTxMap.c
M MdeModulePkg/Library/ArmFfaLib/ArmFfaStandaloneMmRxTxMap.c
Log Message:
-----------
MdeModulePkg/ArmFfaLib: Fix VM ID handling for RX release and RXTX unmap
According to the FFA specification, when FFA_RX_RELEASE or
FFA_RXTX_UNMAP is invoked from UEFI as a non-secure virtual instance,
the w1 register must be zero (MBZ). Supplying a non-zero value causes the
SPMC to return FFA_INVALID_PARAMETER.
When these interfaces are invoked from UEFI as a non-secure physical
instance, FFA_ID_GET always returns a VM ID of zero. Therefore,
providing a non-zero VM ID in this context is unnecessary and may be
invalid.
Update ArmFfaLib to always set w1 (VM ID / partition ID) to zero when
invoking FFA_RX_RELEASE and FFA_RXTX_UNMAP, ensuring compliance with
the FFA specification.
Signed-off-by: Shenghu Liu <[email protected]>
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