]> rtime.felk.cvut.cz Git - jailhouse.git/commit
arm: minimal PSCI implementation
authorJean-Philippe Brucker <jean-philippe.brucker@arm.com>
Wed, 25 Jun 2014 15:43:00 +0000 (16:43 +0100)
committerJan Kiszka <jan.kiszka@siemens.com>
Fri, 19 Dec 2014 10:04:07 +0000 (11:04 +0100)
commitafc11444a3d1383dbd0f2275b647fd2a802a7b1a
tree9149762c4150ce37b994c6ea221b2309b41d95a9
parent192ab38c613d36e7ecf283196ed627cbaefa7a8e
arm: minimal PSCI implementation

This is not the final thing: it can only be used internally for
suspending, resuming and parking CPUs while reconfiguring the cells.
Using this base, a trivial PSCI 0.2 emulation can be added by implementing
the appropriate trap hooks.

The mailbox in the per_cpu structure is used to store the address and
context where psci_cpu_off returns.
CPUs doing reconfiguration on the cells can use the psci_suspend and
psci_resume wrappers to store all affected cores.

Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/arch/arm/Makefile
hypervisor/arch/arm/include/asm/percpu.h
hypervisor/arch/arm/include/asm/psci.h [new file with mode: 0644]
hypervisor/arch/arm/psci.c [new file with mode: 0644]
hypervisor/arch/arm/psci_low.S [new file with mode: 0644]
hypervisor/arch/arm/setup.c