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)
committerAshwin Chaugule <ashwin.chaugule@linaro.org>
Thu, 15 May 2014 14:16:00 +0000 (10:16 -0400)
commite71246a23acbc89e9cb4ebf1558d60e65733479f
tree733dd0f1f714b4b6473c7dade260861f5e51f551
parent4447a208f7fc2e2dff8c6a8df2a1fd6dd72fb3e2
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>
arch/arm/include/asm/psci.h
arch/arm/kernel/psci.c
arch/arm64/include/asm/psci.h
arch/arm64/kernel/psci.c