| bb01a673 | 29-Nov-2021 |
Marc Bonnici <marc.bonnici@arm.com> |
feat(spmd): enable handling of FF-A SMCs with the SPMC at EL3
Any FF-A SMC that arrives from the normal world is handled by the SPMD before being forwarded to the SPMC. Similarly any SMC arriving fr
feat(spmd): enable handling of FF-A SMCs with the SPMC at EL3
Any FF-A SMC that arrives from the normal world is handled by the SPMD before being forwarded to the SPMC. Similarly any SMC arriving from the secure world will hit the SPMC first and be forwarded to the SPMD if required, otherwise the SPMC will respond directly.
This allows for the existing flow of handling FF-A ABI's when the SPMC resides at a lower EL to be preserved.
In order to facilitate this flow the spmd_smc_forward function has been split and control is either passed to the SPMC or it is forwarded as before. To allow this the flags and cookie parameters must now also be passed into this method as the SPMC must be able to provide these when calling back into the SPMD handler as appropriate.
Signed-off-by: Marc Bonnici <marc.bonnici@arm.com> Change-Id: I84fee8390023295b9689067e14cd25cba23ca39b
show more ...
|
| 6da76075 | 29-Nov-2021 |
Marc Bonnici <marc.bonnici@arm.com> |
feat(spmd): update SPMC init flow to use EL3 implementation
Allow the SPMD to initialise an SPMC implementation at EL3 directly rather than at a lower EL. This includes removing the requirement to p
feat(spmd): update SPMC init flow to use EL3 implementation
Allow the SPMD to initialise an SPMC implementation at EL3 directly rather than at a lower EL. This includes removing the requirement to parse an SPMC manifest to obtain information about the SPMC implementation, in this case since the SPMD and SPMC reside in the same EL we can hardcode the required information directly.
Signed-off-by: Marc Bonnici <marc.bonnici@arm.com> Change-Id: I66d1e1b3ec2d0abbfc28b011a32445ee890a331d
show more ...
|
| 0c23e6f4 | 09-Nov-2021 |
Olivier Deprez <olivier.deprez@arm.com> |
fix(spmd): error macro to use correct print format
Following merge of [1] then [2] broke the build because of an incorrect format specifier in an ERROR macro. Fix to use the correct print format.
[
fix(spmd): error macro to use correct print format
Following merge of [1] then [2] broke the build because of an incorrect format specifier in an ERROR macro. Fix to use the correct print format.
[1] https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/5437 [2] https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/9211
Signed-off-by: Olivier Deprez <olivier.deprez@arm.com> Change-Id: I14d4c31091f6a5f4c3252f6d810e9d2bb2f545c4
show more ...
|
| 473ced56 | 02-Mar-2021 |
Olivier Deprez <olivier.deprez@arm.com> |
SPMD: lock the g_spmd_pm structure
Add a lock and spin lock/unlock calls when accessing the fields of the SPMD PM structure.
Signed-off-by: Olivier Deprez <olivier.deprez@arm.com> Change-Id: I9bab7
SPMD: lock the g_spmd_pm structure
Add a lock and spin lock/unlock calls when accessing the fields of the SPMD PM structure.
Signed-off-by: Olivier Deprez <olivier.deprez@arm.com> Change-Id: I9bab705564dc1ba003c29512b1f9be5f126fbb0d
show more ...
|