[Bug 93294] [BAT SKL] lockdep splat

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 28 05:12:50 PST 2016


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

--- Comment #7 from Chris Wilson <chris at chris-wilson.co.uk> ---
Reverse the polarity of the tachyon streams:

diff --git a/kernel/cpu.c b/kernel/cpu.c
index 5b9d39633ce9..58a0ca0789a0 100644
--- a/kernel/cpu.c
+++ b/kernel/cpu.c
@@ -148,7 +148,6 @@ void cpu_hotplug_begin(void)
        DEFINE_WAIT(wait);

        cpu_hotplug.active_writer = current;
-       cpuhp_lock_acquire();

        for (;;) {
                mutex_lock(&cpu_hotplug.lock);
@@ -159,13 +158,14 @@ void cpu_hotplug_begin(void)
                schedule();
        }
        finish_wait(&cpu_hotplug.wq, &wait);
+       cpuhp_lock_acquire();
 }

 void cpu_hotplug_done(void)
 {
+       cpuhp_lock_release();
        cpu_hotplug.active_writer = NULL;
        mutex_unlock(&cpu_hotplug.lock);
-       cpuhp_lock_release();
 }

 /*

-- 
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/20160128/e04df491/attachment.html>


More information about the intel-gfx-bugs mailing list