Re: [PATCH] cpufreq: mediatek: change transition delay for MT8186

From: Viresh Kumar
Date: Tue Aug 29 2023 - 04:36:29 EST


On 29-08-23, 14:01, Viresh Kumar wrote:
> Why exactly does the kernel crash here ? Any idea ?

Also note that cpufreq core has enough locking in place to make sure
two ->target_index() function calls don't run in parallel for the same
policy.

What may be happening in your case is that you are configuring a
common entity (CCI) from both the policies and there is no locking in
place to take care of the races.

--
viresh