]> git.baikalelectronics.ru Git - arm-tf.git/commit
PSCI: Implement platform compatibility layer
authorSoby Mathew <soby.mathew@arm.com>
Wed, 10 Jun 2015 12:49:59 +0000 (13:49 +0100)
committerAchin Gupta <achin.gupta@arm.com>
Thu, 13 Aug 2015 19:08:19 +0000 (20:08 +0100)
commit32bc85f2d5234fbc4d1f724db3d033b8e1be5dd3
tree3f225586e975d04f768dc3126e0544abe929f39d
parenteb975f52ea2e70216d214efcff3154f3cf081cb0
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
Makefile
include/bl31/services/psci1.0/psci.h
include/bl31/services/psci1.0/psci_compat.h [new file with mode: 0644]
include/plat/common/psci1.0/platform.h
plat/common/aarch64/platform_mp_stack.S
plat/compat/aarch64/plat_helpers_compat.S [new file with mode: 0644]
plat/compat/plat_compat.mk [new file with mode: 0644]
plat/compat/plat_pm_compat.c [new file with mode: 0644]
plat/compat/plat_topology_compat.c [new file with mode: 0644]
services/std_svc/psci1.0/psci_common.c