]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sun7i: Add support for taking CPUs offline via PSCI
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 31 Dec 2014 12:46:40 +0000 (13:46 +0100)
committerHans de Goede <hdegoede@redhat.com>
Wed, 14 Jan 2015 13:56:40 +0000 (14:56 +0100)
commit602fa46c2c9ea90cb4a38fb4479e823c88c48b58
treea9f283938ea6e25830f9c2fa54c351dec161d450
parent213480e12d880ef6782f56f1af95469b48cca539
sun7i: Add support for taking CPUs offline via PSCI

Based on the original version by Marc Zyngier. It adds a psci_cpu_off
implementation for the A20 SoC. The mechanism works by first preparing
the calling CPU to go offline (disable and flush cache, disable SMP),
then requesting CPU 0 to pull the plug. The request is sent as FIQ on
SGI15.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
arch/arm/cpu/armv7/sunxi/psci.S