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

From: Viresh Kumar
Date: Wed Dec 01 2021 - 02:23:18 EST


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.

--
viresh