Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: e146b012f542d683c50707fd77d8d84e629e42ee
https://github.com/tianocore/edk2/commit/e146b012f542d683c50707fd77d8d84e629e42ee
Author: Kannan Suprayan <[email protected]>
Date: 2026-04-24 (Fri, 24 Apr 2026)
Changed paths:
M MdePkg/Include/IndustryStandard/ArmFfaMemMgmt.h
M MdePkg/Library/ArmFfaMemMgmtLib/ArmFfaMemMgmtLib.c
Log Message:
-----------
MdePkg/ArmFfaMemMgmtLib: Set NS bit support in FFA_FEATURES query
Add FFA_FEATURES_MEM_RETRIEVE_REQ_NS_SUPPORT macro and use it in
FFA_FEATURES call for FFA_MEM_RETRIEVE_REQ to indicate NS bit usage
support.
According to DEN0140 FF-A Memory Management Protocol v1.3 ALP1
specification section 1.10.4.1.1 "Discovery of NS bit usage":
"A v1.1 SP must set Bit[1] in the Input properties parameter."
This bit indicates that the Secure Partition supports interpreting
the NS (Non-Secure) bit in FFA_MEM_RETRIEVE_RESP invocations from
the SPMC (Secure Partition Manager Core). The NS bit is used to
specify the security state of a memory region being retrieved.
The Hafnium SPMC implementation enforces this requirement for FF-A
v1.1+ endpoints. Without this bit set, Hafnium returns FFA_NOT_SUPPORTED:
This change is required for proper operation with Hafnium and other
v1.1+ compliant SPMCs that enforce NS bit negotiation.
Signed-off-by: Kannan Suprayan <[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