Rework the PSCI migrate APIs
authorSoby Mathew <soby.mathew@arm.com>
Thu, 23 Oct 2014 09:35:34 +0000 (10:35 +0100)
committerDan Handley <dan.handley@arm.com>
Mon, 26 Jan 2015 12:42:45 +0000 (12:42 +0000)
commit8991eed7439cb565da505a2bf88e9ac87ad79c1c
tree7f9294e7e79f337eeafd725c520ac3cd8c083a83
parent860331aa15ab251c515c396a5c095662de4ae5e6
Rework the PSCI migrate APIs

This patch reworks the PSCI MIGRATE, MIGRATE_INFO_TYPE and
MIGRATE_INFO_UP_CPU support for Trusted Firmware. The
implementation does the appropriate validation of parameters
and invokes the appropriate hook exported by the SPD.

The TSP is a MP Trusted OS. Hence the ability to actually
migrate a Trusted OS has not been implemented. The
corresponding function is not populated in the spd_pm_hooks
structure for the TSPD.

The `spd_pm_ops_t` has undergone changes with this patch.
SPD PORTS MAY NEED TO BE UPDATED.

Fixes ARM-software/tf-issues#249

Change-Id: Iabd87521bf7c530a5e4506b6d3bfd4f1bf87604f
include/bl31/services/psci.h
services/std_svc/psci/psci_common.c
services/std_svc/psci/psci_main.c
services/std_svc/psci/psci_private.h