edk2/MdeModulePkg
Mohamed Gamal Morsy 31fc56c70a ArmFfaLib: Replace SMCCC_VERSION check with FF-A version check
Patch 8d03c42d38 ("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 <mohamed.morsy@arm.com>
2025-05-01 11:51:16 +00:00
..
Application CapsuleApp: Fix proper return after capsule update 2025-03-13 02:36:57 +00:00
Bus MdeModulePkg SpiBus: Use correct GUID 2025-04-30 14:55:42 +08:00
Core MdeModulePkg: DxeCore: Set Image Protections Through GCD 2025-04-27 05:52:11 +00:00
Include MdeModulePkg: Update MM buffer structs alignment 2025-04-14 08:44:05 +00:00
Library ArmFfaLib: Replace SMCCC_VERSION check with FF-A version check 2025-05-01 11:51:16 +00:00
Logo
Test Add MockVariablePolicyHelperLib 2025-02-07 18:43:32 +00:00
Universal DisplayEngineDxe: Fix length when displaying menu string 2025-04-25 03:31:33 +00:00
MdeModulePkg.ci.yaml MdeModulePkg: Add duplicate exception for gUiAppFileGuid 2025-03-06 14:18:10 +01:00
MdeModulePkg.dec MdeModulePkg: ArmFfaLib: Move Rx/Tx hob definition to Include/Guid folder 2025-04-10 17:52:48 +00:00
MdeModulePkg.dsc ArmPkg: ArmFfaLib: Move ArmFfaLib implementation to MdeModulePkg 2025-04-10 17:52:48 +00:00
MdeModulePkg.uni
MdeModulePkgExtra.uni