[Bug 93294] [BAT SKL] lockdep splat

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 3 14:16:41 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=93294

--- Comment #8 from Joonas Lahtinen <joonas.lahtinen at linux.intel.com> ---
OK, found the real cause. P-state init ends up locking first the policy->rwsem
and then the cpu_hotplug.lock. I just wonder how this does not happen on all
platforms?

I attached a description of the call traces. I think our P-state driver should
not call get_online_cpus() during the policy init, if possible, as not many of
the other drivers call it either.

Or doing the init under cpu_hotplug_begin(). I'll see about this tomorrow.

$ fgrep get_online_cpus *
acpi-cpufreq.c:    get_online_cpus();
cpufreq.c:    get_online_cpus();
cpufreq.c:    get_online_cpus();
cpufreq.c:    get_online_cpus();
cpufreq_ondemand.c:    get_online_cpus();
intel_pstate.c:    get_online_cpus();
intel_pstate.c:    get_online_cpus();
powernow-k8.c:    get_online_cpus();

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20160203/f0471cb7/attachment-0001.html>


More information about the intel-gfx-bugs mailing list