Bug 112211

Summary: [CI][DRMTIP][GUC] live_gt_pm - intel_guc_ct_fini
Product: DRI Reporter: Lakshmi <lakshminarayana.vudum>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: RESOLVED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: not set    
Priority: not set CC: intel-gfx-bugs
Version: DRI git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: CFL, KBL, SKL, TGL i915 features:

Description Lakshmi 2019-11-04 21:03:12 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7242/fi-skl-guc/igt@i915_selftest@live_gt_pm.html
BUG: sleeping function called from invalid context at kernel/sched/completion.c:99
<3> [360.770803] in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 6435, name: i915_selftest
<4> [360.770806] INFO: lockdep is turned off.
<3> [360.770807] Preemption disabled at:
<4> [360.770808] [<0000000000000000>] 0x0
<4> [360.770810] CPU: 3 PID: 6435 Comm: i915_selftest Tainted: G     UD           5.4.0-rc5-CI-CI_DRM_7242+ #1
<4> [360.770812] Hardware name: System manufacturer System Product Name/Z170 PRO GAMING, BIOS 3402 04/26/2017
<4> [360.771272] Call Trace:
<4> [360.771276]  dump_stack+0x67/0x9b
<4> [360.771279]  ___might_sleep+0x178/0x260
<4> [360.771282]  wait_for_completion+0x37/0x1a0
<4> [360.771286]  virt_efi_query_variable_info+0x161/0x1b0
<4> [360.771290]  efi_query_variable_store+0xb3/0x1a0
<4> [360.771293]  ? efivar_entry_set_safe+0x19c/0x220
<4> [360.771295]  ? efi_delete_dummy_variable+0x90/0x90
<4> [360.771296]  efivar_entry_set_safe+0x19c/0x220
<4> [360.771299]  ? efi_pstore_write+0x10b/0x150
<4> [360.771301]  efi_pstore_write+0x10b/0x150
<4> [360.771306]  pstore_dump+0x127/0x340
<4> [360.771310]  kmsg_dump+0x87/0x1c0
<4> [360.771313]  oops_end+0x3e/0x90
<4> [360.771314]  do_trap+0x80/0x100
<4> [360.771360]  ? intel_guc_ct_fini+0x55/0x60 [i915]
<4> [360.771364]  do_invalid_op+0x23/0x30
<4> [360.771410]  ? intel_guc_ct_fini+0x55/0x60 [i915]
<4> [360.771414]  invalid_op+0x23/0x30
<4> [360.771456] RIP: 0010:intel_guc_ct_fini+0x55/0x60 [i915]
<4> [360.771459] Code: 2a 11 42 e0 48 8b 35 02 5e 1d 00 49 c7 c0 1f 4a e4 a0 b9 c2 00 00 00 48 c7 c2 a8 59 de a0 48 c7 c7 d0 a1 d0 a0 e8 fb 0c 49 e0 <0f> 0b 66 0f 1f 84 00 00 00 00 00 41 55 41 54 55 53 31 ed 48 83 ec
<4> [360.771462] RSP: 0018:ffffc9000064ba98 EFLAGS: 00010282
<4> [360.771465] RAX: 0000000000000008 RBX: ffff8881dd21bc68 RCX: 0000000000000000
<4> [360.771467] RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff88822cce8400
<4> [360.771469] RBP: ffff8881dd21bc68 R08: 00000000000aa7dd R09: ffff888206df6000
<4> [360.771471] R10: 0000000000000000 R11: ffff88822cce8400 R12: 0000000000000000
<4> [360.771473] R13: ffffffffa0ecb250 R14: ffffffffa0ecb1e0 R15: ffffc9000064be88
<4> [360.771516]  ? intel_guc_ct_fini+0x55/0x60 [i915]
<4> [360.771555]  intel_guc_fini+0x30/0xb0 [i915]
<4> [360.771596]  intel_uc_fini+0x2c/0x100 [i915]
<4> [360.771636]  i915_gem_driver_remove+0x8f/0xc0 [i915]
<4> [360.771667]  i915_driver_remove+0xe5/0x110 [i915]
<4> [360.771698]  i915_pci_remove+0x19/0x40 [i915]
<4> [360.771727]  i915_pci_probe+0xa3/0x1b0 [i915]
<4> [360.771732]  pci_device_probe+0x9e/0x120
<4> [360.771736]  really_probe+0xea/0x420
<4> [360.771739]  driver_probe_device+0x10b/0x120
<4> [360.771742]  device_driver_attach+0x4a/0x50
<4> [360.771745]  __driver_attach+0x97/0x130
<4> [360.771748]  ? device_driver_attach+0x50/0x50
<4> [360.771751]  bus_for_each_dev+0x74/0xc0
<4> [360.771754]  bus_add_driver+0x142/0x220
<4> [360.771756]  ? 0xffffffffa0173000
<4> [360.771759]  driver_register+0x56/0xf0
<4> [360.771762]  ? 0xffffffffa0173000
<4> [360.771764]  do_one_initcall+0x58/0x2ff
<4> [360.771768]  ? rcu_read_lock_sched_held+0x4d/0x80
<4> [360.771771]  ? kmem_cache_alloc_trace+0x290/0x2c0
<4> [360.771775]  do_init_module+0x56/0x1f8
<4> [360.771778]  load_module+0x243e/0x29f0
<4> [360.771784]  ? __do_sys_finit_module+0xe9/0x110
<4> [360.771785]  __do_sys_finit_module+0xe9/0x110
<4> [360.771789]  do_syscall_64+0x4f/0x210
<4> [360.771791]  entry_SYSCALL_64_after_hwframe+0x49/0xbe
<4> [360.771792] RIP: 0033:0x7f8721215839
<4> [360.771794] Code: 00 f3 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 1f f6 2c 00 f7 d8 64 89 01 48
<4> [360.771795] RSP: 002b:00007ffc2abf3c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
<4> [360.771797] RAX: ffffffffffffffda RBX: 0000561d9987d100 RCX: 00007f8721215839
<4> [360.771798] RDX: 0000000000000000 RSI: 0000561d99875f90 RDI: 0000000000000006
<4> [360.771799] RBP: 0000561d99875f90 R08: 0000000000000004 R09: 0000561d9987ed10
<4> [360.771800] R10: 00007ffc2abf3dc0 R11: 0000000000000246 R12: 0000000000000000
<4> [360.771801] R13: 0000561d9986f000 R14: 0000000000000020 R15: 0000000000000044
Comment 2 Chris Wilson 2019-11-04 21:06:01 UTC
(In reply to Lakshmi from comment #1)
> https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7229/shard-tglb4/
> igt@prime_vgem@sync-blt.html

Unrelated.
Comment 3 CI Bug Log 2019-11-04 21:06:27 UTC
The CI Bug Log issue associated to this bug has been updated.

### New filters associated

* SKL KBL CFL TGL: Random tests - BUG: sleeping function called from invalid context at kernel/sched/completion.c:99
  (No new failures associated)
Comment 4 Chris Wilson 2019-11-04 21:06:39 UTC
(In reply to Chris Wilson from comment #2)
> (In reply to Lakshmi from comment #1)
> > https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7229/shard-tglb4/
> > igt@prime_vgem@sync-blt.html
> 
> Unrelated.

In fact that is the dma_buf_release bug.
Comment 5 CI Bug Log 2019-11-05 06:27:38 UTC
A CI Bug Log filter associated to this bug has been updated:

{- SKL KBL CFL TGL: Random tests - BUG: sleeping function called from invalid context at kernel/sched/completion.c:99 -}
{+ SKL KBL CFL TGL: igt@i915_selftest@live_gt_pm - incomplete - BUG: sleeping function called from invalid context at kernel/sched/completion.c:99 +}


  No new failures caught with the new filter
Comment 6 CI Bug Log 2019-11-05 06:28:12 UTC
A CI Bug Log filter associated to this bug has been updated:

{- SKL KBL CFL TGL: igt@i915_selftest@live_gt_pm - incomplete - BUG: sleeping function called from invalid context at kernel/sched/completion.c:99 -}
{+ SKL KBL CFL: igt@i915_selftest@live_gt_pm - incomplete - BUG: sleeping function called from invalid context at kernel/sched/completion.c:99 +}


  No new failures caught with the new filter
Comment 7 Lakshmi 2019-11-05 06:33:22 UTC
(In reply to Chris Wilson from comment #4)
> (In reply to Chris Wilson from comment #2)
> > (In reply to Lakshmi from comment #1)
> > > https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7229/shard-tglb4/
> > > igt@prime_vgem@sync-blt.html
> > 
> > Unrelated.
> 
> In fact that is the dma_buf_release bug.

Thanks, updated the filers accordingly.
Comment 8 CI Bug Log 2019-11-07 11:35:15 UTC
A CI Bug Log filter associated to this bug has been updated:

{- SKL KBL CFL: igt@i915_selftest@live_gt_pm - incomplete - BUG: sleeping function called from invalid context at kernel/sched/completion.c:99 -}
{+ SKL KBL CFL: igt@i915_selftest@live_gt_pm - incomplete - RIP: 0010:intel_guc_ct_fini +}


  No new failures caught with the new filter

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.