Skip to content
Snippets Groups Projects
Commit 602fa46c authored by Jan Kiszka's avatar Jan Kiszka Committed by Hans de Goede
Browse files

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: default avatarJan Kiszka <jan.kiszka@siemens.com>
Acked-by: default avatarIan Campbell <ijc@hellion.org.uk>
parent 213480e1
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment