Thread (31 messages) 31 messages, 5 authors, 2021-08-23

Re: [PATCH v4 0/9] Inefficient OPPs

From: Viresh Kumar <viresh.kumar@linaro.org>
Date: 2021-08-10 07:39:06

On 10-08-21, 11:43, Viresh Kumar wrote:
Now that I see the current implementation, I think we can make it work
in a different way.

- Copy what's done for thermal-cooling in cpufreq core, i.e.
  CPUFREQ_IS_COOLING_DEV flag, for the EM core as well. So the cpufreq
  drivers can set a flag, CPUFREQ_REGISTER_EM, and the cpufreq core
  can call dev_pm_opp_of_register_em() on their behalf. This call will
  be made from cpufreq_online(), just before/after
  cpufreq_thermal_control_enabled() stuff. By this point the policy is
  properly initialized and is also updated in
  per_cpu(cpufreq_cpu_data).
And I was able to get something out for this:

https://lore.kernel.org/lkml/cover.1628579170.git.viresh.kumar@linaro.org/ (local)

-- 
viresh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help