• Soby Mathew's avatar
    PSCI: Invoke PM hooks only for the highest level · 6590ce22
    Soby Mathew authored
    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
    6590ce22
psci_private.h 6.9 KB