PSCI: Add initial support for PSCIv0.2 functions
authorAshwin Chaugule <ashwin.chaugule@linaro.org>
Thu, 17 Apr 2014 18:38:41 +0000 (14:38 -0400)
committerMark Brown <broonie@kernel.org>
Thu, 23 Oct 2014 19:06:43 +0000 (20:06 +0100)
commit0701a48d8b0353fc7338e20c1b14b00e7cae7b1f
treeae047976be663f2ff5a35ad289acccb587811134
parent65da4b09ed98b49bfa85069fa4fc0b24d01c2e15
PSCI: Add initial support for PSCIv0.2 functions

The PSCIv0.2 spec defines standard values of function IDs
and introduces a few new functions. Detect version of PSCI
and appropriately select the right PSCI functions.

Signed-off-by: Ashwin Chaugule <ashwin.chaugule@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
(cherry picked from commit e71246a23acbc89e9cb4ebf1558d60e65733479f)
Signed-off-by: Mark Brown <broonie@kernel.org>
arch/arm/include/asm/psci.h
arch/arm/kernel/psci.c
arch/arm64/include/asm/psci.h
arch/arm64/kernel/psci.c