| eac8077a | 07-Jun-2024 |
Olivier Deprez <olivier.deprez@arm.com> |
refactor(spmd): move plat_my_core_pos calls
By tracing instruction execution, it is observed: Placing plat_my_core_pos at top of functions translate by the compiler into calling those functions even
refactor(spmd): move plat_my_core_pos calls
By tracing instruction execution, it is observed: Placing plat_my_core_pos at top of functions translate by the compiler into calling those functions even if the result is not consumed when not printed. plat_my_core_pos is used to retrieve the core id for the currently running core, but effectively call sites are only consuming it for verbosity purposes. Move plat_my_core_pos calls into the print functions that require it.
Signed-off-by: Olivier Deprez <olivier.deprez@arm.com> Change-Id: Ia3549453b5e4de7c575a8887a4d19e318658d03e
show more ...
|
| 107e3cc0 | 07-Jun-2024 |
Olivier Deprez <olivier.deprez@arm.com> |
refactor(spmd): call cm_get_context once
As observed by tracing instruction execution the SMC_RET18 macro in spmd_smc_switch_state calls cm_get_context, however the compiler expands it to multiple i
refactor(spmd): call cm_get_context once
As observed by tracing instruction execution the SMC_RET18 macro in spmd_smc_switch_state calls cm_get_context, however the compiler expands it to multiple individual non-inlined calls to this same function. Store the result of cm_get_context into a local variable and use it in the macro such that this function is only called once.
Signed-off-by: Olivier Deprez <olivier.deprez@arm.com> Change-Id: Ib4fa63aced2f07c67c057f54fef3780c85e91df7
show more ...
|
| 0651b7be | 08-Sep-2023 |
Kathleen Capella <kathleen.capella@arm.com> |
feat(spmd): add FFA_MSG_SEND_DIR_RESP2
Add handling for FF-A 1.2 FFA_MSG_SEND_DIR_RESP2 interface.
Signed-off-by: Kathleen Capella <kathleen.capella@arm.com> Change-Id: Ibd0546ecd71d004804e6e18b27a
feat(spmd): add FFA_MSG_SEND_DIR_RESP2
Add handling for FF-A 1.2 FFA_MSG_SEND_DIR_RESP2 interface.
Signed-off-by: Kathleen Capella <kathleen.capella@arm.com> Change-Id: Ibd0546ecd71d004804e6e18b27a4728a21259fa0
show more ...
|