OpenCloudOS-Kernel/drivers/firmware/psci
Ulf Hansson 49fdcd7577 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>
2020-01-02 16:49:59 +01:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile drivers: firmware: psci: Move psci to separate directory 2019-04-12 10:59:37 +02:00
psci.c firmware: psci: Export functions to manage the OSI mode 2020-01-02 16:49:59 +01:00
psci_checker.c drivers: firmware: psci: Decouple checker from generic ARM CPUidle 2019-08-09 17:51:39 +01:00