All tests- incomplete i915 raw-wakerefs=1 wakelocks=1 on cleanup
<4> [501.899232] i915 raw-wakerefs=1 wakelocks=1 on cleanup
<4> [501.899280] WARNING: CPU: 7 PID: 2600 at drivers/gpu/drm/i915/intel_runtime_pm.c:602 intel_runtime_pm_driver_release+0x27/0x40 [i915]
i915 Wakeref x1 taken at:
track_intel_runtime_pm_wakeref+0x14/0x90 [i915]
intel_display_power_get+0x1f/0x60 [i915]
i915_audio_component_get_power+0x15/0x110 [i915]
snd_hdac_display_power+0x7d/0x120 [snd_hda_core]
azx_probe_work+0x88/0x7e0 [snd_hda_intel]
process_one_work+0x260/0x600
worker_thread+0x37/0x380
This seems to be caused by a delayed azx_probe_worker:
<4> [397.378094] Unmatched wakeref (tracking 7), count 524296
<4> [397.378148] WARNING: CPU: 6 PID: 4281 at drivers/gpu/drm/i915/intel_runtime_pm.c:139 __intel_runtime_pm_put+0x82/0x270 [i915]
<4> [397.378150] Modules linked in: snd_hda_intel i915 snd_hda_codec_hdmi mei_hdcp x86_pkg_temp_thermal coretemp crct10dif_pclmul crc32_pclmul ghash_clmulni_intel cdc_ether snd_intel_dspcfg snd_hda_codec usbnet snd_hwdep mii snd_hda_core e1000e snd_pcm ptp mei_me mei pps_core intel_lpss_pci prime_numbers [last unloaded: i915]
<4> [397.378164] CPU: 6 PID: 4281 Comm: kworker/6:7 Tainted: G U W 5.7.0-rc4-CI-CI_DRM_8471+ #1
<4> [397.378165] Hardware name: Intel Corporation Tiger Lake Client Platform/TigerLake U DDR4 SODIMM RVP, BIOS TGLSFWI1.R00.2457.A16.1912270059 12/27/2019
<4> [397.378169] Workqueue: events azx_probe_work [snd_hda_intel]
<4> [397.378195] RIP: 0010:__intel_runtime_pm_put+0x82/0x270 [i915]
<4> [397.378197] Code: 00 48 89 c8 48 85 c0 48 8d 48 ff 75 df 4c 89 fe 4c 89 e7 e8 10 a0 82 e1 8b 13 48 8b 73 68 48 c7 c7 f8 3d 41 a0 e8 ce eb e8 e0 <0f> 0b 48 8b 3d e5 dc 18 e2 ba 00 10 00 00 be 00 28 00 00 e8 06 b1
<4> [397.378198] RSP: 0018:ffffc90000643dd0 EFLAGS: 00010282
<4> [397.378200] RAX: 0000000000000000 RBX: ffff8884761ebc40 RCX: 0000000000000001
<4> [397.378201] RDX: 0000000080000001 RSI: ffff88844f510950 RDI: 00000000ffffffff
<4> [397.378203] RBP: ffff88849b4390b0 R08: ffff88844f510950 R09: 0000000000000000
<4> [397.378204] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8884761ebc58
<4> [397.378205] R13: 0000000000000001 R14: 00000000c7600006 R15: 0000000000000293
<4> [397.378207] FS: 0000000000000000(0000) GS:ffff8884a0100000(0000) knlGS:0000000000000000
<4> [397.378208] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4> [397.378210] CR2: 000055e0683172c8 CR3: 0000000005610005 CR4: 0000000000760ee0
<4> [397.378211] PKRU: 55555554
<4> [397.378212] Call Trace:
<4> [397.378221] snd_hdac_display_power+0xff/0x120 [snd_hda_core]
<4> [397.378226] azx_free+0x102/0x190 [snd_hda_intel]
<4> [397.378233] process_one_work+0x268/0x600
<4> [397.378237] ? __schedule+0x307/0x8d0
<4> [397.378244] worker_thread+0x37/0x380
<4> [397.378247] ? process_one_work+0x600/0x600
<4> [397.378249] kthread+0x140/0x160
<4> [397.378251] ? kthread_park+0x80/0x80
<4> [397.378256] ret_from_fork+0x24/0x50
<4> [397.378265] irq event stamp: 62852
<4> [397.378269] hardirqs last enabled at (62851): [<ffffffff8113502a>] vprintk_emit+0x31a/0x330
<4> [397.378272] hardirqs last disabled at (62852): [<ffffffff81001d50>] trace_hardirqs_off_thunk+0x1a/0x1c
<4> [397.378275] softirqs last enabled at (59690): [<ffffffff81e00395>] __do_softirq+0x395/0x49e
<4> [397.378277] softirqs last disabled at (59683): [<ffffffff810bbc9a>] irq_exit+0xba/0xc0
<4> [397.378279] ---[ end trace ac71355ffa8bdbbb ]---
<7> [397.378429] [drm:__intel_runtime_pm_put [i915]] wakeref c7600006 from
track_intel_runtime_pm_wakeref+0x14/0x90 [i915]
intel_display_power_get+0x1f/0x60 [i915]
i915_audio_component_get_power+0x15/0xf0 [i915]
snd_hdac_display_power+0x7d/0x120 [snd_hda_core]
azx_probe_work+0x88/0x810 [snd_hda_intel]
process_one_work+0x268/0x600
worker_thread+0x37/0x380
kthread+0x140/0x160
<7> [397.378538] [drm:__intel_runtime_pm_put [i915]] wakeref last released at
__untrack_all_wakerefs+0x6f/0x80 [i915]
untrack_all_intel_runtime_pm_wakerefs+0x3e/0x70 [i915]
i915_drm_suspend_late+0x8b/0x100 [i915]
dpm_run_callback+0x64/0x280
__device_suspend_late+0xad/0x140
async_suspend_late+0x15/0x90
async_run_entry_fn+0x34/0x160
Edited by LAKSHMINARAYANA VUDUM