mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-08-07 13:07:02 +02:00
Support for aborted powerdowns does not require much dedicated code. Rather, it is largely a matter of orchestrating things to happen in the right order. The only exception to this are older secure world dispatchers, which assume that a CPU_SUSPEND call will be terminal and therefore can clobber context. This was patched over in common code and hidden behind a flag. This patch moves this to the dispatchers themselves. Dispatchers that don't register svc_suspend{_finish} are unaffected. Those that do must save the NS context before clobbering it and restoring in only in case of a pabandon. Due to this operation being non-trivial, this patch makes the assumption that these dispatchers will only be present on hardware that does not support pabandon and therefore does not add any contexting for them. In case this assumption ever changes, asserts are added that should alert us of this change. Change-Id: I94a907515b782b4d2136c0d274246cfe1d567c0e Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com> |
||
---|---|---|
.. | ||
build-internals.rst | ||
build-options.rst | ||
docs-build.rst | ||
image-terminology.rst | ||
index.rst | ||
initial-build.rst | ||
prerequisites.rst | ||
psci-lib-integration-guide.rst | ||
rt-svc-writers-guide.rst | ||
tools-build.rst |