[COMMON] arm64: psci: Reappear psci_power_state_pack
authorPark Bumgyu <bumgyu.park@samsung.com>
Tue, 3 May 2016 10:01:36 +0000 (19:01 +0900)
committerChungwoo Park <cww.park@samsung.com>
Mon, 21 May 2018 08:26:27 +0000 (17:26 +0900)
commit129679b44faef206b28dfc1b67320c91e48a75c4
treee1d56886f98202c72fa25960866e17f13aba085f
parent86b6fbf0a3b40cfeed431fbfa326e04b08f2c7fc
[COMMON] arm64: psci: Reappear psci_power_state_pack

psci_power_state_pack which combines PSCI power state information
to integer is removed by commit c8cc427("arm64: psci: kill
psci_power_state").

In case of exynos, it needs to reconstitute PSCI power state to
support extra power mode which cpuidle does not support. To
resonstitute PSCI power state, psci_power_state_pack is added.
It will be used in psci_suspend_customized_finisher.

Change-Id: I506e690965e73cdd1d6acee7664b5cf4cfc049a0
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
drivers/firmware/psci.c