[Bug 104209] [CI] igt at gem_userptr_blits@map-fixed-invalidate-gup - dmesg-warn: WARNING: possible circular locking dependency detected

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Dec 15 08:38:08 UTC 2017


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

--- Comment #3 from Daniel Vetter <daniel at ffwll.ch> ---
Repeating my analysis from the mail thread: This looks real:

https://www.spinics.net/lists/intel-gfx/msg150141.html

In both cases of the circle we seem to hit exactly the same gtt/drm_device
mapping locks. One way to break this is to make sure we do not call
flush_workqueue on a range which isn't userptr-mapped (which automatically
avoids gtt mmaps, since those are not allowed for userptr, or at least should).
That option still has the classification problem, and I'm honestly not sure
it's actually deadlock-free.

Or we have to somehow get rid of the flush_work from the mmu_notifier callback
entirely. Safest option, but I dunno how right now.

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


More information about the intel-gfx-bugs mailing list