]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(psci): introduce 'pwr_domain_off_early' hook
authorVarun Wadekar <vwadekar@nvidia.com>
Tue, 25 Apr 2023 13:03:27 +0000 (14:03 +0100)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 26 Apr 2023 08:53:10 +0000 (09:53 +0100)
commit6cf4ae979a5f8be23927b97ecfe789dabcb53dbd
tree377f9cbf7a758f2f9a11c3f126b5f2a21cea5454
parentd5f19c49baa7f420daf3afa2b79cc977ce2e9c74
feat(psci): introduce 'pwr_domain_off_early' hook

This patch introduces the 'pwr_domain_off_early'  hook for
platforms wanting to perform housekeeping steps before the
PSCI framework starts the CPU power off sequence. Platforms
might also want to use ths opportunity to ensure that the
CPU off sequence can proceed.

The PSCI framework expects a return code of PSCI_E_DENIED,
if the platform wants to halt the CPU off sequence.

Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Change-Id: I6980e84fc4d6cb80537a178d0d3d26fb28a13853
docs/porting-guide.rst
include/lib/psci/psci.h
lib/psci/psci_off.c