Thread (32 messages) 32 messages, 4 authors, 2019-11-25

Re: [PATCH v2 11/13] cpuidle: psci: Manage runtime PM in the idle path

From: Sudeep Holla <hidden>
Date: 2019-11-15 17:33:04
Also in: linux-arm-msm, linux-pm

On Tue, Oct 29, 2019 at 05:44:36PM +0100, Ulf Hansson wrote:
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.

To set the triggering point for when runtime PM reference counting should
be done, let's store the index of deepest idle state for the CPU in the per
CPU struct. Then use this index to compare the selected idle state index
when entering idle, as to understand whether runtime PM reference counting
is needed or not.

Note that, 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.
Looks much better now with psci_enter_domain_state split as separate.

--
Regards,
Sudeep

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help