• Ulf Hansson's avatar
    cpuidle: psci: Manage runtime PM in the idle path · ce85aef5
    Ulf Hansson authored
    In case we have succeeded to attach a CPU to its PM domain, let's deploy
    runtime PM support for the corresponding attached device, to allow the CPU
    to be powered-managed accordingly.
    
    The triggering point for when runtime PM reference counting should be done,
    has been selected to the deepest idle state for the CPU. However, from the
    hierarchical point view, there may be good reasons to do runtime PM
    reference counting even on shallower idle states, but at this point this
    isn't supported, mainly due to limitations set by the generic PM domain.
    Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
    Reviewed-by: default avatarSudeep Holla <sudeep.holla@arm.com>
    Acked-by: default avatarRafael J. Wysocki <rafael@kernel.org>
    ce85aef5
cpuidle-psci.c 6.85 KB