Booting without lnl_huc.bin results in BUG: unable to handle page fault for address: 000000000000a188
@dceraolo: Using today's drm-tip, booting xe.ko
without lnl_huc.bin
runs BUG()
when the module is loading.
Here's the output after I boot with modprobe.blacklist=xe
and then try to modprobe it:
[ 152.172896] Console: switching to colour dummy device 80x25
[ 152.172943] xe 0000:00:02.0: vgaarb: deactivate vga console
[ 152.173163] xe 0000:00:02.0: [drm] Found LUNARLAKE (device ID 64a0) display version 20.00
[ 152.182922] xe 0000:00:02.0: [drm] Using GuC firmware from intel-ci/xe/lnl_guc_70.bin version 70.26.4
[ 152.195872] xe 0000:00:02.0: [drm] Using GuC firmware from intel-ci/xe/lnl_guc_70.bin version 70.26.4
[ 152.199421] xe 0000:00:02.0: Direct firmware load for xe/lnl_huc.bin failed with error -2
[ 152.199427] xe 0000:00:02.0: [drm] HuC firmware xe/lnl_huc.bin: fetch failed with error -2
[ 152.199429] xe 0000:00:02.0: [drm] HuC firmware(s) can be downloaded from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
[ 152.199432] xe 0000:00:02.0: [drm] *ERROR* GT1: HuC: initialization failed: -ENOENT
[ 152.199435] xe 0000:00:02.0: [drm] *ERROR* GT1: Failed to initialize uC (-ENOENT)
[ 152.199442] xe 0000:00:02.0: probe with driver xe failed with error -2
[ 152.199800] BUG: unable to handle page fault for address: 000000000000a188
[ 152.199802] #PF: supervisor write access in kernel mode
[ 152.199804] #PF: error_code(0x0002) - not-present page
[ 152.199806] PGD 0 P4D 0
[ 152.199808] Oops: Oops: 0002 [#1] PREEMPT SMP NOPTI
[ 152.199811] CPU: 1 UID: 0 PID: 1222 Comm: modprobe Not tainted 6.11.0-rc1pz+ #73
[ 152.199814] Hardware name: Intel Corporation Lunar Lake Client Platform/LNL-M LP5 RVP1, BIOS LNLMFWI1.R00.3093.D87.2403190644 03/19/2024
[ 152.199817] RIP: 0010:xe_mmio_write32+0x76/0x2b0 [xe]
[ 152.199913] Code: 05 6f 67 a0 c2 0f 82 cf 00 00 00 41 89 ee 41 c1 ee 18 f7 c5 00 00 00 40 0f 84 87 00 00 00 45 84 f6 78 7c 49 8b 47 28 4c 01 e0 <44> 89 28 48 83 c4 58 5b 5d 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc
[ 152.199916] RSP: 0018:ffffb265c23377e8 EFLAGS: 00010006
[ 152.199919] RAX: 000000000000a188 RBX: ffff8c088edb0028 RCX: 0000000000000000
[ 152.199921] RDX: 0000000000010001 RSI: 000000000000a188 RDI: ffff8c088edb0028
[ 152.199922] RBP: 000000000000a188 R08: 0000000000000001 R09: 0000000000000000
[ 152.199924] R10: 00000000ffffffff R11: ffff8c0891f98000 R12: 000000000000a188
[ 152.199926] R13: 0000000000010001 R14: 0000000000000000 R15: ffff8c0891f9a308
[ 152.199928] FS: 00007fa7657ed600(0000) GS:ffff8c0bef840000(0000) knlGS:0000000000000000
[ 152.199930] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 152.199932] CR2: 000000000000a188 CR3: 000000010e3a0002 CR4: 0000000000f70ef0
[ 152.199933] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 152.199935] DR3: 0000000000000000 DR6: 00000000ffff07f0 DR7: 0000000000000400
[ 152.199937] PKRU: 55555554
[ 152.199938] Call Trace:
[ 152.199940] <TASK>
[ 152.199943] ? __die+0x23/0x70
[ 152.199947] ? page_fault_oops+0x177/0x4f0
[ 152.199951] ? exc_page_fault+0x75/0x220
[ 152.199955] ? asm_exc_page_fault+0x26/0x30
[ 152.199960] ? xe_mmio_write32+0x76/0x2b0 [xe]
[ 152.200022] ? xe_mmio_write32+0x12b/0x2b0 [xe]
[ 152.200075] xe_force_wake_get+0xcd/0x2b0 [xe]
[ 152.200130] ? xe_ggtt_set_pte_and_flush+0x2f/0x430 [xe]
[ 152.200178] ? lock_acquire+0x26f/0x2c0
[ 152.200181] xe_gt_tlb_invalidation_ggtt+0xaa/0x310 [xe]
[ 152.200233] ? xe_ggtt_clear+0x98/0x240 [xe]
[ 152.200280] ? lock_release+0x1e6/0x290
[ 152.200281] ? xe_ggtt_remove_node+0xa9/0x100 [xe]
[ 152.200326] xe_ggtt_invalidate+0x1e/0x80 [xe]
[ 152.200370] xe_ggtt_remove_node+0xf4/0x100 [xe]
[ 152.200413] xe_ttm_bo_destroy+0x120/0x220 [xe]
[ 152.200458] drm_managed_release+0xa2/0x160 [drm]
[ 152.200490] devm_drm_dev_init_release+0x59/0x70 [drm]
[ 152.200510] release_nodes+0x33/0x100
[ 152.200514] devres_release_all+0x8c/0xc0
[ 152.200517] device_unbind_cleanup+0xe/0x70
[ 152.200520] really_probe+0x19d/0x390
[ 152.200522] ? __pfx___driver_attach+0x10/0x10
[ 152.200523] __driver_probe_device+0x78/0x150
[ 152.200525] driver_probe_device+0x1f/0x90
[ 152.200527] __driver_attach+0xd6/0x1d0
[ 152.200528] bus_for_each_dev+0x8c/0xe0
[ 152.200531] bus_add_driver+0x115/0x240
[ 152.200534] driver_register+0x59/0x100
[ 152.200536] xe_init+0x1d/0x70 [xe]
[ 152.200584] ? __pfx_xe_init+0x10/0x10 [xe]
[ 152.200627] do_one_initcall+0x73/0x3c0
[ 152.200631] do_init_module+0x60/0x230
[ 152.200634] init_module_from_file+0x89/0xe0
[ 152.200637] idempotent_init_module+0x126/0x2c0
[ 152.200639] __x64_sys_finit_module+0x5e/0xb0
[ 152.200641] do_syscall_64+0x90/0x1a0
[ 152.200644] ? do_syscall_64+0x9c/0x1a0
[ 152.200645] entry_SYSCALL_64_after_hwframe+0x71/0x79
[ 152.200648] RIP: 0033:0x7fa7651249f9
[ 152.200651] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 f7 c3 0c 00 f7 d8 64 89 01 48
[ 152.200656] RSP: 002b:00007ffe929682e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 152.200659] RAX: ffffffffffffffda RBX: 0000564b1918ada0 RCX: 00007fa7651249f9
[ 152.200661] RDX: 0000000000000004 RSI: 0000564b111b19b5 RDI: 000000000000000d
[ 152.200664] RBP: 0000000000000004 R08: 00007fa7651f1b20 R09: 0000564b1918c160
[ 152.200666] R10: 0000000000000040 R11: 0000000000000246 R12: 0000564b111b19b5
[ 152.200668] R13: 0000000000040000 R14: 0000564b1918ae40 R15: 0000000000000000
[ 152.200672] </TASK>
[ 152.200673] Modules linked in: xe(+) drm_ttm_helper ttm i2c_algo_bit gpu_sched drm_buddy drm_suballoc_helper drm_gpuvm drm_exec drm_display_helper drm_kms_helper snd_seq_dummy snd_hrtimer snd_seq snd_seq_device rfkill qrtr binfmt_misc ax88796b nls_ascii nls_cp437 vfat fat intel_uncore_frequency intel_uncore_frequency_common x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_sof_pci_intel_lnl snd_sof_pci_intel_mtl snd_sof_intel_hda_generic snd_sof_pci snd_sof_xtensa_dsp snd_sof_intel_hda_common kvm snd_soc_hdac_hda snd_sof_intel_hda snd_sof snd_sof_utils snd_soc_acpi_intel_match snd_soc_acpi snd_soc_core crct10dif_pclmul crc32_pclmul snd_compress crc32c_intel ghash_clmulni_intel snd_sof_intel_hda_mlink sha512_ssse3 snd_hda_ext_core sha256_ssse3 sha1_ssse3 snd_hda_intel asix snd_intel_dspcfg phylink selftests snd_hda_codec usbnet intel_rapl_msr mii snd_hwdep libphy aesni_intel gf128mul snd_hda_core crypto_simd cryptd snd_pcm rapl snd_timer snd pcspkr soundcore wmi_bmof battery evdev ucsi_acpi int3403_thermal
[ 152.200705] typec_ucsi joydev roles processor_thermal_device_pci typec processor_thermal_device intel_pmc_core processor_thermal_wt_hint intel_skl_int3472_tps68470 processor_thermal_rfim intel_hid int3400_thermal processor_thermal_rapl pmt_telemetry button acpi_tad acpi_thermal_rel sparse_keymap acpi_pad pmt_class intel_skl_int3472_discrete mei_me intel_rapl_common mei thunderbolt processor_thermal_wt_req processor_thermal_power_floor processor_thermal_mbox intel_vsec int340x_thermal_zone msr parport_pc ppdev lp parport drm efi_pstore configfs nfnetlink efivarfs ip_tables x_tables autofs4 hid_generic usbhid hid xhci_pci xhci_hcd nvme intel_lpss_pci intel_ish_ipc intel_lpss intel_ishtp nvme_core video usbcore idma64 usb_common fan wmi
[ 152.200767] CR2: 000000000000a188
[ 152.200770] ---[ end trace 0000000000000000 ]---
[ 152.474318] RIP: 0010:xe_mmio_write32+0x76/0x2b0 [xe]
[ 152.474427] Code: 05 6f 67 a0 c2 0f 82 cf 00 00 00 41 89 ee 41 c1 ee 18 f7 c5 00 00 00 40 0f 84 87 00 00 00 45 84 f6 78 7c 49 8b 47 28 4c 01 e0 <44> 89 28 48 83 c4 58 5b 5d 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc
[ 152.474432] RSP: 0018:ffffb265c23377e8 EFLAGS: 00010006
[ 152.474435] RAX: 000000000000a188 RBX: ffff8c088edb0028 RCX: 0000000000000000
[ 152.474438] RDX: 0000000000010001 RSI: 000000000000a188 RDI: ffff8c088edb0028
[ 152.474440] RBP: 000000000000a188 R08: 0000000000000001 R09: 0000000000000000
[ 152.474443] R10: 00000000ffffffff R11: ffff8c0891f98000 R12: 000000000000a188
[ 152.474445] R13: 0000000000010001 R14: 0000000000000000 R15: ffff8c0891f9a308
[ 152.474447] FS: 00007fa7657ed600(0000) GS:ffff8c0bef840000(0000) knlGS:0000000000000000
[ 152.474450] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 152.474452] CR2: 000000000000a188 CR3: 000000010e3a0002 CR4: 0000000000f70ef0
[ 152.474455] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 152.474457] DR3: 0000000000000000 DR6: 00000000ffff07f0 DR7: 0000000000000400
[ 152.474459] PKRU: 55555554
[ 152.474461] note: modprobe[1222] exited with irqs disabled
[ 152.474493] note: modprobe[1222] exited with preempt_count 1