Thread (38 messages) 38 messages, 2 authors, 2019-12-20

Re: [PATCH v4 09/14] cpuidle: psci: Attach CPU devices to their PM domains

From: Sudeep Holla <hidden>
Date: 2019-12-19 14:31:01
Also in: linux-arm-msm, linux-pm

On Wed, Dec 11, 2019 at 04:43:38PM +0100, Ulf Hansson wrote:
In order to enable a CPU to be power managed through its PM domain, let's
try to attach it by calling psci_dt_attach_cpu() during the cpuidle
initialization.

psci_dt_attach_cpu() returns a pointer to the attached struct device, which
later should be used for runtime PM, hence we need to store it somewhere.
Rather than adding yet another per CPU variable, let's create a per CPU
struct to collect the relevant per CPU variables.
Reviewed-by: Sudeep Holla <redacted>

--
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