allwinner: Add platform PSCI functions required for SMP
The reset vector entry point is preserved across CPU resets, so it only
needs to be set once at boot.

Hotplugged CPUs are not actually powered down, but are put in a wfi with
the GIC disconnected.

With this commit, Linux is able to enable, hotplug and use all four CPUs.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
1 parent 333d66c commit 560581ecebfa16e8b728317abf8c0f01c7ed2139
@Samuel Holland Samuel Holland authored on 12 Aug 2017
Andre Przywara committed on 15 Jun 2018
Showing 1 changed file
View
plat/allwinner/common/sunxi_pm.c