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 <sudeep.holla@xxxxxxx> -- Regards, Sudeep