Driver unload failure
If someone wants to fix this...
rmmod xe
[ 606.450974] ------------[ cut here ]------------
[ 606.450977] WARNING: CPU: 0 PID: 1609 at kernel/irq/msi.c:182 msi_device_data_release+0x27/0x30
[ 606.450983] Modules linked in: fuse snd_hda_codec_hdmi x86_pkg_temp_thermal snd_hda_intel snd_intel_dspcfg snd_hda_codec coretemp snd_hwdep snd_hda_core snd_pcm mei_me mei e1000e crct10dif_pclmul ptp crc32_pclmul ghash_clmulni_intel i2c_i801 i2c_smbus pps_core intel_lpss_pci xe(-) drm_ttm_helper ttm gpu_sched
[ 606.451008] CPU: 0 PID: 1609 Comm: rmmod Not tainted 5.17.0-rc1-xe+ #1
[ 606.451010] Hardware name: Intel Corporation Tiger Lake Client Platform/TigerLake U DDR4 SODIMM RVP, BIOS TGLSFWI1.R00.3243.A01.2006102133 06/10/2020
[ 606.451011] RIP: 0010:msi_device_data_release+0x27/0x30
[ 606.451014] Code: 00 00 00 48 83 be e8 00 00 00 00 53 48 89 fb 75 19 48 8d be a0 00 00 00 e8 86 fb 4b 00 48 c7 83 00 04 00 00 00 00 00 00 5b c3 <0f> 0b eb e3 0f 1f 44 00 00 48 8b bf 00 04 00 00 31 f6 48 83 c7 10
[ 606.451016] RSP: 0018:ffffc90002be7de0 EFLAGS: 00010282
[ 606.451018] RAX: ffffffff8114b390 RBX: ffff888103f340d0 RCX: 0000000000000000
[ 606.451020] RDX: 0000000000000001 RSI: ffff88810fec3228 RDI: ffff888103f340d0
[ 606.451021] RBP: ffff88810fdac640 R08: 0000000000000001 R09: 0000000000000001
[ 606.451022] R10: 0000000000000001 R11: 00000000ffb95ea8 R12: ffffc90002be7e30
[ 606.451023] R13: ffff888103f340d0 R14: ffffffff82873d78 R15: ffffffff822cdd50
[ 606.451024] FS: 00007fcc408a9540(0000) GS:ffff88849f800000(0000) knlGS:0000000000000000
[ 606.451026] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 606.451027] CR2: 00007fcc415fcb98 CR3: 0000000107e5c001 CR4: 0000000000770ef0
[ 606.451028] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 606.451029] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 606.451031] PKRU: 55555554
[ 606.451032] Call Trace:
[ 606.451033] <TASK>
[ 606.451034] release_nodes+0x41/0x130
[ 606.451039] devres_release_all+0x8d/0xc0
[ 606.451044] device_release_driver_internal+0x102/0x1e0
[ 606.451047] driver_detach+0x42/0x90
[ 606.451050] bus_remove_driver+0x53/0xd0
[ 606.451052] pci_unregister_driver+0x25/0xa0
[ 606.451057] __x64_sys_delete_module+0x112/0x1e0
[ 606.451061] ? lockdep_hardirqs_on+0xbf/0x130
[ 606.451065] do_syscall_64+0x37/0xb0
[ 606.451068] entry_SYSCALL_64_after_hwframe+0x44/0xae
[ 606.451070] RIP: 0033:0x7fcc409f5bcb
[ 606.451072] 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
[ 606.451074] RSP: 002b:00007ffcd9936c78 EFLAGS: 00000206 ORIG_RAX: 00000000000000b0
[ 606.451076] RAX: ffffffffffffffda RBX: 00007fcc415f2800 RCX: 00007fcc409f5bcb
[ 606.451077] RDX: 000000000000000a RSI: 0000000000000800 RDI: 00007fcc415f2868
[ 606.451078] RBP: 00007ffcd9936cd8 R08: 0000000000000000 R09: 0000000000000000
[ 606.451079] R10: 00007fcc40a71ac0 R11: 0000000000000206 R12: 00007ffcd9936eb0
[ 606.451080] R13: 00007ffcd9937798 R14: 00007fcc415f22a0 R15: 00007fcc415f2800
[ 606.451088] </TASK>
[ 606.451089] irq event stamp: 16579
[ 606.451090] hardirqs last enabled at (16585): [<ffffffff8113d142>] __up_console_sem+0x62/0x70
[ 606.451093] hardirqs last disabled at (16590): [<ffffffff8113d127>] __up_console_sem+0x47/0x70
[ 606.451095] softirqs last enabled at (8688): [<ffffffff81e0034b>] __do_softirq+0x34b/0x492
[ 606.451098] softirqs last disabled at (8681): [<ffffffff810be2d2>] irq_exit_rcu+0xd2/0xf0
[ 606.451100] ---[ end trace 0000000000000000 ]---
[ 606.452508] DMAR: DRHD: handling fault status reg 3
[ 606.457487] DMAR: [DMA Read NO_PASID] Request device [00:02.0] fault addr 0xfffff000 [fault reason 0x06] PTE Read access is not set
[ 606.471789] DMAR: DRHD: handling fault status reg 3
[ 606.476696] DMAR: [DMA Read NO_PASID] Request device [00:02.0] fault addr 0xfffff000 [fault reason 0x06] PTE Read access is not set
[ 606.488817] DMAR: DRHD: handling fault status reg 3
[ 606.493714] DMAR: [DMA Read NO_PASID] Request device [00:02.0] fault addr 0xfffff000 [fault reason 0x06] PTE Read access is not set
[ 606.506312] DMAR: DRHD: handling fault status reg 3
~~~
Edited by Matthew Brost