dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 102666] amdgpu_vm_bo_invalidate NULL reference in amd-staging-drm-next
@ 2017-09-11 22:22 bugzilla-daemon
  2017-09-11 22:23 ` bugzilla-daemon
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla-daemon @ 2017-09-11 22:22 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1745 bytes --]

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

            Bug ID: 102666
           Summary: amdgpu_vm_bo_invalidate NULL reference in
                    amd-staging-drm-next
           Product: DRI
           Version: DRI git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: bas@basnieuwenhuizen.nl

Created attachment 134171
  --> https://bugs.freedesktop.org/attachment.cgi?id=134171&action=edit
dmesg

I'm getting a 

[  404.518419] BUG: unable to handle kernel NULL pointer dereference at
0000000000000220
[  404.518445] IP: amdgpu_vm_bo_invalidate+0x71/0x150 [amdgpu]


when running vulkan cts with 32 processes (with tests that cause OOM removed).

Current linux tip:

commit 2dd9dc59c1419c090b084461165bd8b0adf1fecb (HEAD -> amd-staging-drm-next,
origin/amd-staging-drm-next)
Author: Harry Wentland <harry.wentland@amd.com>
Date:   Thu Aug 31 21:17:05 2017 -0400

    drm/amdgpu: Remove unused flip_flags from amdgpu_crtc


It doesn't seem like there is a correlating hang: the card is clocked down and
/sys/kernel/debug/dri/0/amdgpu_fence_info shows no pending fences. However,
eventually some of the CTS processes get stuck, and I can't kill them gdb into
them etc. Probably a pagefault that gets stuck, since fence waiting doesn't
seem to get stuck easily? Either way, not sure if that is related yet.

AFAICT the issue is that vm->root.base.bo is NULL in

if (evicted && bo->tbo.resv == vm->root.base.bo->tbo.resv) {

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3217 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 102666] amdgpu_vm_bo_invalidate NULL reference in amd-staging-drm-next
  2017-09-11 22:22 [Bug 102666] amdgpu_vm_bo_invalidate NULL reference in amd-staging-drm-next bugzilla-daemon
@ 2017-09-11 22:23 ` bugzilla-daemon
  2018-06-20 22:41 ` bugzilla-daemon
  2018-06-21  9:24 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2017-09-11 22:23 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 435 bytes --]

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

Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #134171|text/x-log                  |text/plain
          mime type|                            |

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1123 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 102666] amdgpu_vm_bo_invalidate NULL reference in amd-staging-drm-next
  2017-09-11 22:22 [Bug 102666] amdgpu_vm_bo_invalidate NULL reference in amd-staging-drm-next bugzilla-daemon
  2017-09-11 22:23 ` bugzilla-daemon
@ 2018-06-20 22:41 ` bugzilla-daemon
  2018-06-21  9:24 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2018-06-20 22:41 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 582 bytes --]

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

Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #1 from Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> ---
I haven't had this in a long while, seems to be fixed for a while.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2154 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 102666] amdgpu_vm_bo_invalidate NULL reference in amd-staging-drm-next
  2017-09-11 22:22 [Bug 102666] amdgpu_vm_bo_invalidate NULL reference in amd-staging-drm-next bugzilla-daemon
  2017-09-11 22:23 ` bugzilla-daemon
  2018-06-20 22:41 ` bugzilla-daemon
@ 2018-06-21  9:24 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2018-06-21  9:24 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 502 bytes --]

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

Christian König <ckoenig.leichtzumerken@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

--- Comment #2 from Christian König <ckoenig.leichtzumerken@gmail.com> ---
Ok in this case let's close this.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1970 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-06-21  9:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-11 22:22 [Bug 102666] amdgpu_vm_bo_invalidate NULL reference in amd-staging-drm-next bugzilla-daemon
2017-09-11 22:23 ` bugzilla-daemon
2018-06-20 22:41 ` bugzilla-daemon
2018-06-21  9:24 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox