Re: [PATCH] cpufreq: Fix get_cpu_device() failed in add_cpu_dev_symlink()

From: Rafael J. Wysocki
Date: Wed Dec 01 2021 - 13:53:15 EST


On Wed, Dec 1, 2021 at 8:23 AM Viresh Kumar <viresh.kumar@xxxxxxxxxx> wrote:
>
> On 30-11-21, 12:42, Rafael J. Wysocki wrote:
> > This is the real hot-add path which isn't tested on a regular basis.
>
> Ahh, I thought this is a simple offline/online thing. Makes sense now.
>
> > > Anyway the patch is okay,
> >
> > It would be good to add a Fixes: tag to it, though. Any idea about
> > the commit this should point to?
>
> This is broken since a very long time then, we need to get this into all stable
> kernels we care about.
>
> As Xiongfeng pointed out, 2f0ba790df51 ("cpufreq: Fix creation of symbolic links
> to policy directories") looks to be a good candidate.

Applied as 5.16-rc material, thanks!