arm64: add psci support to secmon

Hardware / Coreboot - Aaron Durbin [chromium.org] - 28 March 2015 02:44 UTC

The PSCI functionality initially includes CPU_ON and CPU_OFF functions. Upon entering secmon if the parameters are non-NULL then a PSCI CPU_ON action is done for the current CPU.

BUG=chrome-os-partner:32112 BRANCH=None TEST=Booted kernel with PSCI support. Brought up all CPUs in kernel using PSCI. Turned CPUs on and off.

Change-Id: I256fa45a1c9889ff9d7990eb1898df1ec241c117

bda3577 arm64: add psci support to secmon
src/arch/arm64/armv8/secmon/Makefile.inc | 1 +
src/arch/arm64/armv8/secmon/psci.c | 208 +++++++++++++++++++++++++++++
src/arch/arm64/armv8/secmon/secmon_init.c | 20 +--
src/arch/arm64/include/arch/psci.h | 115 ++++++++++++++++
4 files changed, 329 insertions(+), 15 deletions(-)

Upstream: review.coreboot.org


  • Share