<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [CI][SHARDS] igt@runner@aborted - fail - general protection fault: 0000 [#1] PREEMPT SMP NOPTI, Workqueue: events azx_probe_work"
href="https://bugs.freedesktop.org/show_bug.cgi?id=110382#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [CI][SHARDS] igt@runner@aborted - fail - general protection fault: 0000 [#1] PREEMPT SMP NOPTI, Workqueue: events azx_probe_work"
href="https://bugs.freedesktop.org/show_bug.cgi?id=110382">bug 110382</a>
from <span class="vcard"><a class="email" href="mailto:james.ausmus@intel.com" title="James Ausmus <james.ausmus@intel.com>"> <span class="fn">James Ausmus</span></a>
</span></b>
<pre>If we get rid of the noise from the dmesg, we get:
<4>[ 11.837706] general protection fault: 0000 [#1] PREEMPT SMP NOPTI
<4>[ 11.837755] CPU: 4 PID: 190 Comm: kworker/4:3 Not tainted
5.1.0-rc4-CI-CI_DRM_5896+ #1
<4>[ 11.837788] Hardware name: Intel Corporation Ice Lake Client
Platform/IceLake U DDR4 SODIMM PD RVP, BIOS ICLSFWR1.R00.3087.A00.1902250334
02/25/2019
<4>[ 11.837843] Workqueue: events azx_probe_work [snd_hda_intel]
<4>[ 11.837869] RIP: 0010:kobject_uevent_env+0x38/0x810
<4>[ 11.837890] Code: 53 49 89 d5 48 89 c3 48 83 ec 38 4c 8b 24 c5 c0 88 ef
81 0f 1f 44 00 00 4c 89 f0 eb 0d 48 8b 40 18 48 85 c0 0f 84 27 01 00 00 <4c> 8b
78 20 4d 85 ff 74 ea 41 f6 46 3c 10 0f 85 f9 00 00 00 49 8b
<4>[ 11.837957] RSP: 0018:ffffc9000144bd18 EFLAGS: 00010296
<4>[ 11.837980] RAX: 6b6b6b6b6b6b6b6b RBX: 0000000000000002 RCX:
0000000000000000
<4>[ 11.838008] RDX: 0000000000000000 RSI: 0000000000000002 RDI:
6b6b6b6b6b6b6b6b
<4>[ 11.838036] RBP: ffff88848250b3f8 R08: 0000000085e480ea R09:
0000000000000001
<4>[ 11.838063] R10: 0000000000000000 R11: ffff888499ee48b8 R12:
ffffffff820df667
<4>[ 11.839071] R13: 0000000000000000 R14: 6b6b6b6b6b6b6b6b R15:
ffff88849507df00
<4>[ 11.840027] FS: 0000000000000000(0000) GS:ffff88849ff00000(0000)
knlGS:0000000000000000
<4>[ 11.840992] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4>[ 11.841951] CR2: 0000556b60348c78 CR3: 0000000005214004 CR4:
0000000000760ee0
<4>[ 11.842915] PKRU: 55555554
<4>[ 11.843882] Call Trace:
<4>[ 11.844846] ? add_widget_node+0x68/0xa0 [snd_hda_core]
<4>[ 11.845813] widget_tree_create+0xf6/0x110 [snd_hda_core]
<4>[ 11.847717] hda_widget_sysfs_init+0x1a/0x40 [snd_hda_core]
<4>[ 11.847720] snd_hdac_device_register+0x19/0x40 [snd_hda_core]
<4>[ 11.849720] snd_hda_codec_configure+0x39/0x160 [snd_hda_codec]
<4>[ 11.849724] azx_codec_configure+0x2a/0x60 [snd_hda_codec]
<4>[ 11.851936] azx_probe_work+0x42e/0x7e0 [snd_hda_intel]
<4>[ 11.853928] process_one_work+0x245/0x610
<4>[ 11.856202] worker_thread+0x37/0x380
<4>[ 11.856204] ? process_one_work+0x610/0x610
<4>[ 11.858091] kthread+0x119/0x130
<4>[ 11.858092] ? kthread_park+0x80/0x80
<4>[ 11.858095] ret_from_fork+0x24/0x50
<4>[ 11.859975] Modules linked in: snd_hda_codec_hdmi(+)
snd_hda_codec_realtek(+) snd_hda_codec_generic x86_pkg_temp_thermal coretemp
mei_hdcp crct10dif_pclmul crc32_pclmul snd_hda_intel snd_hda_codec snd_hwdep
ghash_clmulni_intel snd_hda_core cdc_ether usbnet e1000e snd_pcm mii ptp
pps_core mei_me mei i915 prime_numbers
<4>[ 11.862139] ---[ end trace bf38e6abac39589f ]---
moved lines:
<7>[ 11.845330] [drm:i915_audio_component_get_eld [i915]] Not valid for port
B
<7>[ 11.846800] [drm:i915_audio_component_get_eld [i915]] Not valid for port
B
<7>[ 11.848782] [drm:i915_audio_component_get_eld [i915]] Not valid for port
B
<7>[ 11.850981] [drm:i915_audio_component_get_eld [i915]] Not valid for port
C
<7>[ 11.852973] [drm:i915_audio_component_get_eld [i915]] Not valid for port
C
<7>[ 11.855224] [drm:i915_audio_component_get_eld [i915]] Not valid for port
C
<7>[ 11.857129] [drm:i915_audio_component_get_eld [i915]] Not valid for port
D
<7>[ 11.860861] [drm:i915_audio_component_get_eld [i915]] Not valid for port
D
<7>[ 11.858999] [drm:i915_audio_component_get_eld [i915]] Not valid for port
D
Additional info:
<7>[ 11.112111] [drm:drm_add_edid_modes] ELD: no CEA Extension found
<7>[ 11.529366] [drm:drm_add_edid_modes] ELD: no CEA Extension found
<7>[ 11.583388] [drm:drm_add_edid_modes] ELD: no CEA Extension found
<7>[ 11.601007] [drm:drm_add_edid_modes] ELD: no CEA Extension found
-------------------------------------------------------------------
So, what appears to be happening is that there are no devices connected that
advertise an ELD that is audio capable, so none of the DDI ports ever gets
has_audio set, which means that:
/* referred in audio callbacks */
dev_priv->av_enc_map[pipe] = encoder;
from intel_audio_codec_enable (i915/intel_audio.c) never gets called, which
means that the call to get_saved_enc always returns NULL, causing the
<7>[ 11.845330] [drm:i915_audio_component_get_eld [i915]] Not valid for port
B
lines to show up, which is i915_audio_component_get_eld returning -EINVAL,
which appears to be making the audio driver blow up, as it's trying to grab
ELDs for ports that don't have an audio-capable device connected.
i915 doesn't appear to be doing anything wrong here, I believe this is a bug
for the audio driver</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 on the CC list for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>