PSCI: Invoke PM hooks only for the highest level
This patch optimizes the invocation of the platform power management hooks for
ON, OFF and SUSPEND such that they are called only for the highest affinity
level which will be powered off/on. Earlier, the hooks were being invoked for
all the intermediate levels as well.

This patch requires that the platforms migrate to the new semantics of the PM
hooks.  It also removes the `state` parameter from the pm hooks as the `afflvl`
parameter now indicates the highest affinity level for which power management
operations are required.

Change-Id: I57c87931d8a2723aeade14acc710e5b78ac41732
1 parent b48349e commit 6590ce22955357d5d6f2bce13f84a1189e3b8d0f
@Soby Mathew Soby Mathew authored on 30 Jun 2015
Showing 10 changed files
View
include/bl31/services/psci1.0/psci.h
View
services/std_svc/psci1.0/psci_afflvl_off.c
View
services/std_svc/psci1.0/psci_afflvl_on.c
View
services/std_svc/psci1.0/psci_afflvl_suspend.c
View
services/std_svc/psci1.0/psci_common.c
View
services/std_svc/psci1.0/psci_entry.S
View
services/std_svc/psci1.0/psci_helpers.S
View
services/std_svc/psci1.0/psci_main.c
View
services/std_svc/psci1.0/psci_private.h
View
services/std_svc/psci1.0/psci_setup.c