[PATCH 0/5] cpufreq: cppc: Fix suspend/resume specific races with FIE code

Viresh Kumar viresh.kumar at linaro.org
Tue Jun 15 19:38:40 AEST 2021


On 15-06-21, 13:20, Viresh Kumar wrote:
> I can see one place where race can happen, i.e. between
> topology_clear_scale_freq_source() and topology_scale_freq_tick(). It
> is possible that sfd->set_freq_scale() may get called for a previously
> set handler as there is no protection there.
> 
> I will see how to fix that. But I am not sure if the issue reported
> above comes from there.

I have tried to fix this race and pushed the relevant patch to my
branch. Please pick the latest branch and hopefully everything will
just work.

-- 
viresh


More information about the Linuxppc-dev mailing list