Searched hist:"678 ce2237c67fbf20b080ee561358134bad1e18a" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/services/std_svc/spmd/ |
| H A D | spmd_main.c | 678ce2237c67fbf20b080ee561358134bad1e18a Fri May 21 16:00:04 UTC 2021 Olivier Deprez <olivier.deprez@arm.com> perf(spmd): omit sel1 context save if sel2 present
The SPMC at S-EL2 manages S-EL1 execution contexts for SPs. The currently running SP vCPU state is always saved when the SPMC exits to SPMD. A fresh vCPU context is always restored when the SPMC is entered from the SPMD and a SP resumed. For performance optimization reasons this permits omitting the saving/restoring of the S-EL1 context from within the EL3 SPMD on entering/exiting the SPMC. The S-EL2 SPMC and NS-EL1 context save/restore remain done in the SPMD.
Signed-off-by: Olivier Deprez <olivier.deprez@arm.com> Change-Id: I66413ed5983913791ff5c9fc03c590ee65c6ccd7
|