On Thu, Aug 07, 2025 at 12:13:37PM +0700, Ammar Faizi wrote: > On Thu, Aug 07, 2025 at 07:03:50AM +0200, Nam Cao wrote: > > Does the diff below help? > > Yes, it works. So today, I synced with Linus' master branch again: 37816488247d ("Merge tag 'net-6.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net") and applied your fix on top of it. I can boot, but I get this splat. Looking at the call trace, it seems it's still related to pci, but different issue. The call trace is also different from the previous one. Let me know if you have something for me to test. [ 1.017767] pci 10000:e0:1d.0: bridge window [mem 0x82000000-0x820fffff]: assigned [ 1.018519] pci 10000:e0:1d.0: bridge window [io size 0x1000]: can't assign; no space [ 1.019268] pci 10000:e0:1d.0: bridge window [io size 0x1000]: failed to assign [ 1.020026] pci 10000:e0:1d.0: bridge window [io size 0x1000]: can't assign; no space [ 1.020789] pci 10000:e0:1d.0: bridge window [io size 0x1000]: failed to assign [ 1.021539] pci 10000:e1:00.0: BAR 0 [mem 0x82000000-0x82003fff 64bit]: assigned [ 1.022317] pci 10000:e0:1d.0: PCI bridge to [bus e1] [ 1.023091] pci 10000:e0:1d.0: bridge window [mem 0x82000000-0x820fffff] [ 1.023885] pci 10000:e1:00.0: VMD: Default LTR value set by driver [ 1.024654] pci 10000:e1:00.0: can't override BIOS ASPM; OS doesn't have ASPM control [ 1.025442] pcieport 10000:e0:1d.0: can't derive routing for PCI INT A [ 1.026245] pcieport 10000:e0:1d.0: PCI INT A: no GSI [ 1.027058] ------------[ cut here ]------------ [ 1.027849] WARNING: CPU: 0 PID: 166 at drivers/pci/controller/vmd.c:309 vmd_init_dev_msi_info+0x36/0x40 [vmd] [ 1.028649] Modules linked in: hid_generic i2c_hid_acpi i2c_hid drm intel_lpss_pci i2c_i801 i2c_mux intel_lpss idma64 i2c_smbus vmd(+) hid video wmi pinctrl_tigerlake [ 1.029467] CPU: 0 UID: 0 PID: 166 Comm: systemd-udevd Not tainted 6.16.0-afh-home-2025-08-08-g6026508bdb9d #10 PREEMPT(full) fe08b908bb15b9ded6f7769c45f204194ebf7eef [ 1.030301] Hardware name: HP HP Laptop 14s-dq2xxx/87FD, BIOS F.21 03/21/2022 [ 1.031122] RIP: 0010:vmd_init_dev_msi_info+0x36/0x40 [vmd] [ 1.031953] Code: 48 89 cb e8 7c 49 4f e1 84 c0 74 1a 48 8b 53 20 48 c7 42 18 70 18 40 a0 48 8b 53 20 48 c7 42 20 e0 17 40 a0 5b c3 31 c0 5b c3 <0f> 0b 31 c0 c3 0f 1f 44 00 00 0f 1f 44 00 00 41 56 41 55 41 54 49 [ 1.032798] RSP: 0018:ffff888105a47860 EFLAGS: 00010297 [ 1.033642] RAX: ffff8881014d5d98 RBX: ffff8881014d5c00 RCX: ffff8881014d5d98 [ 1.034506] RDX: ffff888120a49400 RSI: ffff888120a49400 RDI: ffff88810132b0c8 [ 1.035359] RBP: 0000000000000001 R08: ffff888100d8de3a R09: 00000000ffffffff [ 1.036206] R10: 0000000000000004 R11: 0000000000000005 R12: ffff8881019b7e40 [ 1.036561] usb 1-2: new full-speed USB device number 3 using xhci_hcd [ 1.037058] R13: ffffffffa020c680 R14: ffff88810132b0c8 R15: ffff888120a49400 [ 1.038724] FS: 00007f25ede3a8c0(0000) GS:ffff8890f1a2d000(0000) knlGS:0000000000000000 [ 1.039559] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1.040400] CR2: 00007f25ee475ea0 CR3: 000000011dfd1003 CR4: 0000000000770ef0 [ 1.041265] PKRU: 55555554 [ 1.042121] Call Trace: [ 1.042971] <TASK> [ 1.043803] msi_create_device_irq_domain+0x1eb/0x290 [ 1.044645] __pci_enable_msi_range+0x106/0x300 [ 1.045488] pci_alloc_irq_vectors_affinity+0xc5/0x110 [ 1.046336] pcie_portdrv_probe+0x24e/0x610 [ 1.047177] ? kernfs_activate+0x48/0x60 [ 1.048015] local_pci_probe+0x3c/0x80 [ 1.048854] pci_device_probe+0xbc/0x1b0 [ 1.049693] really_probe+0xcd/0x380 [ 1.050529] ? driver_probe_device+0x90/0x90 [ 1.051353] __driver_probe_device+0x78/0x150 [ 1.052182] driver_probe_device+0x1f/0x90 [ 1.053000] __device_attach_driver+0x76/0xf0 [ 1.053812] bus_for_each_drv+0x69/0xa0 [ 1.054633] __device_attach+0xaa/0x1a0 [ 1.055448] pci_bus_add_device+0x4c/0x70 [ 1.056260] pci_bus_add_devices+0x2c/0x70 [ 1.057063] vmd_probe+0x81e/0xa20 [vmd 65bddf00234a3cddd21388091a077f038c9af2be] [ 1.057881] local_pci_probe+0x3c/0x80 [ 1.058682] pci_device_probe+0xbc/0x1b0 [ 1.059489] really_probe+0xcd/0x380 [ 1.060303] ? __device_attach_driver+0xf0/0xf0 [ 1.061112] __driver_probe_device+0x78/0x150 [ 1.061908] driver_probe_device+0x1f/0x90 [ 1.062711] __driver_attach+0xbf/0x1b0 [ 1.063500] bus_for_each_dev+0x64/0xa0 [ 1.064303] bus_add_driver+0x10a/0x230 [ 1.065100] driver_register+0x55/0xf0 [ 1.065892] ? vmd_drv_exit+0x9a0/0x9a0 [vmd 65bddf00234a3cddd21388091a077f038c9af2be] [ 1.066673] do_one_initcall+0x31/0x1e0 [ 1.067460] do_init_module+0x60/0x260 [ 1.068264] init_module_from_file+0x74/0x90 [ 1.069068] idempotent_init_module+0xed/0x2c0 [ 1.069853] __x64_sys_finit_module+0x65/0xd0 [ 1.070630] do_syscall_64+0x56/0x260 [ 1.071394] entry_SYSCALL_64_after_hwframe+0x29/0x31 [ 1.072152] RIP: 0033:0x7f25ee53288d [ 1.072918] Code: 5b 41 5c c3 66 0f 1f 84 00 00 00 00 00 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 73 b5 0f 00 f7 d8 64 89 01 48 [ 1.073698] RSP: 002b:00007fff09cbd5b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 1.074477] RAX: ffffffffffffffda RBX: 000055d9edf36030 RCX: 00007f25ee53288d [ 1.075254] RDX: 0000000000000000 RSI: 00007f25ee6cc441 RDI: 0000000000000005 [ 1.076042] RBP: 0000000000020000 R08: 0000000000000000 R09: 00007fff09cbd6f0 [ 1.076827] R10: 0000000000000005 R11: 0000000000000246 R12: 00007f25ee6cc441 [ 1.077609] R13: 000055d9edf323b0 R14: 000055d9edf36120 R15: 000055d9edf35850 [ 1.078389] </TASK> [ 1.079166] ---[ end trace 0000000000000000 ]--- -- Ammar Faizi