Re: CPUfreq lockdep issue
From: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Date: 2016-02-19 22:37:11
From: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Date: 2016-02-19 22:37:11
On Fri, 2016-02-19 at 14:47 +0530, Viresh Kumar wrote:
Adding the maintainers of the driver in cc now.
[...] Hi Viresh,
Hi Guys, Joonas reported a lockdep between cpufreq and intel-pstate driver and we are looking for probable solutions. I failed to understand why should we run intel_pstate_hwp_set() for each online CPU, while the frequency is changed only for a group of CPUs that belong to a policy.
Don't need from set_policy interface.
Ofcourse intel_pstate_hwp_set() is required to be run for all CPUs, while the sysfs files are touched. And so, do we have a problem with below diff?
I gave a quick test, the change works fine. Thanks, Srinivas