aboutsummaryrefslogtreecommitdiff
path: root/kernel/compat.c
diff options
context:
space:
mode:
authorChen-Yu Tsai2018-01-17 16:46:51 +0800
committerChen-Yu Tsai2018-02-20 11:12:38 +0800
commit7cbea6327e76f2a7d77d02065a191bb29865a4a9 (patch)
tree04163eda35149dd0a917ad1d540746f6f862db57 /kernel/compat.c
parent745373e3d6ee3e398494d3aebe923b57a90ebadf (diff)
ARM: sun9i: smp: Support CPU/cluster power down and hotplugging for cpu1~7
This patch adds common code used to power down all cores and clusters. The code was previously based on the MCPM framework. It has now been adapted to hook into struct smp_operations directly, but the code structure still shows signs of prior work. The primary core (cpu0) requires setting flags to have the BROM bounce execution to the SMP software entry code. This is done in a subsequent patch to keep the changes cleanly separated. By default the ARM SMP code blocks cpu0 from being turned off, so splitting this out is safe. Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Diffstat (limited to 'kernel/compat.c')
0 files changed, 0 insertions, 0 deletions