Displaying 3 results from an estimated 3 matches for "reservation_ww_class_mutex".
2013 Jul 01
1
[PATCH] drm/nouveau: fix locking in nouveau_crtc_page_flip
...cy detected ]
3.10.0-rc7+ #101 Not tainted
-------------------------------------------------------
mplayer/4979 is trying to acquire lock:
(&drm_client_lock_class_key){+.+.+.}, at: [<ffffffffa0346b66>] nouveau_bo_move_m2mf.isra.13+0x4d/0x130 [nouveau]
but task is already holding lock:
(reservation_ww_class_mutex){+.+.+.}, at: [<ffffffffa019ab8b>] ttm_bo_vm_fault+0x47/0x394 [ttm]
which lock already depends on the new lock.
the existing dependency chain (in reverse order) is:
-> #1 (reservation_ww_class_mutex){+.+.+.}:
[<ffffffff810b9dbd>] lock_acquire+0x90/0x1f9
[<fffffff...
2020 Sep 09
0
nouveau: BUG: Invalid wait context
...33700] 4 locks held by X/2015:
[ 1143.133703] #0: ffff8d3e562d30c0 (&cli->mutex){+.+.}-{4:4}, at: nouveau_abi16_get+0x2c/0x60 [nouveau]
[ 1143.133756] #1: ffffa9a6c0c57d30 (reservation_ww_class_acquire){+.+.}-{0:0}, at: drm_ioctl_kernel+0x91/0xe0 [drm]
[ 1143.133785] #2: ffff8d3e3dcef1a0 (reservation_ww_class_mutex){+.+.}-{4:4}, at: nouveau_gem_ioctl_pushbuf+0x63b/0x1cb0 [nouveau]
[ 1143.133834] #3: ffff8d3e9ec9ea10 (krc.lock){-.-.}-{2:2}, at: kvfree_call_rcu+0x65/0x210
[ 1143.133845] stack backtrace:
[ 1143.133850] CPU: 2 PID: 2015 Comm: X Kdump: loaded Tainted: G S E 5.9.0.g34d4ddd-preempt #2...
2020 Jan 07
0
locking warnings in drm/virtio code
...file.h:43 linux/fs/ioctl.c:750)
[...]
[ 37.849656] =====================================
[ 37.850165] WARNING: bad unlock balance detected!
[ 37.850764] 5.5.0-rc5+ #605 Tainted: G W
[ 37.851307] -------------------------------------
[ 37.851955] Xorg/1869 is trying to release lock
(reservation_ww_class_mutex) at:
[ 37.852803] virtio_gpu_queue_fenced_ctrl_buffer
(linux/drivers/gpu/drm/virtio/virtgpu_vq.c:391)
[ 37.853618] but there are no more locks to release!
[ 37.854243]
[ 37.854243] other info that might help us debug this:
[ 37.855038] 3 locks held by Xorg/1869:
[ 37.855421] #0: ffff888...