]> git.baikalelectronics.ru Git - arm-tf.git/commit
lib: psci: early suspend handler for platforms
authorVarun Wadekar <vwadekar@nvidia.com>
Mon, 10 Jul 2017 23:02:05 +0000 (16:02 -0700)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 31 Jul 2017 18:41:17 +0000 (11:41 -0700)
commit1862d6203cb21d1846388e8d7530612a9b98786e
tree3615e2c96baeec9fd803bbe9d97af4c95bb5c727
parente43ae8e9de9b485f539b9c2bc8bef6680a060c26
lib: psci: early suspend handler for platforms

This patch adds an early suspend handler, that executes with
SMP and data cache enabled. This handler allows platforms to
perform any early actions during the CPU suspend entry sequence.

This handler is optional and platforms can choose to implement it
depending on their needs. The `pwr_domain_suspend` handler still
exists and platforms can keep on using it without any side effects.

Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
docs/platform-migration-guide.rst
docs/porting-guide.rst
include/lib/psci/psci.h
lib/psci/psci_suspend.c