Blow up in PC code if PC fails to init
[ 24.096156] xe 0000:9a:00.0: [drm:xe_guc_upload [xe]] GuC successfully loaded
[ 24.104122] xe 0000:9a:00.0: [drm:xe_guc_ct_enable [xe]] GuC CT communication channel enabled
[ 25.122522] xe 0000:9a:00.0: [drm] *ERROR* Timed out wait for G2H, fence 0, action 3003
[ 25.130785] xe 0000:9a:00.0: [drm] *ERROR* GuC PC query task state failed: -ETIME
[ 25.138867] xe: probe of 0000:9a:00.0 failed with error -62
[ 25.145530] ------------[ cut here ]------------
[ 25.150203] kernel BUG at drivers/gpu/drm/xe/xe_force_wake.h:35!
[ 25.156255] invalid opcode: 0000 [#1] PREEMPT SMP NOPTI
[ 25.161491] CPU: 1 PID: 300 Comm: systemd-udevd Not tainted 5.19.0-xe+ #2874
[ 25.168545] Hardware name: Intel Corporation WilsonCity/WilsonCity, BIOS WLYDCRB1.SYS.0027.P80.2203310646 03/31/2022
[ 25.179063] RIP: 0010:pc_is_in_state+0xa3/0xb0 [xe]
[ 25.183952] Code: 81 88 03 00 00 8b 40 04 39 f0 0f 94 c0 c3 cc cc cc cc 48 8b 81 88 03 00 00 8b 40 04 39 f0 0f 94 c0 c3 cc cc cc cc 0f 0b 0f 0b <0f> 0b 90 66 2e 0f 1f 84 00 00 00 00 00 53 40 0f b6 f6 48 89 fb 4c
[ 25.202705] RSP: 0018:ffffc9000256ba58 EFLAGS: 00010246
[ 25.207931] RAX: 0000000000000000 RBX: 000000000000000a RCX: ffff88811e652c00
[ 25.215061] RDX: ffff88811fa12098 RSI: 0000000000000000 RDI: ffff88811fa10000
[ 25.222194] RBP: ffff88811fa12a50 R08: 0000000000000002 R09: 0000000000000001
[ 25.229327] R10: 00000000142f0f07 R11: 00000000ffb89931 R12: ffff88811fa95dc0
[ 25.236458] R13: 0000000000000000 R14: 00000004b1562620 R15: dead000000000100
[ 25.243591] FS: 00007f564e215880(0000) GS:ffff88903fa80000(0000) knlGS:0000000000000000
[ 25.251676] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 25.257421] CR2: 00007f564e7e23f0 CR3: 000000011e44a003 CR4: 0000000000770ee0
[ 25.264552] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 25.271685] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 25.278815] PKRU: 55555554
[ 25.281519] Call Trace:
[ 25.283965] <TASK>
[ 25.286071] xe_guc_pc_stop+0x11e/0x190 [xe]
[ 25.290353] pc_fini+0xf/0xb0 [xe]
[ 25.293767] drm_managed_release+0xa1/0x150
[ 25.297959] drm_dev_release+0x26/0x40
[ 25.301711] release_nodes+0x41/0x130
[ 25.305377] devres_release_all+0x83/0xc0
[ 25.309391] device_unbind_cleanup+0x9/0x70
[ 25.313575] really_probe+0x11b/0x360
[ 25.317241] __driver_probe_device+0xfa/0x170
[ 25.321600] driver_probe_device+0x1a/0x90
[ 25.325698] __driver_attach+0x9b/0x180
[ 25.329537] ? __device_attach_driver+0xe0/0xe0
[ 25.334071] ? __device_attach_driver+0xe0/0xe0
[ 25.338602] bus_for_each_dev+0x72/0xc0
[ 25.342441] bus_add_driver+0x162/0x220
[ 25.346279] ? xe_hw_fence_module_init+0x30/0x30 [xe]
[ 25.351350] driver_register+0x66/0xc0
[ 25.355101] ? xe_hw_fence_module_init+0x30/0x30 [xe]
[ 25.360162] do_one_initcall+0x53/0x2f0
[ 25.364003] ? kmem_cache_alloc_trace+0x4dd/0x640
[ 25.368718] do_init_module+0x45/0x1c0
[ 25.372468] load_module+0x1c3a/0x1e10
[ 25.376224] ? __do_sys_finit_module+0xaf/0x120
[ 25.380763] __do_sys_finit_module+0xaf/0x120
[ 25.385123] do_syscall_64+0x37/0x90
[ 25.388709] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 25.393759] RIP: 0033:0x7f564e83f73d
[ 25.397339] 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 23 37 0d 00 f7 d8 64 89 01 48
[ 25.416091] RSP: 002b:00007ffef1a80458 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 25.423657] RAX: ffffffffffffffda RBX: 000055f6bbab47e0 RCX: 00007f564e83f73d
[ 25.430790] RDX: 0000000000000000 RSI: 00007f564e71fded RDI: 000000000000000f
[ 25.437922] RBP: 0000000000020000 R08: 0000000000000000 R09: 0000000000000000
[ 25.445052] R10: 000000000000000f R11: 0000000000000246 R12: 00007f564e71fded
[ 25.452185] R13: 0000000000000000 R14: 000055f6bba87620 R15: 000055f6bbab47e0
[ 25.459319] </TASK>
[ 25.461510] Modules linked in: crct10dif_pclmul crc32_pclmul ghash_clmulni_intel xe(+) drm_ttm_helper ttm igb gpu_sched ptp drm_suballoc_helper i2c_i801 pps_core i2c_smbus
[ 25.476818] ---[ end trace 0000000000000000 ]---
[ 25.524675] RIP: 0010:pc_is_in_state+0xa3/0xb0 [xe]
[ 25.529584] Code: 81 88 03 00 00 8b 40 04 39 f0 0f 94 c0 c3 cc cc cc cc 48 8b 81 88 03 00 00 8b 40 04 39 f0 0f 94 c0 c3 cc cc cc cc 0f 0b 0f 0b <0f> 0b 90 66 2e 0f 1f 84 00 00 00 00 00 53 40 0f b6 f6 48 89 fb 4c
[ 25.548334] RSP: 0018:ffffc9000256ba58 EFLAGS: 00010246
[ 25.553561] RAX: 0000000000000000 RBX: 000000000000000a RCX: ffff88811e652c00
[ 25.560702] RDX: ffff88811fa12098 RSI: 0000000000000000 RDI: ffff88811fa10000
[ 25.567841] RBP: ffff88811fa12a50 R08: 0000000000000002 R09: 0000000000000001
[ 25.574974] R10: 00000000142f0f07 R11: 00000000ffb89931 R12: ffff88811fa95dc0
[ 25.582110] R13: 0000000000000000 R14: 00000004b1562620 R15: dead000000000100
[ 25.589247] FS: 00007f564e215880(0000) GS:ffff88903fa80000(0000) knlGS:0000000000000000
[ 25.597346] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 25.603121] CR2: 00007f564e7e23f0 CR3: 000000011e44a003 CR4: 0000000000770ee0
[ 25.610261] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 25.617392] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 25.624525] PKRU: 55555554
[ 25.627501] systemd-udevd (300) used greatest stack depth: 12600 bytes left
[ 203.996973] EXT4-fs (sda1): mounted filesystem with ordered data mode. Quota mode: disabled.
[ 204.069185] systemd-udevd (274) used greatest stack depth: 12552 bytes left
[ 204.076178] systemd-udevd (269) used greatest stack depth: 12520 bytes left
[ 204.290711] systemd[1]: systemd 245.4-4ubuntu3.17 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid)
[ 204.313324] systemd[1]: Detected architecture x86-64.
[ 204.321709] systemd[1]: Set hostname to <DUT2942-PVC>.
[ 204.609428] random: crng init done
Edited by Matthew Brost