2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 06:34:11 +08:00
linux-next/arch/arm/mach-sunxi
Chen-Yu Tsai 8eaa0648d7 ARM: sun9i: smp: Support cpu0 hotplug
The BROM has a branch that checks if the primary core is hotplugging.
If the magic flag is set, execution jumps to the address set in the
software entry register. (Secondary cores always branch to the that
address.)

This patch sets the flags that makes BROM jump execution on the
primary core (cpu0) to the SMP software entry code when the core is
powered back up. After it is re-integrated into the system, the flag
is cleared.

A custom .cpu_can_disable callback that returns true for all cpus,
so that cpu0 can really be brought down.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
2018-02-20 11:12:40 +08:00
..
Kconfig ARM: sun9i: Support SMP bring-up on A80 2018-02-20 11:12:38 +08:00
Makefile ARM: sun9i: Support SMP bring-up on A80 2018-02-20 11:12:38 +08:00
mc_smp.c ARM: sun9i: smp: Support cpu0 hotplug 2018-02-20 11:12:40 +08:00
platsmp.c ARM: 8641/1: treewide: Replace uses of virt_to_phys with __pa_symbol 2017-02-28 11:06:10 +00:00
sunxi.c ARM: sunxi: add support for R40 SoC 2017-09-22 21:57:09 +02:00