diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2019-10-10 12:01:48 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2020-01-02 16:49:59 +0100 |
commit | 49fdcd7577efe9efe863cdbb154f32a96970c1bc (patch) | |
tree | 326ecc6f8d698f2e1006777b0def4f41377f4cc1 /drivers/of/base.c | |
parent | a3f048b5424e68f0f7218c51e84d7b84ab0143cb (diff) |
firmware: psci: Export functions to manage the OSI mode
To allow subsequent changes to implement support for OSI mode through the
cpuidle-psci driver, export the existing psci_has_osi_support(). Export
also a new function, psci_set_osi_mode(), that allows its caller to enable
the OS-initiated CPU-suspend mode in the PSCI FW.
To deal with backwards compatibility for a kernel started through a kexec
call, default to set the CPU-suspend mode to the Platform Coordinated mode
during boot.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'drivers/of/base.c')
0 files changed, 0 insertions, 0 deletions