igt@i915_pm_rpm@module-reload - incomplete - pstore logs - WARNING: held lock freed!, i915_selftest/5515 is freeing memory ffff888101629000-ffff888101629fff, with a lock still held there at: __driver_attach.
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12255/fi-bdw-5557u/igt@i915_pm_rpm@module-reload.html https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12255/fi-bdw-5557u/pstore0-1666093407_Oops_1.txt
<6>[ 183.226674] i915: Running sanitycheck
<6>[ 183.226676] i915: i915_live_sanitycheck() - ok!
<6>[ 183.227944] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
<7>[ 183.254224] intel_gt_set_wedged called from intel_gt_set_wedged_on_fini+0x9/0x30 [i915]
<4>[ 183.322534] i915: probe of 0000:00:02.0 failed with error -25
<4>[ 183.356557]
<4>[ 183.356562] =========================
<4>[ 183.356564] WARNING: held lock freed!
<4>[ 183.356566] 6.1.0-rc1-CI_DRM_12255-ga236605e800c+ #1 Tainted: G U
<4>[ 183.356568] -------------------------
<4>[ 183.356570] i915_selftest/5515 is freeing memory ffff888101629000-ffff888101629fff, with a lock still held there!
<4>[ 183.356574] ffff8881016291b8 (&dev->mutex){....}-{3:3}, at: __driver_attach+0xb1/0x190
<4>[ 183.356586] 1 lock held by i915_selftest/5515:
<4>[ 183.356588] #0: ffff8881016291b8 (&dev->mutex){....}-{3:3}, at: __driver_attach+0xb1/0x190
<4>[ 183.356597]
<4>[ 183.356597] stack backtrace:
<4>[ 183.356599] CPU: 0 PID: 5515 Comm: i915_selftest Tainted: G U 6.1.0-rc1-CI_DRM_12255-ga236605e800c+ #1
<4>[ 183.356603] Hardware name: /NUC5i7RYB, BIOS RYBDWi35.86A.0385.2020.0519.1558 05/19/2020
<4>[ 183.356605] Call Trace:
<4>[ 183.356608] <TASK>
<4>[ 183.356610] dump_stack_lvl+0x56/0x7f
<4>[ 183.356615] debug_check_no_locks_freed.cold.62+0x78/0x7d
<4>[ 183.356620] ? device_release+0x2e/0x80
<4>[ 183.356624] __kmem_cache_free+0x75/0x1d0
<4>[ 183.356629] device_release+0x2e/0x80
<4>[ 183.356632] kobject_put+0x8a/0x1d0
<4>[ 183.356636] drm_dev_init_release+0x31/0x70
<4>[ 183.356640] drm_managed_release+0x63/0x150
<4>[ 183.356644] drm_dev_release+0x26/0x40
<4>[ 183.356647] release_nodes+0x44/0x130
<4>[ 183.356652] devres_release_all+0x83/0xc0
<4>[ 183.356657] device_unbind_cleanup+0x9/0x70
<4>[ 183.356661] really_probe+0x201/0x350
<4>[ 183.356665] ? pm_runtime_barrier+0x4b/0xa0
<4>[ 183.356670] __driver_probe_device+0x73/0x170
<4>[ 183.356675] driver_probe_device+0x1a/0x90
<4>[ 183.356679] __driver_attach+0xbc/0x190
<4>[ 183.356683] ? __device_attach_driver+0x110/0x110
<4>[ 183.356687] ? __device_attach_driver+0x110/0x110
<4>[ 183.356692] bus_for_each_dev+0x75/0xc0
<4>[ 183.356696] bus_add_driver+0x1bb/0x210
<4>[ 183.356701] driver_register+0x66/0xc0
<4>[ 183.356706] i915_init+0x22/0x82 [i915]
<4>[ 183.356931] ? 0xffffffffa0483000
<4>[ 183.356934] do_one_initcall+0x56/0x2f0
<4>[ 183.356939] ? rcu_read_lock_sched_held+0x51/0x80
<4>[ 183.356945] ? kmalloc_trace+0xae/0x100
<4>[ 183.356950] do_init_module+0x45/0x1c0
<4>[ 183.356955] load_module+0x1d5e/0x1e90
<4>[ 183.356965] ? __do_sys_finit_module+0xaf/0x120
<4>[ 183.356969] __do_sys_finit_module+0xaf/0x120
<4>[ 183.356976] do_syscall_64+0x3a/0x90
<4>[ 183.356981] entry_SYSCALL_64_after_hwframe+0x63/0xcd
<4>[ 183.356986] RIP: 0033:0x7f26d496e76d
<4>[ 183.356990] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 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 f3 36 0d 00 f7 d8 64 89 01 48
<4>[ 183.356993] RSP: 002b:00007ffef5bff098 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
<4>[ 183.356997] RAX: ffffffffffffffda RBX: 00005609e4984b00 RCX: 00007f26d496e76d
<4>[ 183.357000] RDX: 0000000000000000 RSI: 00005609e497bff0 RDI: 0000000000000006
<4>[ 183.357003] RBP: 0000000000000020 R08: 00007ffef5bfde70 R09: 0000000000000000
<4>[ 183.357005] R10: 00007ffef5bff1e0 R11: 0000000000000246 R12: 00005609e497bff0
<4>[ 183.357008] R13: 0000000000000000 R14: 00005609e498fc90 R15: 00005609e4984b00
<4>[ 183.357014] </TASK>
<4>[ 183.357077] general protection fault, probably for non-canonical address 0x1ad998badadad88: 0000 [#1] PREEMPT SMP PTI
<4>[ 183.357082] CPU: 0 PID: 5515 Comm: i915_selftest Tainted: G U 6.1.0-rc1-CI_DRM_12255-ga236605e800c+ #1
<4>[ 183.357086] Hardware name: /NUC5i7RYB, BIOS RYBDWi35.86A.0385.2020.0519.1558 05/19/2020
<4>[ 183.357088] RIP: 0010:kfree+0x60/0x190
<4>[ 183.357092] Code: 01 eb 0f 82 44 01 00 00 48 b8 00 00 00 80 7f 77 00 00 48 01 c3 48 b8 00 00 00 00 00 ea ff ff 48 c1 eb 0c 48 c1 e3 06 48 01 c3 <48> 8b 43 08 a8 01 0f 85 00 01 00 00 66 90 48 89 df e8 ba f8 ff ff
<4>[ 183.357095] RSP: 0018:ffffc9000114fb48 EFLAGS: 00010203
<4>[ 183.357099] RAX: ffffea0000000000 RBX: 01ad998badadad80 RCX: 0000000000000000
<4>[ 183.357101] RDX: 0000000080000001 RSI: ffffffff8175cab5 RDI: ffffc9000114fb37
<4>[ 183.357104] RBP: 6b6b6b6b6b6b6b6b R08: 0000000000000000 R09: 0000000000000000
<4>[ 183.357106] R10: ffff888444bb4410 R11: 0000000000000000 R12: ffffffffa0d6eb58
<4>[ 183.357109] R13: 0000000000000000 R14: ffff888107c684a0 R15: ffffffffa0c0e258
<4>[ 183.357112] FS: 00007f26d21a1c00(0000) GS:ffff888446800000(0000) knlGS:0000000000000000
<4>[ 183.357115] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4>[ 183.357118] CR2: 00005588e2721168 CR3: 0000000105a6c002 CR4: 00000000003706f0
<4>[ 183.357121] Call Trace:
<4>[ 183.357123] <TASK>
<4>[ 183.357125] device_unbind_cleanup+0x15/0x70
<4>[ 183.357129] really_probe+0x201/0x350
<4>[ 183.357133] ? pm_runtime_barrier+0x4b/0xa0
<4>[ 183.357138] __driver_probe_device+0x73/0x170
<4>[ 183.357143] driver_probe_device+0x1a/0x90
<4>[ 183.357148] __driver_attach+0xbc/0x190
<4>[ 183.357152] ? __device_attach_driver+0x110/0x110
<4>[ 183.357156] ? __device_attach_driver+0x110/0x110
<4>[ 183.357161] bus_for_each_dev+0x75/0xc0
<4>[ 183.357166] bus_add_driver+0x1bb/0x210
<4>[ 183.357171] driver_register+0x66/0xc0
<4>[ 183.357176] i915_init+0x22/0x82 [i915]
<4>[ 183.357387] ? 0xffffffffa0483000
<4>[ 183.357390] do_one_initcall+0x56/0x2f0
<4>[ 183.357395] ? rcu_read_lock_sched_held+0x51/0x80
<4>[ 183.357401] ? kmalloc_trace+0xae/0x100
<4>[ 183.357406] do_init_module+0x45/0x1c0
<4>[ 183.357411] load_module+0x1d5e/0x1e90
<4>[ 183.357420] ? __do_sys_finit_module+0xaf/0x120
<4>[ 183.357424] __do_sys_finit_module+0xaf/0x120
<4>[ 183.357432] do_syscall_64+0x3a/0x90
<4>[ 183.357437] entry_SYSCALL_64_after_hwframe+0x63/0xcd
<4>[ 183.357441] RIP: 0033:0x7f26d496e76d
<4>[ 183.357444] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 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 f3 36 0d 00 f7 d8 64 89 01 48
<4>[ 183.357448] RSP: 002b:00007ffef5bff098 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
<4>[ 183.357452] RAX: ffffffffffffffda RBX: 00005609e4984b00 RCX: 00007f26d496e76d
<4>[ 183.357454] RDX: 0000000000000000 RSI: 00005609e497bff0 RDI: 0000000000000006
<4>[ 183.357456] RBP: 0000000000000020 R08: 00007ffef5bfde70 R09: 0000000000000000
<4>[ 183.357459] R10: 00007ffef5bff1e0 R11: 0000000000000246 R12: 00005609e497bff0
<4>[ 183.357461] R13: 0000000000000000 R14: 00005609e498fc90 R15: 00005609e4984b00
<4>[ 183.357467] </TASK>
<4>[ 183.357469] Modules linked in: i915(+) drm_display_helper drm_kms_helper vgem drm_shmem_helper snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core snd_pcm prime_numbers ttm drm_buddy syscopyarea sysfillrect sysimgblt fb_sys_fops fuse x86_pkg_temp_thermal coretemp kvm_intel kvm btusb irqbypass btrtl btbcm crct10dif_pclmul btintel crc32_pclmul ghash_clmulni_intel bluetooth ecdh_generic ecc mei_me e1000e lpc_ich i2c_i801 mei i2c_smbus ptp pps_core video wmi [last unloaded: drm_kms_helper]
<4>[ 183.357520] ---[ end trace 0000000000000000 ]---
Edited by LAKSHMINARAYANA VUDUM