All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 106456] [regression][bisected] Mutex deadlock in nouveau (nv50_display.c)
@ 2018-05-09 20:24 bugzilla-daemon
  2018-05-09 20:26 ` bugzilla-daemon
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bugzilla-daemon @ 2018-05-09 20:24 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 106456
           Summary: [regression][bisected] Mutex deadlock in nouveau
                    (nv50_display.c)
           Product: DRI
           Version: DRI git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: DRM/other
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: john@jlindgren.net

Since linux 4.14, the nouveau driver deadlocks at boot.

Downstream report:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1763189?comments=all

The culprit is this commit:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=af2405af07d168e2905f2ac9494d3a804a549f0f

In short, drm_fb_helper_add_one_connector() and
drm_fb_helper_remove_one_connector() were incompatibly changed to add locking
of a mutex that previously the caller was expected to lock.  The i915 and
radeon drivers were updated to no longer lock the mutex, but nouveau was not
updated.

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

[-- Attachment #1.2: Type: text/html, Size: 2709 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] 5+ messages in thread

* [Bug 106456] [regression][bisected] Mutex deadlock in nouveau (nv50_display.c)
  2018-05-09 20:24 [Bug 106456] [regression][bisected] Mutex deadlock in nouveau (nv50_display.c) bugzilla-daemon
@ 2018-05-09 20:26 ` bugzilla-daemon
  2018-05-09 22:12 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2018-05-09 20:26 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from John Lindgren <john@jlindgren.net> ---
Created attachment 139452
  --> https://bugs.freedesktop.org/attachment.cgi?id=139452&action=edit
Fix mutex deadlock in nouveau driver

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

[-- Attachment #1.2: Type: text/html, Size: 1396 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] 5+ messages in thread

* [Bug 106456] [regression][bisected] Mutex deadlock in nouveau (nv50_display.c)
  2018-05-09 20:24 [Bug 106456] [regression][bisected] Mutex deadlock in nouveau (nv50_display.c) bugzilla-daemon
  2018-05-09 20:26 ` bugzilla-daemon
@ 2018-05-09 22:12 ` bugzilla-daemon
  2018-05-09 23:05 ` bugzilla-daemon
  2018-05-12 13:29 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2018-05-09 22:12 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from Ilia Mirkin <imirkin@alum.mit.edu> ---
Fixed by this?

https://github.com/skeggsb/nouveau/commit/f84973838226b8a599bce64376665ec8f0087629

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

[-- Attachment #1.2: Type: text/html, Size: 1207 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] 5+ messages in thread

* [Bug 106456] [regression][bisected] Mutex deadlock in nouveau (nv50_display.c)
  2018-05-09 20:24 [Bug 106456] [regression][bisected] Mutex deadlock in nouveau (nv50_display.c) bugzilla-daemon
  2018-05-09 20:26 ` bugzilla-daemon
  2018-05-09 22:12 ` bugzilla-daemon
@ 2018-05-09 23:05 ` bugzilla-daemon
  2018-05-12 13:29 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2018-05-09 23:05 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from John Lindgren <john@jlindgren.net> ---
Yes, that looks like the same fix.

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

[-- Attachment #1.2: Type: text/html, Size: 1044 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] 5+ messages in thread

* [Bug 106456] [regression][bisected] Mutex deadlock in nouveau (nv50_display.c)
  2018-05-09 20:24 [Bug 106456] [regression][bisected] Mutex deadlock in nouveau (nv50_display.c) bugzilla-daemon
                   ` (2 preceding siblings ...)
  2018-05-09 23:05 ` bugzilla-daemon
@ 2018-05-12 13:29 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2018-05-12 13:29 UTC (permalink / raw)
  To: dri-devel


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

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

Ilia Mirkin <imirkin@alum.mit.edu> changed:

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

--- Comment #4 from Ilia Mirkin <imirkin@alum.mit.edu> ---
This is now in mainline:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=352672db857290ab5b0e2b6a99c414f92bee024c

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

[-- Attachment #1.2: Type: text/html, Size: 2320 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] 5+ messages in thread

end of thread, other threads:[~2018-05-12 13:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-09 20:24 [Bug 106456] [regression][bisected] Mutex deadlock in nouveau (nv50_display.c) bugzilla-daemon
2018-05-09 20:26 ` bugzilla-daemon
2018-05-09 22:12 ` bugzilla-daemon
2018-05-09 23:05 ` bugzilla-daemon
2018-05-12 13:29 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.