Public bug reported: CONFIG_PCI_MSI_ARCH_FALLBACKS should be selected for arm64, just like in J/linux.
This causes boot warnings on arm64 xgene like: ------------- [ 28.297202] ------------[ cut here ]------------ [ 28.297203] WARNING: CPU: 4 PID: 229 at include/linux/msi.h:262 msix_capability_init+0x2e4/0x344 [ 28.297216] Modules linked in: mlx4_core(+) gpio_dwapb gpio_keys_polled ahci_xgene gpio_xgene_sb crct10dif_ce aes_neon_bs aes_neon_blk crypto_simd cryptd [ 28.297232] CPU: 4 PID: 229 Comm: systemd-udevd Not tainted 5.15.0-1004-realtime #4-Ubuntu [ 28.297236] Hardware name: HP ProLiant m400 Server Cartridge (DT) [ 28.297239] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 28.297243] pc : msix_capability_init+0x2e4/0x344 [ 28.297246] lr : msix_capability_init+0x140/0x344 [ 28.297250] sp : ffff80001458b550 [ 28.297251] x29: ffff80001458b550 x28: 0000000000000000 x27: 0000000000102cc2 [ 28.297256] x26: ffff00000a223000 x25: 0000000000000011 x24: 0000000000000000 [ 28.297260] x23: ffff00000a2230d0 x22: 0000000000000011 x21: ffff000005bee700 [ 28.297264] x20: 0000000000000000 x19: ffff00000a223000 x18: ffffffffffffffff [ 28.297268] x17: 0000000000000000 x16: 0000000000000068 x15: ffff800012789451 [ 28.297272] x14: 00000000fffffffd x13: 0a73746962204331 x12: ffff8000128f7000 [ 28.297276] x11: ffff8000128f5000 x10: 000000a13487c000 x9 : ffff80001079f0dc [ 28.297280] x8 : ffff000009cd2c00 x7 : 0000000000000028 x6 : ffff000009cd2980 [ 28.297284] x5 : 0000000000000040 x4 : 0000000000000000 x3 : ffff00000a223338 [ 28.297288] x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 [ 28.297292] Call trace: [ 28.297294] msix_capability_init+0x2e4/0x344 [ 28.297298] __pci_enable_msix_range+0x1d4/0x23c [ 28.297301] pci_enable_msix_range+0x24/0x30 [ 28.297304] mlx4_enable_msi_x+0xd0/0x390 [mlx4_core] [ 28.297360] mlx4_load_one+0x578/0xe74 [mlx4_core] [ 28.297401] __mlx4_init_one+0x364/0x418 [mlx4_core] [ 28.297441] mlx4_init_one+0x2a0/0x310 [mlx4_core] [ 28.297482] local_pci_probe+0x4c/0xc0 [ 28.297487] pci_device_probe+0x120/0x1c0 [ 28.297491] really_probe+0xc4/0x470 [ 28.297499] __driver_probe_device+0x11c/0x190 [ 28.297502] driver_probe_device+0x48/0x110 [ 28.297505] __driver_attach+0xd8/0x1f0 [ 28.297509] bus_for_each_dev+0x7c/0xe0 [ 28.297512] driver_attach+0x30/0x40 [ 28.297515] bus_add_driver+0x154/0x250 [ 28.297518] driver_register+0x84/0x140 [ 28.297522] __pci_register_driver+0x58/0x6c [ 28.297526] mlx4_init+0x154/0x1000 [mlx4_core] [ 28.297567] do_one_initcall+0x50/0x2f0 [ 28.297571] do_init_module+0x60/0x280 [ 28.297576] load_module+0x9f0/0xbb0 [ 28.297578] __do_sys_finit_module+0xa8/0x11c [ 28.297581] __arm64_sys_finit_module+0x2c/0x40 [ 28.297584] invoke_syscall+0x78/0x100 [ 28.297589] el0_svc_common.constprop.0+0x54/0x184 [ 28.297593] do_el0_svc+0x34/0x9c [ 28.297596] el0_svc+0x30/0x150 [ 28.297603] el0t_64_sync_handler+0xa4/0x130 [ 28.297606] el0t_64_sync+0x1a4/0x1a8 [ 28.297609] ---[ end trace 0000000000000002 ]--- [ 31.897760] ------------[ cut here ]------------ [ 31.897763] WARNING: CPU: 4 PID: 229 at include/linux/msi.h:268 free_msi_irqs+0x6c/0x150 [ 31.897771] Modules linked in: mlx4_core(+) gpio_dwapb gpio_keys_polled ahci_xgene gpio_xgene_sb crct10dif_ce aes_neon_bs aes_neon_blk crypto_simd cryptd [ 31.897782] CPU: 4 PID: 229 Comm: systemd-udevd Tainted: G W 5.15.0-1004-realtime #4-Ubuntu [ 31.897785] Hardware name: HP ProLiant m400 Server Cartridge (DT) [ 31.897787] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 31.897791] pc : free_msi_irqs+0x6c/0x150 [ 31.897794] lr : msix_capability_init+0x2d0/0x344 [ 31.897797] sp : ffff80001458b510 [ 31.897799] x29: ffff80001458b510 x28: 0000000000000000 x27: 0000000000102cc2 [ 31.897803] x26: ffff00000a223000 x25: 0000000000000011 x24: 0000000000000000 [ 31.897807] x23: ffff00000a2230d0 x22: ffff00000a223000 x21: ffff00000a223338 [ 31.897811] x20: 00000000ffffffed x19: ffff00000a2230d0 x18: ffffffffffffffff [ 31.897815] x17: 0000000000000000 x16: 0000000000000068 x15: ffff800012789451 [ 31.897819] x14: 00000000fffffffd x13: 0a73746962204331 x12: ffff8000128f7000 [ 31.897823] x11: ffff8000128f5000 x10: 000000a13487c000 x9 : ffff80001079f9d0 [ 31.897827] x8 : ffff000009cd2c00 x7 : 0000000000000028 x6 : ffff000009cd2980 [ 31.897831] x5 : 0000000000000040 x4 : 0000000000000000 x3 : ffff00000a223338 [ 31.897835] x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 [ 31.897838] Call trace: [ 31.897840] free_msi_irqs+0x6c/0x150 [ 31.897843] msix_capability_init+0x2d0/0x344 [ 31.897846] __pci_enable_msix_range+0x1d4/0x23c [ 31.897849] pci_enable_msix_range+0x24/0x30 [ 31.897852] mlx4_enable_msi_x+0xd0/0x390 [mlx4_core] [ 31.897899] mlx4_load_one+0x578/0xe74 [mlx4_core] [ 31.897940] __mlx4_init_one+0x364/0x418 [mlx4_core] [ 31.897980] mlx4_init_one+0x2a0/0x310 [mlx4_core] [ 31.898021] local_pci_probe+0x4c/0xc0 [ 31.898025] pci_device_probe+0x120/0x1c0 [ 31.898029] really_probe+0xc4/0x470 [ 31.898033] __driver_probe_device+0x11c/0x190 [ 31.898036] driver_probe_device+0x48/0x110 [ 31.898039] __driver_attach+0xd8/0x1f0 [ 31.898043] bus_for_each_dev+0x7c/0xe0 [ 31.898046] driver_attach+0x30/0x40 [ 31.898049] bus_add_driver+0x154/0x250 [ 31.898052] driver_register+0x84/0x140 [ 31.898055] __pci_register_driver+0x58/0x6c [ 31.898059] mlx4_init+0x154/0x1000 [mlx4_core] [ 31.898100] do_one_initcall+0x50/0x2f0 [ 31.898103] do_init_module+0x60/0x280 [ 31.898106] load_module+0x9f0/0xbb0 [ 31.898109] __do_sys_finit_module+0xa8/0x11c [ 31.898111] __arm64_sys_finit_module+0x2c/0x40 [ 31.898114] invoke_syscall+0x78/0x100 [ 31.898118] el0_svc_common.constprop.0+0x54/0x184 [ 31.898122] do_el0_svc+0x34/0x9c [ 31.898126] el0_svc+0x30/0x150 [ 31.898130] el0t_64_sync_handler+0xa4/0x130 [ 31.898133] el0t_64_sync+0x1a4/0x1a8 [ 31.898136] ---[ end trace 0000000000000003 ]--- [ 32.898253] pci_bus 0000:01: 2-byte config write to 0000:01:00.0 offset 0x9e may corrupt adjacent RW1C bits ------------- ** Affects: linux (Ubuntu) Importance: Undecided Assignee: Krzysztof Kozlowski (krzk) Status: New ** Changed in: linux (Ubuntu) Assignee: (unassigned) => Krzysztof Kozlowski (krzk) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1959404 Title: Enable CONFIG_PCI_MSI_ARCH_FALLBACKS in Jammy realtime arm64 kernel Status in linux package in Ubuntu: New Bug description: CONFIG_PCI_MSI_ARCH_FALLBACKS should be selected for arm64, just like in J/linux. This causes boot warnings on arm64 xgene like: ------------- [ 28.297202] ------------[ cut here ]------------ [ 28.297203] WARNING: CPU: 4 PID: 229 at include/linux/msi.h:262 msix_capability_init+0x2e4/0x344 [ 28.297216] Modules linked in: mlx4_core(+) gpio_dwapb gpio_keys_polled ahci_xgene gpio_xgene_sb crct10dif_ce aes_neon_bs aes_neon_blk crypto_simd cryptd [ 28.297232] CPU: 4 PID: 229 Comm: systemd-udevd Not tainted 5.15.0-1004-realtime #4-Ubuntu [ 28.297236] Hardware name: HP ProLiant m400 Server Cartridge (DT) [ 28.297239] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 28.297243] pc : msix_capability_init+0x2e4/0x344 [ 28.297246] lr : msix_capability_init+0x140/0x344 [ 28.297250] sp : ffff80001458b550 [ 28.297251] x29: ffff80001458b550 x28: 0000000000000000 x27: 0000000000102cc2 [ 28.297256] x26: ffff00000a223000 x25: 0000000000000011 x24: 0000000000000000 [ 28.297260] x23: ffff00000a2230d0 x22: 0000000000000011 x21: ffff000005bee700 [ 28.297264] x20: 0000000000000000 x19: ffff00000a223000 x18: ffffffffffffffff [ 28.297268] x17: 0000000000000000 x16: 0000000000000068 x15: ffff800012789451 [ 28.297272] x14: 00000000fffffffd x13: 0a73746962204331 x12: ffff8000128f7000 [ 28.297276] x11: ffff8000128f5000 x10: 000000a13487c000 x9 : ffff80001079f0dc [ 28.297280] x8 : ffff000009cd2c00 x7 : 0000000000000028 x6 : ffff000009cd2980 [ 28.297284] x5 : 0000000000000040 x4 : 0000000000000000 x3 : ffff00000a223338 [ 28.297288] x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 [ 28.297292] Call trace: [ 28.297294] msix_capability_init+0x2e4/0x344 [ 28.297298] __pci_enable_msix_range+0x1d4/0x23c [ 28.297301] pci_enable_msix_range+0x24/0x30 [ 28.297304] mlx4_enable_msi_x+0xd0/0x390 [mlx4_core] [ 28.297360] mlx4_load_one+0x578/0xe74 [mlx4_core] [ 28.297401] __mlx4_init_one+0x364/0x418 [mlx4_core] [ 28.297441] mlx4_init_one+0x2a0/0x310 [mlx4_core] [ 28.297482] local_pci_probe+0x4c/0xc0 [ 28.297487] pci_device_probe+0x120/0x1c0 [ 28.297491] really_probe+0xc4/0x470 [ 28.297499] __driver_probe_device+0x11c/0x190 [ 28.297502] driver_probe_device+0x48/0x110 [ 28.297505] __driver_attach+0xd8/0x1f0 [ 28.297509] bus_for_each_dev+0x7c/0xe0 [ 28.297512] driver_attach+0x30/0x40 [ 28.297515] bus_add_driver+0x154/0x250 [ 28.297518] driver_register+0x84/0x140 [ 28.297522] __pci_register_driver+0x58/0x6c [ 28.297526] mlx4_init+0x154/0x1000 [mlx4_core] [ 28.297567] do_one_initcall+0x50/0x2f0 [ 28.297571] do_init_module+0x60/0x280 [ 28.297576] load_module+0x9f0/0xbb0 [ 28.297578] __do_sys_finit_module+0xa8/0x11c [ 28.297581] __arm64_sys_finit_module+0x2c/0x40 [ 28.297584] invoke_syscall+0x78/0x100 [ 28.297589] el0_svc_common.constprop.0+0x54/0x184 [ 28.297593] do_el0_svc+0x34/0x9c [ 28.297596] el0_svc+0x30/0x150 [ 28.297603] el0t_64_sync_handler+0xa4/0x130 [ 28.297606] el0t_64_sync+0x1a4/0x1a8 [ 28.297609] ---[ end trace 0000000000000002 ]--- [ 31.897760] ------------[ cut here ]------------ [ 31.897763] WARNING: CPU: 4 PID: 229 at include/linux/msi.h:268 free_msi_irqs+0x6c/0x150 [ 31.897771] Modules linked in: mlx4_core(+) gpio_dwapb gpio_keys_polled ahci_xgene gpio_xgene_sb crct10dif_ce aes_neon_bs aes_neon_blk crypto_simd cryptd [ 31.897782] CPU: 4 PID: 229 Comm: systemd-udevd Tainted: G W 5.15.0-1004-realtime #4-Ubuntu [ 31.897785] Hardware name: HP ProLiant m400 Server Cartridge (DT) [ 31.897787] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 31.897791] pc : free_msi_irqs+0x6c/0x150 [ 31.897794] lr : msix_capability_init+0x2d0/0x344 [ 31.897797] sp : ffff80001458b510 [ 31.897799] x29: ffff80001458b510 x28: 0000000000000000 x27: 0000000000102cc2 [ 31.897803] x26: ffff00000a223000 x25: 0000000000000011 x24: 0000000000000000 [ 31.897807] x23: ffff00000a2230d0 x22: ffff00000a223000 x21: ffff00000a223338 [ 31.897811] x20: 00000000ffffffed x19: ffff00000a2230d0 x18: ffffffffffffffff [ 31.897815] x17: 0000000000000000 x16: 0000000000000068 x15: ffff800012789451 [ 31.897819] x14: 00000000fffffffd x13: 0a73746962204331 x12: ffff8000128f7000 [ 31.897823] x11: ffff8000128f5000 x10: 000000a13487c000 x9 : ffff80001079f9d0 [ 31.897827] x8 : ffff000009cd2c00 x7 : 0000000000000028 x6 : ffff000009cd2980 [ 31.897831] x5 : 0000000000000040 x4 : 0000000000000000 x3 : ffff00000a223338 [ 31.897835] x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 [ 31.897838] Call trace: [ 31.897840] free_msi_irqs+0x6c/0x150 [ 31.897843] msix_capability_init+0x2d0/0x344 [ 31.897846] __pci_enable_msix_range+0x1d4/0x23c [ 31.897849] pci_enable_msix_range+0x24/0x30 [ 31.897852] mlx4_enable_msi_x+0xd0/0x390 [mlx4_core] [ 31.897899] mlx4_load_one+0x578/0xe74 [mlx4_core] [ 31.897940] __mlx4_init_one+0x364/0x418 [mlx4_core] [ 31.897980] mlx4_init_one+0x2a0/0x310 [mlx4_core] [ 31.898021] local_pci_probe+0x4c/0xc0 [ 31.898025] pci_device_probe+0x120/0x1c0 [ 31.898029] really_probe+0xc4/0x470 [ 31.898033] __driver_probe_device+0x11c/0x190 [ 31.898036] driver_probe_device+0x48/0x110 [ 31.898039] __driver_attach+0xd8/0x1f0 [ 31.898043] bus_for_each_dev+0x7c/0xe0 [ 31.898046] driver_attach+0x30/0x40 [ 31.898049] bus_add_driver+0x154/0x250 [ 31.898052] driver_register+0x84/0x140 [ 31.898055] __pci_register_driver+0x58/0x6c [ 31.898059] mlx4_init+0x154/0x1000 [mlx4_core] [ 31.898100] do_one_initcall+0x50/0x2f0 [ 31.898103] do_init_module+0x60/0x280 [ 31.898106] load_module+0x9f0/0xbb0 [ 31.898109] __do_sys_finit_module+0xa8/0x11c [ 31.898111] __arm64_sys_finit_module+0x2c/0x40 [ 31.898114] invoke_syscall+0x78/0x100 [ 31.898118] el0_svc_common.constprop.0+0x54/0x184 [ 31.898122] do_el0_svc+0x34/0x9c [ 31.898126] el0_svc+0x30/0x150 [ 31.898130] el0t_64_sync_handler+0xa4/0x130 [ 31.898133] el0t_64_sync+0x1a4/0x1a8 [ 31.898136] ---[ end trace 0000000000000003 ]--- [ 32.898253] pci_bus 0000:01: 2-byte config write to 0000:01:00.0 offset 0x9e may corrupt adjacent RW1C bits ------------- To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1959404/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp