Driver unload blow up on DG2
[ 464.668082] ------------[ cut here ]------------
[ 464.668085] kernel BUG at drivers/gpu/drm/xe/xe_bo.h:160!
[ 464.673523] invalid opcode: 0000 [#1] PREEMPT SMP NOPTI
[ 464.678768] CPU: 1 PID: 2872 Comm: rmmod Tainted: G W 5.19.0-xe+ #3270
[ 464.686587] Hardware name: Intel Corporation CoffeeLake Client Platform/CoffeeLake S UDIMM RVP, BIOS CNLSFWR1.R00.X220.B00.2103302221 03/30/2021
[ 464.699508] RIP: 0010:guc_hwconfig_fini+0xb5/0xc0 [xe]
[ 464.704654] Code: 0b 48 89 df be 03 00 00 00 5b 5d e9 85 2e 58 e1 48 89 df 5b 5d e9 fb 42 72 e1 48 8d 83 40 01 00 00 48 39 c7 0f 84 77 ff ff ff <0f> 0b 66 0f 1f 84 00 00 00 00 00 41 54 55 53 48 83 ec 18 65 48 8b
[ 464.723391] RSP: 0018:ffffc90003ea7d68 EFLAGS: 00010202
[ 464.728628] RAX: ffffffffa001f8a0 RBX: ffff88813a462800 RCX: ffff888109135e40
[ 464.735749] RDX: ffffffff829499a0 RSI: ffff88810bed3b58 RDI: ffff88810bed0000
[ 464.742869] RBP: ffff88810bed0000 R08: ffff8881393d95c0 R09: 0000000000000008
[ 464.749992] R10: 000000006833636b R11: 00000000ffbb2637 R12: ffff888109135e40
[ 464.757118] R13: ffff888109135e40 R14: dead000000000122 R15: dead000000000100
[ 464.764239] FS: 00007f3c2264c540(0000) GS:ffff88845da80000(0000) knlGS:0000000000000000
[ 464.772320] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 464.778056] CR2: 00005573abd1cb88 CR3: 0000000143da4005 CR4: 00000000003706e0
[ 464.785178] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 464.792303] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 464.799442] Call Trace:
[ 464.801893] <TASK>
[ 464.803996] drm_managed_release+0xa1/0x150
[ 464.808179] drm_dev_release+0x26/0x40
[ 464.811925] release_nodes+0x41/0x130
[ 464.815585] devres_release_all+0x83/0xc0
[ 464.819593] device_unbind_cleanup+0x9/0x70
[ 464.823775] device_release_driver_internal+0xe9/0x160
[ 464.828908] driver_detach+0x42/0x90
[ 464.832484] bus_remove_driver+0x72/0xd0
[ 464.836407] pci_unregister_driver+0x25/0xa0
[ 464.840673] xe_exit+0x5/0x12 [xe]
[ 464.844088] __x64_sys_delete_module+0x116/0x1e0
[ 464.848700] ? lockdep_hardirqs_on+0xbf/0x140
[ 464.853055] do_syscall_64+0x37/0x90
[ 464.856632] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 464.861679] RIP: 0033:0x7f3c22130bcb
[ 464.865255] Code: 73 01 c3 48 8b 0d c5 82 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa b8 b0 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 95 82 0c 00 f7 d8 64 89 01 48
[ 464.883982] RSP: 002b:00007ffd62beb6c8 EFLAGS: 00000206 ORIG_RAX: 00000000000000b0
[ 464.891538] RAX: ffffffffffffffda RBX: 00005573abd127f0 RCX: 00007f3c22130bcb
[ 464.898661] RDX: 000000000000000a RSI: 0000000000000800 RDI: 00005573abd12858
[ 464.905783] RBP: 00007ffd62beb728 R08: 0000000000000000 R09: 0000000000000000
[ 464.912908] R10: 00007f3c221acac0 R11: 0000000000000206 R12: 00007ffd62beb900
[ 464.920030] R13: 00007ffd62bec798 R14: 00005573abd122a0 R15: 00005573abd127f0
[ 464.927154] </TASK>
[ 464.929343] Modules linked in: fuse snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio x86_pkg_temp_thermal snd_hda_intel snd_intel_dspcfg coretemp snd_hda_codec snd_hwdep snd_hda_core mei_me snd_pcm mei crct10dif_pclmul crc32_pclmul e1000e i2c_i801 ptp ghash_clmulni_intel i2c_smbus pps_core xe(-) intel_lpss_pci
[ 464.957580] ---[ end trace 0000000000000000 ]---
[ 465.080400] RIP: 0010:guc_hwconfig_fini+0xb5/0xc0 [xe]
[ 465.086318] Code: 0b 48 89 df be 03 00 00 00 5b 5d e9 85 2e 58 e1 48 89 df 5b 5d e9 fb 42 72 e1 48 8d 83 40 01 00 00 48 39 c7 0f 84 77 ff ff ff <0f> 0b 66 0f 1f 84 00 00 00 00 00 41 54 55 53 48 83 ec 18 65 48 8b
[ 465.105367] RSP: 0018:ffffc90003ea7d68 EFLAGS: 00010202
[ 465.110958] RAX: ffffffffa001f8a0 RBX: ffff88813a462800 RCX: ffff888109135e40
[ 465.118524] RDX: ffffffff829499a0 RSI: ffff88810bed3b58 RDI: ffff88810bed0000
[ 465.125769] RBP: ffff88810bed0000 R08: ffff8881393d95c0 R09: 0000000000000008
[ 465.133105] R10: 000000006833636b R11: 00000000ffbb2637 R12: ffff888109135e40
[ 465.140682] R13: ffff888109135e40 R14: dead000000000122 R15: dead000000000100
[ 465.147986] FS: 00007f3c2264c540(0000) GS:ffff88845db00000(0000) knlGS:0000000000000000
[ 465.156249] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 465.162273] CR2: 000055796efcec60 CR3: 0000000143da4002 CR4: 00000000003706e0
[ 465.169722] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 465.177098] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400