Re: [PATCH] cpufreq: cppc: Mark frequency invariance broken

From: Viresh Kumar
Date: Thu Jun 10 2021 - 07:35:06 EST


On 10-06-21, 13:19, Rafael J. Wysocki wrote:
> On Thu, Jun 10, 2021 at 9:58 AM Viresh Kumar <viresh.kumar@xxxxxxxxxx> wrote:
> >
> > There are few races in the frequency invariance support for CPPC driver,
> > namely the driver doesn't stop the kthread_work and irq_work on policy
> > exit during suspend/resume or CPU hotplug.
> >
> > A proper fix won't be possible for the 5.13-rc, as it requires a lot of
> > changes. Instead of reverting the patch, mark this feature BROKEN for
> > now.
> >
> > Fixes: 4c38f2df71c8 ("cpufreq: CPPC: Add support for frequency invariance")
> > Reported-by: Qian Cai <quic_qiancai@xxxxxxxxxxx>
> > Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
>
> Well, why don't we revert 4c38f2df71c8 instead?
>
> Is there any particular reason for retaining it?

I was just trying to reduce the diff size here, since this feature
(which broke) was controlled by a CONFIG option, it looked like a nice
way of doing it.

It was already reviewed and a diff over it should be easier to review.

I can do a full revert if that's what you want.

--
viresh