PSCI: Implement platform compatibility layer
The new PSCI topology framework and PSCI extended State framework introduces
a breaking change in the platform port APIs. To ease the migration of the
platform ports to the new porting interface, a compatibility layer is
introduced which essentially defines the new platform API in terms of the
old API. The old PSCI helpers to retrieve the power-state, its associated
fields and the highest coordinated physical OFF affinity level of a core
are also implemented for compatibility. This allows the existing
platform ports to work with the new PSCI framework without significant
rework. This layer will be enabled by default once the switch to the new
PSCI framework is done and is controlled by the build flag ENABLE_PLAT_COMPAT.

Change-Id: I4b17cac3a4f3375910a36dba6b03d8f1700d07e3
1 parent eb975f5 commit 32bc85f2d5234fbc4d1f724db3d033b8e1be5dd3
@Soby Mathew Soby Mathew authored on 10 Jun 2015
Achin Gupta committed on 13 Aug 2015
Showing 10 changed files
View
Makefile
View
include/bl31/services/psci1.0/psci.h
View
include/bl31/services/psci1.0/psci_compat.h 0 → 100644
View
include/plat/common/psci1.0/platform.h
View
plat/common/aarch64/platform_mp_stack.S
View
plat/compat/aarch64/plat_helpers_compat.S 0 → 100644
View
plat/compat/plat_compat.mk 0 → 100644
View
plat/compat/plat_pm_compat.c 0 → 100644
View
plat/compat/plat_topology_compat.c 0 → 100644
View
services/std_svc/psci1.0/psci_common.c