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

From: Viresh Kumar
Date: Tue Jun 15 2021 - 05:38:48 EST


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