Hi,
Can someone please help me in understanding how TF-A (EL3) forwards FF-A calls to Hafnium (SEL2)? And what Hafnium code I should look into for seeing how Hafnium handles these calls?
Regards, Rahul
Hi Rahul,
The SPM functionality is split into a dispatcher (SPMD at EL3) and a core component (SPMC at S-EL2 or S-EL1). SMC privileged instruction using an FF-A ABI function id in x0 emitted from NS-EL1/2 traps to EL3 and reaches the SPMD dispatcher: https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/tree/services/st...
An FF-A ABI can either be handled at EL3 (and returns to NWd) or be relayed to a lower secure EL by exception return (ERET) e.g.: https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/tree/services/st...
You may want as well to look at latest FF-A specification and TF-A design document: https://developer.arm.com/documentation/den0077/latest https://trustedfirmware-a.readthedocs.io/en/latest/components/secure-partiti...
Regards, Olivier.
________________________________________ From: Rahul Kumar Yadav via Hafnium hafnium@lists.trustedfirmware.org Sent: 11 April 2022 16:54 To: hafnium@lists.trustedfirmware.org Subject: [Hafnium] How FF-A calls reach Hafnium?
Hi,
Can someone please help me in understanding how TF-A (EL3) forwards FF-A calls to Hafnium (SEL2)? And what Hafnium code I should look into for seeing how Hafnium handles these calls?
Regards, Rahul -- Hafnium mailing list -- hafnium@lists.trustedfirmware.org To unsubscribe send an email to hafnium-leave@lists.trustedfirmware.org
hafnium@lists.trustedfirmware.org