ARM: sun9i: Support SMP bring-up on A80
authorChen-Yu Tsai <wens@csie.org>
Wed, 17 Jan 2018 08:46:47 +0000 (16:46 +0800)
committerChen-Yu Tsai <wens@csie.org>
Tue, 20 Feb 2018 03:12:38 +0000 (11:12 +0800)
commit745373e3d6ee3e398494d3aebe923b57a90ebadf
tree854c327411cc68ef871d428af85538aee37eadc3
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2
ARM: sun9i: Support SMP bring-up on A80

The A80 is a big.LITTLE SoC with 1 cluster of 4 Cortex-A7s and
1 cluster of 4 Cortex-A15s.

This patch adds support to bring up the second cluster and thus all
cores using custom platform SMP code. Core/cluster power down has not
been implemented, thus CPU hotplugging is not supported.

Parts of the trampoline and re-entry code for the boot cpu was adapted
from the MCPM framework.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
arch/arm/mach-sunxi/Kconfig
arch/arm/mach-sunxi/Makefile
arch/arm/mach-sunxi/mc_smp.c [new file with mode: 0644]