<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [amdgpu] [drm:gfx_v8_0_hw_fini] *ERROR* KCQ disabled failed (scratch(0xC040)=0x00000000) when unbinding"
href="https://bugs.freedesktop.org/show_bug.cgi?id=104825#c17">Comment # 17</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [amdgpu] [drm:gfx_v8_0_hw_fini] *ERROR* KCQ disabled failed (scratch(0xC040)=0x00000000) when unbinding"
href="https://bugs.freedesktop.org/show_bug.cgi?id=104825">bug 104825</a>
from <span class="vcard"><a class="email" href="mailto:mlen@mlen.pl" title="mlen <mlen@mlen.pl>"> <span class="fn">mlen</span></a>
</span></b>
<pre>No issues on drm-next-4.17-wip, unbinding works without any lockdep issues.
Do you plan to backport these changes to 4.16 or maybe even 4.15?
For the record, suspend fails on drm-next-4.17-wip. This could be possibly
related, but I don't know how to debug this and most likely this is out of
scope of this bug.
[ 96.222095] PM: suspend entry (deep)
[ 96.222099] PM: Syncing filesystems ... done.
[ 96.230020] INFO: trying to register non-static key.
[ 96.230024] the code is fine but needs lockdep annotation.
[ 96.230026] turning off the locking correctness validator.
[ 96.230029] CPU: 39 PID: 4506 Comm: pm-suspend Not tainted 4.16.0-rc7+ #2
[ 96.230031] Hardware name: ASUSTeK COMPUTER INC. Z10PE-D16 WS/Z10PE-D16 WS,
BIOS 3407 03/10/2017
[ 96.230033] Call Trace:
[ 96.230040] dump_stack+0x46/0x59
[ 96.230046] register_lock_class+0x192/0x361
[ 96.230050] ? cycles_2_ns+0x55/0x75
[ 96.230054] __lock_acquire.isra.30+0x97/0x595
[ 96.230057] lock_acquire+0x105/0x12e
[ 96.230060] ? devres_for_each_res+0x41/0xc4
[ 96.230064] ? __fw_entry_found+0x3b/0x3b
[ 96.230068] _raw_spin_lock_irqsave+0x3d/0x74
[ 96.230071] ? devres_for_each_res+0x41/0xc4
[ 96.230073] ? kref_get+0xa/0xa
[ 96.230075] ? alloc_fw_cache_entry+0x4e/0x4e
[ 96.230077] devres_for_each_res+0x41/0xc4
[ 96.230096] dev_cache_fw_image+0x59/0x11d
[ 96.230098] ? fw_pm_notify+0xd1/0xd1
[ 96.230102] dpm_for_each_dev+0x41/0x58
[ 96.230104] fw_pm_notify+0xac/0xd1
[ 96.230108] notifier_call_chain+0x39/0x5a
[ 96.230127] __blocking_notifier_call_chain+0x4e/0x65
[ 96.230130] __pm_notifier_call_chain+0x1b/0x2f
[ 96.230133] pm_suspend+0x15b/0x2c1
[ 96.230135] state_store+0x4b/0x7e
[ 96.230140] kernfs_fop_write+0x114/0x15c
[ 96.230145] __vfs_write+0x33/0xd7
[ 96.230148] ? __sb_start_write+0x94/0x180
[ 96.230150] ? __sb_start_write+0xc0/0x180
[ 96.230153] vfs_write+0xa5/0xe2
[ 96.230156] SyS_write+0x5f/0xa3
[ 96.230160] do_syscall_64+0x79/0x88
[ 96.230164] entry_SYSCALL_64_after_hwframe+0x3d/0xa2
[ 96.230166] RIP: 0033:0x7fac7a914468
[ 96.230168] RSP: 002b:00007ffea25554e0 EFLAGS: 00000246 ORIG_RAX:
0000000000000001
[ 96.230171] RAX: ffffffffffffffda RBX: 0000000000000004 RCX:
00007fac7a914468
[ 96.230172] RDX: 0000000000000004 RSI: 0000558679eb4500 RDI:
0000000000000001
[ 96.230174] RBP: 0000558679eb4500 R08: 000000000000000a R09:
0000558679eeb6b0
[ 96.230175] R10: 00007fac7a9a5b20 R11: 0000000000000246 R12:
0000000000000004
[ 96.230177] R13: 0000000000000001 R14: 00007fac7abe1740 R15:
0000000000000004
[ 96.230183] BUG: unable to handle kernel NULL pointer dereference at
0000000000000008
[ 96.230189] IP: devres_for_each_res+0x59/0xc4
[ 96.230191] PGD 0 P4D 0
[ 96.230196] Oops: 0000 [#1] PREEMPT SMP PTI
[ 96.230199] Modules linked in:
[ 96.230203] CPU: 39 PID: 4506 Comm: pm-suspend Not tainted 4.16.0-rc7+ #2
[ 96.230205] Hardware name: ASUSTeK COMPUTER INC. Z10PE-D16 WS/Z10PE-D16 WS,
BIOS 3407 03/10/2017
[ 96.230208] RIP: 0010:devres_for_each_res+0x59/0xc4
[ 96.230210] RSP: 0018:ffffa63689fabc70 EFLAGS: 00010086
[ 96.230214] RAX: 0000000000000000 RBX: ffff9fd574d4ad98 RCX:
ffff9fd574d4b1f0
[ 96.230216] RDX: ffff9fd576ea0918 RSI: ffff9fd574d4b1c0 RDI:
ffff9fd576ea0918
[ 96.230218] RBP: ffffffffa8951b3a R08: 0000000000000000 R09:
0000000000000000
[ 96.230221] R10: ffff9fd576ea0000 R11: ffffffffab22aa07 R12:
ffffffffa8951f44
[ 96.230223] R13: dead000000000100 R14: ffffffffa8951c08 R15:
ffff9fd574d4b1a8
[ 96.230226] FS: 00007fac7b021740(0000) GS:ffff9fe57f400000(0000)
knlGS:0000000000000000
[ 96.230229] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 96.230231] CR2: 0000000000000008 CR3: 000000202a4a8002 CR4:
00000000003606e0
[ 96.230233] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
0000000000000000
[ 96.230236] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7:
0000000000000400
[ 96.230238] Call Trace:
[ 96.230243] dev_cache_fw_image+0x59/0x11d
[ 96.230247] ? fw_pm_notify+0xd1/0xd1
[ 96.230250] dpm_for_each_dev+0x41/0x58
[ 96.230253] fw_pm_notify+0xac/0xd1
[ 96.230256] notifier_call_chain+0x39/0x5a
[ 96.230261] __blocking_notifier_call_chain+0x4e/0x65
[ 96.230264] __pm_notifier_call_chain+0x1b/0x2f
[ 96.230267] pm_suspend+0x15b/0x2c1
[ 96.230271] state_store+0x4b/0x7e
[ 96.230275] kernfs_fop_write+0x114/0x15c
[ 96.230279] __vfs_write+0x33/0xd7
[ 96.230284] ? __sb_start_write+0x94/0x180
[ 96.230286] ? __sb_start_write+0xc0/0x180
[ 96.230290] vfs_write+0xa5/0xe2
[ 96.230295] SyS_write+0x5f/0xa3
[ 96.230299] do_syscall_64+0x79/0x88
[ 96.230303] entry_SYSCALL_64_after_hwframe+0x3d/0xa2
[ 96.230305] RIP: 0033:0x7fac7a914468
[ 96.230308] RSP: 002b:00007ffea25554e0 EFLAGS: 00000246 ORIG_RAX:
0000000000000001
[ 96.230311] RAX: ffffffffffffffda RBX: 0000000000000004 RCX:
00007fac7a914468
[ 96.230313] RDX: 0000000000000004 RSI: 0000558679eb4500 RDI:
0000000000000001
[ 96.230316] RBP: 0000558679eb4500 R08: 000000000000000a R09:
0000558679eeb6b0
[ 96.230318] R10: 00007fac7a9a5b20 R11: 0000000000000246 R12:
0000000000000004
[ 96.230320] R13: 0000000000000001 R14: 00007fac7abe1740 R15:
0000000000000004
[ 96.230326] Code: 48 83 ec 28 48 89 4c 24 18 4c 89 4c 24 20 e8 ca 7d 4b 00
48 8d 8b 58 04 00 00 48 89 44 24 08 48 8b 83 60 04 00 00 48 89 4c 24 10 <4c> 8b
68 08 48 3b 44 24 10 74 44 4c 3b 70 10 75 35 48 83 c0 28
[ 96.230390] RIP: devres_for_each_res+0x59/0xc4 RSP: ffffa63689fabc70
[ 96.230392] CR2: 0000000000000008
[ 96.230395] ---[ end trace 43f33fa700a0efa9 ]---
[ 96.233392] note: pm-suspend[4506] exited with preempt_count 1</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>