Re: [PATCH 1/8] cpufreq: Auto-register with energy model if asked
From: Viresh Kumar
Date: Tue Aug 10 2021 - 05:38:34 EST
On 10-08-21, 10:36, Lukasz Luba wrote:
> The of_cpufreq_cooling_register() should be called after the EM
> is present for the CPU device. When you check that function,
> you will see that we call
> em_cpu_get(policy->cpu)
> to get the EM pointer. Otherwise IPA might fail.
Good point.
--
viresh