<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [Ci] igt@kms_flip@2x-modeset-vs-vblank-race - dmesg-fail - BUG: unable to handle kernel NULL pointer dereference -IP: snd_hda_spdif_ctls_unassign+0x30/0x40 [snd_hda_codec]"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105863">105863</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[Ci] igt@kms_flip@2x-modeset-vs-vblank-race - dmesg-fail - BUG: unable to handle kernel NULL pointer dereference -IP: snd_hda_spdif_ctls_unassign+0x30/0x40 [snd_hda_codec]
</td>
</tr>
<tr>
<th>Product</th>
<td>DRI
</td>
</tr>
<tr>
<th>Version</th>
<td>DRI git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>DRM/Intel
</td>
</tr>
<tr>
<th>Assignee</th>
<td>intel-gfx-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>marta.lofstedt@intel.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-gfx-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>CC</th>
<td>intel-gfx-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre><a href="https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_8/fi-kbl-7500u/igt@kms_flip@2x-modeset-vs-vblank-race.html">https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_8/fi-kbl-7500u/igt@kms_flip@2x-modeset-vs-vblank-race.html</a>
<7>[ 507.508081] [drm:i915_audio_component_get_eld [i915]] Not valid for port
C
<4>[ 507.508127] irq event stamp: 5350905
<1>[ 507.508129] BUG: unable to handle kernel NULL pointer dereference
<4>[ 507.508154] hardirqs last enabled at (5350905): [<00000000e7f8017c>]
ktime_get_with_offset+0xff/0x120
<4>[ 507.508161] at 000000000000000c
<1>[ 507.508184] IP: snd_hda_spdif_ctls_unassign+0x30/0x40 [snd_hda_codec]
<6>[ 507.508189] PGD 0 P4D 0
<4>[ 507.508216] hardirqs last disabled at (5350904): [<000000003522daac>]
ktime_get_with_offset+0x36/0x120
<4>[ 507.508234] softirqs last enabled at (5350878): [<00000000812e220d>]
__do_softirq+0x32b/0x4e1
<4>[ 507.508252] softirqs last disabled at (5350857): [<00000000ae03fd02>]
irq_exit+0xa4/0xb0
<4>[ 507.508287] Oops: 0002 [#1] PREEMPT SMP PTI
<0>[ 507.508321] Dumping ftrace buffer:
<0>[ 507.508333] ---------------------------------
<0>[ 507.508567] CPU:1 [LOST 54908 EVENTS]
<idle>-0 1d.s2 482286194us : __i915_request_submit:
bcs0 fence 286e:125 -> global_seqno 125
...
<0>[ 507.567946] drv_modu-4022 2.... 506842908us : i915_request_retire:
vcs0(11) fence 29ed:9, global_seqno 11
<0>[ 507.567957] ---------------------------------
<4>[ 507.567965] Modules linked in: snd_hda_intel i915 vgem snd_hda_codec_hdmi
snd_hda_codec_realtek snd_hda_codec_generic btusb btrtl x86_pkg_temp_thermal
intel_powerclamp coretemp crct10dif_pclmul btbcm crc32_pclmul
ghash_clmulni_intel snd_hda_codec btintel snd_hwdep snd_hda_core bluetooth
snd_pcm ecdh_generic e1000e mei_me mei prime_numbers [last unloaded: i915]
<4>[ 507.568071] CPU: 3 PID: 4167 Comm: kms_flip Tainted: G U
4.16.0-rc7-g0539b52e05cd-drmtip_8+ #1
<4>[ 507.568080] Hardware name: GIGABYTE GB-BKi7(H)A-7500/MFLP7AP-00, BIOS F7
06/28/2017
<4>[ 507.568103] RIP: 0010:snd_hda_spdif_ctls_unassign+0x30/0x40
[snd_hda_codec]
<4>[ 507.568113] RSP: 0018:ffffaaf9c044f958 EFLAGS: 00010206
<4>[ 507.568125] RAX: 0000000000000000 RBX: 000000000000000c RCX:
0000000000000001
<4>[ 507.568134] RDX: 00000000ffffffff RSI: 0000000000000000 RDI:
ffff9868de40b9c0
<4>[ 507.568143] RBP: ffff9868de40b3f8 R08: 000000002ca1bc00 R09:
0000000000000000
<4>[ 507.568151] R10: ffffaaf9c044f958 R11: 0000000000000004 R12:
ffff9868de40b9c0
<4>[ 507.568160] R13: ffff986897931bf8 R14: ffff9868de40b3f8 R15:
0000000000000001
<4>[ 507.568170] FS: 00007f6472561980(0000) GS:ffff9868edd80000(0000)
knlGS:0000000000000000
<4>[ 507.568179] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4>[ 507.568188] CR2: 000000000000000c CR3: 0000000217998005 CR4:
00000000003606e0
<4>[ 507.568195] Call Trace:
<4>[ 507.568218] update_eld+0x26a/0x480 [snd_hda_codec_hdmi]
<4>[ 507.568358] ? i915_audio_component_get_eld+0x13a/0x140 [i915]
<4>[ 507.568379] hdmi_present_sense+0xdb/0x370 [snd_hda_codec_hdmi]
<4>[ 507.568399] check_presence_and_report+0x59/0x80 [snd_hda_codec_hdmi]
<4>[ 507.568536] intel_audio_codec_disable+0xae/0xe0 [i915]
<4>[ 507.568702] intel_disable_ddi+0x78/0x120 [i915]
<4>[ 507.568860] intel_encoders_disable.isra.63+0x70/0x90 [i915]
<4>[ 507.569003] haswell_crtc_disable+0x42/0x140 [i915]
<4>[ 507.569146] intel_atomic_commit_tail+0x772/0xc50 [i915]
<4>[ 507.569293] intel_atomic_commit+0x240/0x320 [i915]
<4>[ 507.569317] ? drm_mode_getcrtc+0x170/0x170
<4>[ 507.569337] drm_atomic_helper_set_config+0x7b/0x90
<4>[ 507.569357] __drm_mode_set_config_internal+0x62/0x110
<4>[ 507.569375] drm_mode_setcrtc+0x3df/0x570
<4>[ 507.569413] ? drm_mode_getcrtc+0x170/0x170
<4>[ 507.569426] drm_ioctl_kernel+0x56/0xb0
<4>[ 507.569442] drm_ioctl+0x28f/0x330
<4>[ 507.569456] ? drm_mode_getcrtc+0x170/0x170
<4>[ 507.569483] do_vfs_ioctl+0x8c/0x690
<4>[ 507.569498] ? __fget+0xfc/0x1e0
<4>[ 507.569513] SyS_ioctl+0x36/0x70
<4>[ 507.569527] ? do_syscall_64+0x19/0x1b0
<4>[ 507.569543] do_syscall_64+0x6b/0x1b0
<4>[ 507.569565] entry_SYSCALL_64_after_hwframe+0x42/0xb7
<4>[ 507.569580] RIP: 0033:0x7f64712af5d7
<4>[ 507.569592] RSP: 002b:00007fff34538408 EFLAGS: 00000246 ORIG_RAX:
0000000000000010
<4>[ 507.569611] RAX: ffffffffffffffda RBX: 0000000000000003 RCX:
00007f64712af5d7
<4>[ 507.569623] RDX: 00007fff34538440 RSI: 00000000c06864a2 RDI:
0000000000000003
<4>[ 507.569635] RBP: 00007fff34538440 R08: 0000000000000000 R09:
0000000000000000
<4>[ 507.569647] R10: 0000000000000000 R11: 0000000000000246 R12:
00000000c06864a2
<4>[ 507.569659] R13: 0000000000000003 R14: 00007f647215e6c6 R15:
00007f647215fbb4
<4>[ 507.569686] Code: c8 05 00 00 55 53 48 89 fd 89 f3 4c 89 e7 31 f6 e8 76
f5 30 e3 0f af 9d d0 06 00 00 48 8b 85 d8 06 00 00 ba ff ff ff ff 4c 89 e7 <66>
89 14 18 5b 5d 41 5c e9 a3 e9 30 e3 0f 1f 00 41 54 55 48 89
<1>[ 507.569998] RIP: snd_hda_spdif_ctls_unassign+0x30/0x40 [snd_hda_codec]
RSP: ffffaaf9c044f958
<4>[ 507.570008] CR2: 000000000000000c
<4>[ 507.570025] ---[ end trace 531c5152a98f867f ]---
<3>[ 507.807666] BUG: sleeping function called from invalid context at
./include/linux/percpu-rwsem.h:34
<3>[ 507.807670] in_atomic(): 0, irqs_disabled(): 1, pid: 4167, name: kms_flip
<4>[ 507.807671] INFO: lockdep is turned off.
<4>[ 507.807673] irq event stamp: 143370
<4>[ 507.807677] hardirqs last enabled at (143369): [<00000000cc0330b8>]
console_unlock+0x426/0x640
<4>[ 507.807680] hardirqs last disabled at (143370): [<00000000592d91e0>]
error_entry+0x78/0xf0
<4>[ 507.807682] softirqs last enabled at (143354): [<00000000812e220d>]
__do_softirq+0x32b/0x4e1
<4>[ 507.807684] softirqs last disabled at (143333): [<00000000ae03fd02>]
irq_exit+0xa4/0xb0
<4>[ 507.807687] CPU: 3 PID: 4167 Comm: kms_flip Tainted: G UD
4.16.0-rc7-g0539b52e05cd-drmtip_8+ #1
<4>[ 507.807688] Hardware name: GIGABYTE GB-BKi7(H)A-7500/MFLP7AP-00, BIOS F7
06/28/2017
<4>[ 507.807689] Call Trace:
<4>[ 507.807693] dump_stack+0x67/0x95
<4>[ 507.807696] ___might_sleep+0x167/0x250
<4>[ 507.807698] exit_signals+0x1b/0x2a0
<4>[ 507.807701] do_exit+0x93/0xc90
<4>[ 507.807704] ? SyS_ioctl+0x36/0x70
<4>[ 507.807706] ? do_syscall_64+0x19/0x1b0
<4>[ 507.807709] rewind_stack_do_exit+0x17/0x20</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>