<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:marta.lofstedt@intel.com" title="Marta Löfstedt <marta.lofstedt@intel.com>"> <span class="fn">Marta Löfstedt</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - [CI][SNB,HSW,APL,KBL] igt@prime_mmap@test_userptr - possible circular locking dependency detected"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102939">bug 102939</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>FIXED
</td>
<td>---
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>CLOSED
</td>
<td>REOPENED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - [CI][SNB,HSW,APL,KBL] igt@prime_mmap@test_userptr - possible circular locking dependency detected"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102939#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - [CI][SNB,HSW,APL,KBL] igt@prime_mmap@test_userptr - possible circular locking dependency detected"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102939">bug 102939</a>
from <span class="vcard"><a class="email" href="mailto:marta.lofstedt@intel.com" title="Marta Löfstedt <marta.lofstedt@intel.com>"> <span class="fn">Marta Löfstedt</span></a>
</span></b>
<pre>I was to quick to close this one:
The issue has started again on CI_DRM_3172 and forward
[ 85.488531] ======================================================
[ 85.488534] WARNING: possible circular locking dependency detected
[ 85.488537] 4.14.0-rc3-CI-CI_DRM_3172+ #1 Tainted: G U
[ 85.488539] ------------------------------------------------------
[ 85.488542] prime_mmap/1588 is trying to acquire lock:
[ 85.488544] (cpu_hotplug_lock.rw_sem){++++}, at: [<ffffffff8109e5a7>]
apply_workqueue_attrs+0x17/0x50
[ 85.488552]
but task is already holding lock:
[ 85.488555] (&dev_priv->mm_lock){+.+.}, at: [<ffffffffa01b2dfa>]
i915_gem_userptr_init__mmu_notifier+0x14a/0x270 [i915]
[ 85.488589]
which lock already depends on the new lock.
It is very weird that this lockdep wasn't caught on CI_DRM_3170 CI_DRM_3171.
<a href="https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3172/shard-snb5/igt@prime_mmap@test_userptr.html">https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3172/shard-snb5/igt@prime_mmap@test_userptr.html</a>
<a href="https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3172/shard-hsw5/igt@prime_mmap@test_userptr.html">https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3172/shard-hsw5/igt@prime_mmap@test_userptr.html</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are on the CC list for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>