]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(psci): add support for PSCI_SET_SUSPEND_MODE
authorWing Li <wingers@google.com>
Wed, 14 Sep 2022 20:18:15 +0000 (13:18 -0700)
committerWing Li <wingers@google.com>
Tue, 21 Mar 2023 05:20:35 +0000 (22:20 -0700)
commitb88a4416b5e5f2bda2240c632ba79e15a9a75c45
tree435b571820f6fd31bcd8792dac17efac8ad55267
parent64b4710b8de96cbd881045ab37737fcacae8095d
feat(psci): add support for PSCI_SET_SUSPEND_MODE

This patch adds a PSCI_SET_SUSPEND_MODE handler that validates the
request per section 5.20.2 of the PSCI spec (DEN0022D.b), and updates
the suspend mode to the requested mode.

This is conditionally compiled into the build depending on the value of
the `PSCI_OS_INIT_MODE` build option.

Change-Id: Iebf65f5f7846aef6b8643ad6082db99b4dcc4bef
Signed-off-by: Wing Li <wingers@google.com>
include/lib/psci/psci.h
include/lib/psci/psci_lib.h
lib/psci/psci_common.c
lib/psci/psci_main.c
lib/psci/psci_private.h
lib/psci/psci_setup.c