Bug 112298 - [CI][BAT]igt@i915_module_load@reload-with-fault-injection - incomplete - DEBUG_LOCKS_WARN_ON(mutex_is_locked(lock))
Summary: [CI][BAT]igt@i915_module_load@reload-with-fault-injection - incomplete - DEBU...
Status: RESOLVED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: not set not set
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-15 12:36 UTC by Lakshmi
Modified: 2019-11-29 19:48 UTC (History)
1 user (show)

See Also:
i915 platform: KBL
i915 features: display/Other


Attachments

Description Lakshmi 2019-11-15 12:36:03 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5288/fi-kbl-7560u/igt@i915_module_load@reload-with-fault-injection.html

 [470.396983] DEBUG_LOCKS_WARN_ON(mutex_is_locked(lock))
<4> [470.396989] WARNING: CPU: 1 PID: 3246 at kernel/locking/mutex-debug.c:103 mutex_destroy+0x47/0x50
<4> [470.397000] Modules linked in: i915(-) vgem cdc_ether usbnet r8152 mii snd_hda_codec_hdmi thunderbolt snd_hda_codec_realtek snd_hda_codec_generic mei_hdcp x86_pkg_temp_thermal coretemp crct10dif_pclmul crc32_pclmul btusb btrtl ghash_clmulni_intel snd_intel_dspcfg btbcm snd_hda_codec btintel snd_hwdep snd_hda_core bluetooth snd_pcm ecdh_generic mei_me ecc mei prime_numbers i2c_hid pinctrl_sunrisepoint pinctrl_intel [last unloaded: i915]
<4> [470.397041] CPU: 1 PID: 3246 Comm: i915_module_loa Tainted: G     U            5.4.0-rc7-CI-CI_DRM_7350+ #1
<4> [470.397049] Hardware name: Dell Inc. XPS 13 9360/0823VW, BIOS 2.9.0 07/09/2018
<4> [470.397056] RIP: 0010:mutex_destroy+0x47/0x50
<4> [470.397060] Code: 84 c0 74 ed e8 da 65 3d 00 85 c0 74 e4 8b 05 e0 28 23 01 85 c0 75 da 48 c7 c6 c5 ae 09 82 48 c7 c7 a8 83 08 82 e8 b9 e6 f9 ff <0f> 0b eb c3 0f 1f 44 00 00 48 b8 11 11 11 11 11 11 11 11 48 89 76
<4> [470.397074] RSP: 0018:ffffc900005e3db0 EFLAGS: 00010286
<4> [470.397079] RAX: 0000000000000000 RBX: ffff88825b9141e8 RCX: 0000000000000001
<4> [470.397085] RDX: 0000000080000001 RSI: 0000000000000000 RDI: ffffffff8112ad6c
<4> [470.397091] RBP: ffff888260c66800 R08: 0000000000000000 R09: 0000000000038840
<4> [470.397097] R10: 0000000000000000 R11: 0000000000000cae R12: ffffffffa050a1e0
<4> [470.397103] R13: 0000000000000000 R14: 0000000000000000 R15: ffffffffa050a2d8
<4> [470.397110] FS:  00007f5742825e40(0000) GS:ffff888276280000(0000) knlGS:0000000000000000
<4> [470.397117] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4> [470.397122] CR2: 00005574ac3a7048 CR3: 0000000256338004 CR4: 00000000003606e0
<4> [470.397128] Call Trace:
<4> [470.397133]  drm_fb_helper_fini.part.8+0xb7/0x110
<4> [470.397181]  intel_fbdev_fini+0x20/0x60 [i915]
<4> [470.397226]  intel_modeset_driver_remove+0xa6/0x160 [i915]
<4> [470.397256]  i915_driver_remove+0xad/0x110 [i915]
<4> [470.397285]  i915_pci_remove+0x19/0x40 [i915]
<4> [470.397292]  pci_device_remove+0x36/0xb0
<4> [470.397297]  device_release_driver_internal+0xe0/0x1c0
<4> [470.397302]  driver_detach+0x42/0x80
<4> [470.397308]  bus_remove_driver+0x56/0xd0
<4> [470.397312]  pci_unregister_driver+0x25/0xa0
<4> [470.397352]  i915_exit+0x16/0x1c [i915]
<4> [470.397358]  __x64_sys_delete_module+0x115/0x1d0
<4> [470.397364]  ? trace_hardirqs_off_thunk+0x1a/0x20
<4> [470.397369]  ? do_syscall_64+0xd/0x210
<4> [470.397374]  do_syscall_64+0x4f/0x210
<4> [470.397379]  entry_SYSCALL_64_after_hwframe+0x49/0xbe
<4> [470.397385] RIP: 0033:0x7f5741cbf1b7
<4> [470.397389] Code: 73 01 c3 48 8b 0d d1 8c 2c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 b0 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a1 8c 2c 00 f7 d8 64 89 01 48
<4> [470.397403] RSP: 002b:00007ffd8b276308 EFLAGS: 00000206 ORIG_RAX: 00000000000000b0
<4> [470.397410] RAX: ffffffffffffffda RBX: 00007ffd8b276480 RCX: 00007f5741cbf1b7
<4> [470.397416] RDX: 0000000000000001 RSI: 0000000000000800 RDI: 0000560b650e5be8
<4> [470.397422] RBP: 0000560b650e5b80 R08: 0000560b650e5bec R09: 00007ffd8b276330
<4> [470.397428] R10: 00007ffd8b275304 R11: 0000000000000206 R12: 0000000000000000
<4> [470.397434] R13: 00007ffd8b2769f0 R14: 0000000000000000 R15: 0000000000000000
<4> [470.397442] irq event stamp: 4133425
<4> [470.397447] hardirqs last  enabled at (4133425): [<ffffffff814fe717>] __free_object+0x257/0x310
<4> [470.397455] hardirqs last disabled at (4133424): [<ffffffff814fe4e9>] __free_object+0x29/0x310
<4> [470.397463] softirqs last  enabled at (4133112): [<ffffffff81c00385>] __do_softirq+0x385/0x47f
<4> [470.397471] softirqs last disabled at (4133105): [<ffffffff810b803a>] irq_exit+0xba/0xc0
<4> [470.397478] ---[ end trace 20b169f5effbd576 ]---
Comment 1 CI Bug Log 2019-11-15 12:41:21 UTC
The CI Bug Log issue associated to this bug has been updated.

### New filters associated

* KBL: igt@i915_module_load@reload-with-fault-injection - incomplete - DEBUG_LOCKS_WARN_ON(mutex_is_locked(lock))
  (No new failures associated)
Comment 2 Chris Wilson 2019-11-15 12:52:50 UTC
So the drm_poll_helper_fini() is a little too early.

commit 448aa9117cfa6591c4e18cb32a0329a66b9cd3b7
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue Nov 28 11:01:47 2017 +0000

    drm/i915: Enable hotplug polling after registering the outputs

I'd like to split drm_kms_helper_probe_enable/disable so that we can use it in register/unregister and so move the init/fini back to their original locations.
Comment 3 Jani Saarinen 2019-11-15 13:41:56 UTC
Chris, are you saying this already fixed?
Comment 4 Chris Wilson 2019-11-15 13:44:34 UTC
(In reply to Jani Saarinen from comment #3)
> Chris, are you saying this already fixed?

Just reminding myself of the conversation with Daniel about the likely cause here. No, it's not yet fixed.
Comment 5 Jani Saarinen 2019-11-15 13:45:56 UTC
OK, this is only DP_MST setup in CI.
Setup is Dell XPS (KBL) and TB16 dock connected to port and from dock mini-DP to DP-MST (4K) Dell monitor (DP In) and from that DP out to normal Dell Monitor
Comment 6 Martin Peres 2019-11-29 19:48:03 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/intel/issues/609.


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.