Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 31fc56c70a4fad8f116c9129812ffeba26d274b7
https://github.com/tianocore/edk2/commit/31fc56c70a4fad8f116c9129812ffeba26d274b7
Author: Mohamed Gamal Morsy <[email protected]>
Date: 2025-05-01 (Thu, 01 May 2025)
Changed paths:
M MdeModulePkg/Library/ArmFfaLib/ArmFfaCommon.c
Log Message:
-----------
ArmFfaLib: Replace SMCCC_VERSION check with FF-A version check
Patch 8d03c42d38d1 ("ArmPkg: ArmFfaLib: Update FF-A direct message
to support 18 registers") calls SMCCC_VERSION by default during
FF-A initialization even if the SMC conduit is not enabled. This
leads to sending malformed FF-A versions if the SVC conduit is
used instead.
This is observed for example when using an SPMC@EL-1 (e.g. rust-spmc)
which receives the FF-A message via an SVC call and interprets
SMCCC_VERSION as an FF-A Function ID and subsequently fails to
handle it.
Since 18-register support is only support with FF-A >= 1.2, replace
SMCCC_VERSION check with FF-A version check
Signed-off-by: Mohamed Gamal Morsy <[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