drivers: firmware: psci: Announce support for OS initiated suspend mode
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 10 Apr 2019 08:20:25 +0000 (10:20 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 12 Apr 2019 08:59:37 +0000 (10:59 +0200)
commit60dd1ead65e83268af9ccd19b97c7011cb50186b
tree359597d1b83227b0d019dd3fc4e3ebbac8aae589
parentd036b5cfef6360808117abd0c53775b7a8981a2e
drivers: firmware: psci: Announce support for OS initiated suspend mode

PSCI firmware v1.0+, supports two different modes for CPU_SUSPEND.
The Platform Coordinated mode, which is the default and mandatory
mode, while support for the OS initiated (OSI) mode is optional.

In some cases it's interesting for the user/developer to know if
the OSI mode is supported by the PSCI FW, so print a message to
the log if that is the case.

Co-developed-by: Lina Iyer <lina.iyer@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/firmware/psci/psci.c
include/uapi/linux/psci.h