ARM: Put target PC for PSCI CPU_ON on per-CPU stack
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 21 Apr 2015 05:18:30 +0000 (07:18 +0200)
committerTom Warren <twarren@nvidia.com>
Wed, 13 May 2015 16:24:14 +0000 (09:24 -0700)
commit3317b988b16b7499d2c28175d4bb77f6e04cf447
tree4e9e0de104a8fadf3de07926b51f56a4ec6ea23b
parent4c681a3d22f0018186d83d753be566965c0cf7a5
ARM: Put target PC for PSCI CPU_ON on per-CPU stack

Use a per-CPU variable for saving the target PC during CPU_ON
operations. This allows us to run this service independently on targets
that have more than 2 cores and also core-local power control.

CC: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Tested-by: Ian Campbell <ijc@hellion.org.uk>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/cpu/armv7/psci.S
arch/arm/cpu/armv7/sunxi/psci.S