<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:martin.peres@free.fr" title="Martin Peres <martin.peres@free.fr>"> <span class="fn">Martin Peres</span></a>
</span> changed
<a class="bz_bug_link
bz_status_CLOSED bz_closed"
title="CLOSED FIXED - [CI][BAT] igt@gem_busy@close-race - dmesg-fail - general protection fault: 0000 [#1] PREEMPT SMP PTI"
href="https://bugs.freedesktop.org/show_bug.cgi?id=108561">bug 108561</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;">Status</td>
<td>RESOLVED
</td>
<td>CLOSED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_CLOSED bz_closed"
title="CLOSED FIXED - [CI][BAT] igt@gem_busy@close-race - dmesg-fail - general protection fault: 0000 [#1] PREEMPT SMP PTI"
href="https://bugs.freedesktop.org/show_bug.cgi?id=108561#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_CLOSED bz_closed"
title="CLOSED FIXED - [CI][BAT] igt@gem_busy@close-race - dmesg-fail - general protection fault: 0000 [#1] PREEMPT SMP PTI"
href="https://bugs.freedesktop.org/show_bug.cgi?id=108561">bug 108561</a>
from <span class="vcard"><a class="email" href="mailto:martin.peres@free.fr" title="Martin Peres <martin.peres@free.fr>"> <span class="fn">Martin Peres</span></a>
</span></b>
<pre>(In reply to Chris Wilson from <a href="show_bug.cgi?id=108561#c2">comment #2</a>)
<span class="quote">> commit a590d0fdbaa56f482ff515e1040b6d9b1b200d63 (HEAD -> drm-misc-next,
> drm-misc/drm-misc-next)
> Author: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
> Date: Fri Oct 26 09:03:02 2018 +0100
>
> dma-buf: Update reservation shared_count after adding the new fence
>
> We need to serialise the addition of a new fence into the shared list
> such that the fence is visible before we claim it is there. Otherwise a
> concurrent reader of the shared fence list will see an uninitialised
> fence slot before it is set.
>
> <4> [109.613162] general protection fault: 0000 [#1] PREEMPT SMP PTI
> <4> [109.613177] CPU: 1 PID: 1357 Comm: gem_busy Tainted: G U
> 4.19.0-rc8-CI-CI_DRM_5035+ #1
> <4> [109.613189] Hardware name: Dell Inc. XPS 8300 /0Y2MRG, BIOS A06
> 10/17/2011
> <4> [109.613252] RIP: 0010:i915_gem_busy_ioctl+0x146/0x380 [i915]
> <4> [109.613261] Code: 0b 43 04 49 83 c6 08 4d 39 e6 89 43 04 74 6d 4d
> 8b 3e e8 5d 54 f4 e0 85 c0 74 0d 80 3d 08 71 1d 00 00
> 0f 84 bb 00 00 00 31 c0 <49> 81 7f 08 20 3a 2c a0 75 cc 41 8b 97 50 02
> 00 00 49 8b 8f a8 00
> <4> [109.613283] RSP: 0018:ffffc9000044bcf8 EFLAGS: 00010246
> <4> [109.613292] RAX: 0000000000000000 RBX: ffffc9000044bdc0 RCX:
> 0000000000000001
> <4> [109.613302] RDX: 0000000000000000 RSI: 00000000ffffffff RDI:
> ffffffff822474a0
> <4> [109.613311] RBP: ffffc9000044bd28 R08: ffff88021e158680 R09:
> 0000000000000001
> <4> [109.613321] R10: 0000000000000040 R11: 0000000000000000 R12:
> ffff88021e1641b8
> <4> [109.613331] R13: 0000000000000003 R14: ffff88021e1641b0 R15:
> 6b6b6b6b6b6b6b6b
> <4> [109.613341] FS: 00007f9c9fc84980(0000) GS:ffff880227a40000(0000)
> knlGS:0000000000000000
> <4> [109.613352] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> <4> [109.613360] CR2: 00007f9c9fcb8000 CR3: 00000002247d4005 CR4:
> 00000000000606e0
>
> Fixes: 27836b641c1b ("dma-buf: remove shared fence staging in
> reservation object")
> Testcase: igt/gem_busy/close-race
> Signed-off-by: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
> Cc: Christian König <<a href="mailto:christian.koenig@amd.com">christian.koenig@amd.com</a>>
> Cc: Junwei Zhang <<a href="mailto:Jerry.Zhang@amd.com">Jerry.Zhang@amd.com</a>>
> Cc: Huang Rui <<a href="mailto:ray.huang@amd.com">ray.huang@amd.com</a>>
> Cc: Sumit Semwal <<a href="mailto:sumit.semwal@linaro.org">sumit.semwal@linaro.org</a>>
> Reviewed-by: Christian König <<a href="mailto:christian.koenig@amd.com">christian.koenig@amd.com</a>>
> Link:
> <a href="https://patchwork.freedesktop.org/patch/msgid/20181026080302.11507-1">https://patchwork.freedesktop.org/patch/msgid/20181026080302.11507-1</a>-
> <a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a></span >
It did the trick, thanks!</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>