From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 98638] Panic on shutdown with AMDGPU and Ubuntu Plymouth Date: Sat, 26 Nov 2016 14:54:52 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1065461739==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id CFFCA6E074 for ; Sat, 26 Nov 2016 14:54:51 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1065461739== Content-Type: multipart/alternative; boundary="14801720910.BEfe7.8770"; charset="UTF-8" --14801720910.BEfe7.8770 Date: Sat, 26 Nov 2016 14:54:51 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D98638 --- Comment #9 from Ernst Sj=C3=B6strand --- (gdb) l *(amdgpu_fence_wait_empty+0x29) 0x112d9 is in amdgpu_fence_wait_empty (drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:270). 270 ptr =3D &ring->fence_drv.fences[seq & ring->fence_drv.num_fences_mask]; (gdb) l *(amdgpu_fence_wait_empty+0x2a) 0x112da is in amdgpu_fence_wait_empty (./include/linux/compiler.h:243). 243 __READ_ONCE_SIZE; (gdb) l *(amdgpu_fence_wait_empty+0x2b) 0x112db is in amdgpu_fence_wait_empty (./include/linux/compiler.h:243). 243 __READ_ONCE_SIZE; (gdb) l *(amdgpu_fence_wait_empty+0x2c) 0x112dc is in amdgpu_fence_wait_empty (./include/linux/compiler.h:243). 243 __READ_ONCE_SIZE; (gdb) l *(amdgpu_fence_wait_empty+0x2d) 0x112dd is in amdgpu_fence_wait_empty (drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:273). 273 if (!fence || !dma_fence_get_rcu(fence)) { It's not line 270 and not line 273 so I guess it's line 271 or 272: rcu_read_lock(); fence =3D rcu_dereference(*ptr); --=20 You are receiving this mail because: You are the assignee for the bug.= --14801720910.BEfe7.8770 Date: Sat, 26 Nov 2016 14:54:51 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 9 on bug 98638<= /a> from Ernst Sj=C3=B6strand
(gdb) l *(amdgpu_fence_wait_empty+0x29)
0x112d9 is in amdgpu_fence_wait_empty
(drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:270).
270             ptr =3D &ring->fence_drv.fences[seq &
ring->fence_drv.num_fences_mask];
(gdb) l *(amdgpu_fence_wait_empty+0x2a)
0x112da is in amdgpu_fence_wait_empty (./include/linux/compiler.h:243).
243             __READ_ONCE_SIZE;
(gdb) l *(amdgpu_fence_wait_empty+0x2b)
0x112db is in amdgpu_fence_wait_empty (./include/linux/compiler.h:243).
243             __READ_ONCE_SIZE;
(gdb) l *(amdgpu_fence_wait_empty+0x2c)
0x112dc is in amdgpu_fence_wait_empty (./include/linux/compiler.h:243).
243             __READ_ONCE_SIZE;
(gdb) l *(amdgpu_fence_wait_empty+0x2d)
0x112dd is in amdgpu_fence_wait_empty
(drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:273).
273             if (!fence || !dma_fence_get_rcu(fence)) {

It's not line 270 and not line 273 so I guess it's line 271 or 272:
        rcu_read_lock();
        fence =3D rcu_dereference(*ptr);


You are receiving this mail because:
  • You are the assignee for the bug.
= --14801720910.BEfe7.8770-- --===============1065461739== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1065461739==--