arm64: add PSCI CPU_OFF-based hotplug support
authorMark Rutland <mark.rutland@arm.com>
Thu, 24 Oct 2013 19:30:19 +0000 (20:30 +0100)
committerMark Brown <broonie@linaro.org>
Wed, 11 Dec 2013 21:12:28 +0000 (21:12 +0000)
commit8cea5d72615ec55b8e31d8d4a066a38041e0dca2
treed430d3eee1d73dd508f68a345691a5253ef4d9e2
parentd3bde2dcb4434ae9f905d9286e36feb59953f1e3
arm64: add PSCI CPU_OFF-based hotplug support

This patch adds support for using PSCI CPU_OFF calls for CPU hotplug.
With this code it is possible to hot unplug CPUs with "psci" as their
boot-method, as long as there's an appropriate cpu_off function id
specified in the psci node.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
(cherry picked from commit 831ccf79b46e02f31cfd16c66df9d5600f635155)
Signed-off-by: Mark Brown <broonie@linaro.org>
arch/arm64/kernel/psci.c