Regression in linux-firmware-20250917 for mt7921e driver

Sam James sam at gentoo.org
Sun Sep 21 11:08:52 PDT 2025


Sam James <sam at gentoo.org> writes:

> Hi,
>
> I'm forwarding a downstream report in Gentoo from
> https://bugs.gentoo.org/963106 which also came up in Arch at
> https://gitlab.archlinux.org/archlinux/packaging/packages/linux-firmware/-/issues/29
> and on the linux-firmware gitlab at
> https://gitlab.com/kernel-firmware/linux-firmware/-/merge_requests/684.
>
> The user describes it on the Arch bug as:
> """
> core/linux-firmware-mediatek at 20250917-1 causes network to fail startup
> and dramatically slows down basically every operation in the kernel.
>
> symptoms are a pegged kworker thread at 100% cpu util, shutdown being
> prevented, extremely slow commands like sudo, filesystem access. I
> suspect a interrupt storm of some sort.
> """
>
> And another mentions that removing the module w/ modprobe -r mt7921e hangs.

It turns out that I myself do have such a machine, and here's the splat
I got in dmesg:

[   29.647345] mt7921e 0000:04:00.0: Message 0004005c (seq 12) timeout
[   29.648029] ------------[ cut here ]------------
[   29.648033] WARNING: CPU: 8 PID: 149 at drivers/iommu/dma-iommu.c:823 __iommu_dma_unmap+0x13e/0x150
[   29.648046] Modules linked in: rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device des3_ede_x86_64 des_generic libdes md4 nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat ebtable_nat ebtable_broute ip6table_nat ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 iptable_mangle iptable_raw iptable_security nf_tables ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter ip_tables bnep cuse uvcvideo uvc videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 btusb videobuf2_common btrtl btintel videodev btbcm btmtk bluetooth mc amdgpu amd_atl intel_rapl_msr intel_rapl_common snd_soc_dmic snd_soc_ps_mach snd_ps_pdm_dma snd_sof_amd_acp70 snd_sof_amd_acp63 snd_sof_amd_vangogh snd_sof_amd_rembrandt snd_sof_amd_renoir snd_sof_amd_acp snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils edac_mce_amd snd_pci_ps snd_soc_acpi_amd_match vfat snd_amd_sdw_acpi soundwire_amd fat
[   29.648205]  soundwire_generic_allocation snd_hda_codec_realtek mt7921e kvm_amd soundwire_bus mt7921_common snd_hda_codec_generic snd_ctl_led snd_soc_sdca snd_hda_scodec_component mt792x_lib snd_hda_codec_hdmi snd_hda_scodec_cs35l41_spi kvm mt76_connac_lib regmap_spi snd_soc_core amdxcp drm_panel_backlight_quirks mt76 drm_ttm_helper snd_hda_intel ttm snd_intel_dspcfg snd_compress ac97_bus i2c_algo_bit snd_pcm_dmaengine irqbypass snd_intel_sdw_acpi snd_rpl_pci_acp6x spd5118 mac80211 drm_suballoc_helper snd_hda_codec snd_acp_pci snd_hda_scodec_cs35l41_i2c rapl snd_amd_acpi_mach snd_acp_legacy_common libarc4 drm_client_lib snd_hda_scodec_cs35l41 snd_hda_core drm_exec snd_soc_cs_amp_lib amdxdna drm_buddy snd_pci_acp6x snd_soc_cs35l41_lib thinkpad_acpi think_lmi snd_pci_acp5x drm_display_helper snd_hwdep cs_dsp gpu_sched cfg80211 pcspkr snd_pcm cec drm_shmem_helper sparse_keymap snd_timer snd_rn_pci_acp3x platform_profile snd_acp_config snd snd_soc_acpi rfkill drm_kms_helper i2c_piix4 amd_pmc soundcore
[   29.648341]  serial_multi_instantiate firmware_attributes_class snd_pci_acp3x k10temp i2c_smbus joydev wmi_bmof fuse loop nfnetlink zstd zram lz4hc_compress lz4_compress dm_crypt typec_displayport ucsi_acpi typec_ucsi typec nvme rtsx_pci_sdmmc nvme_core polyval_clmulni mmc_core ghash_clmulni_intel video sha512_ssse3 nvme_keyring wacom hid_multitouch thunderbolt sha1_ssse3 rtsx_pci nvme_auth sp5100_tco wmi i2c_hid_acpi i2c_hid serio_raw pkcs8_key_parser
[   29.648415] CPU: 8 UID: 0 PID: 149 Comm: kworker/8:1 Not tainted 6.16.7-gentoo-dist #1 PREEMPT(lazy)
[   29.648421] Hardware name: LENOVO 21JXCTO1WW/21JXCTO1WW, BIOS N41ET58W (1.35 ) 03/19/2025
[   29.648426] Workqueue: events mt7921_mac_init [mt7921_common]
[   29.648439] RIP: 0010:__iommu_dma_unmap+0x13e/0x150
[   29.648446] Code: 00 00 00 00 48 c7 44 24 10 00 00 00 00 48 c7 44 24 28 00 00 00 00 48 c7 04 24 ff ff ff ff 4c 89 74 24 18 4c 89 74 24 20 eb 87 <0f> 0b e9 79 ff ff ff e8 a6 9d 5e 00 66 0f 1f 44 00 00 90 90 90 90
[   29.648450] RSP: 0018:ffffcbc84091fc98 EFLAGS: 00010206
[   29.648455] RAX: 0000000000008000 RBX: 00000000ffa00000 RCX: ffffffffffffffff
[   29.648459] RDX: 00000000ffa07fff RSI: 0000000000008000 RDI: ffff8940da47b040
[   29.648462] RBP: 0000000000003000 R08: fffffffffffffff8 R09: 0000000000002000
[   29.648465] R10: 0000000000040000 R11: 206531323937746d R12: ffff894082976810
[   29.648467] R13: ffffcbc84091fc98 R14: ffffcbc84091fcb0 R15: 0000000000000000
[   29.648471] FS:  0000000000000000(0000) GS:ffff894ff58a4000(0000) knlGS:0000000000000000
[   29.648474] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   29.648478] CR2: 00007fbcc40e4010 CR3: 0000000e3202c000 CR4: 0000000000f50ef0
[   29.648481] PKRU: 55555554
[   29.648484] Call Trace:
[   29.648490]  <TASK>
[   29.648500]  iommu_dma_unmap_page+0x48/0x90
[   29.648509]  dma_unmap_page_attrs+0x23b/0x260
[   29.648518]  mt76_dma_queue_reset+0x304/0x4e0 [mt76]
[   29.648533]  ? mt76_dma_queue_reset+0x1a0/0x4e0 [mt76]
[   29.648541]  mt792x_wpdma_reset+0x85/0x2d0 [mt792x_lib]
[   29.648551]  mt7921_mac_init+0x248/0x400 [mt7921_common]
[   29.648558]  process_one_work+0x18a/0x340
[   29.648566]  worker_thread+0x256/0x3a0
[   29.648571]  ? __pfx_worker_thread+0x10/0x10
[   29.648576]  kthread+0xf9/0x240
[   29.648582]  ? __pfx_kthread+0x10/0x10
[   29.648587]  ? __pfx_kthread+0x10/0x10
[   29.648592]  ret_from_fork+0xf2/0x110
[   29.648600]  ? __pfx_kthread+0x10/0x10
[   29.648604]  ret_from_fork_asm+0x1a/0x30
[   29.648616]  </TASK>
[   29.648618] ---[ end trace 0000000000000000 ]---
[   32.847581] mt7921e 0000:04:00.0: Message 00000010 (seq 13) timeout
[   32.847600] mt7921e 0000:04:00.0: Failed to get patch semaphore
[   36.047344] mt7921e 0000:04:00.0: Message 00000010 (seq 14) timeout
[   36.047367] mt7921e 0000:04:00.0: Failed to get patch semaphore
[   39.247415] mt7921e 0000:04:00.0: Message 00000010 (seq 15) timeout
[   39.247433] mt7921e 0000:04:00.0: Failed to get patch semaphore
[   42.447428] mt7921e 0000:04:00.0: Message 00000010 (seq 1) timeout
[   42.447452] mt7921e 0000:04:00.0: Failed to get patch semaphore

sam



More information about the Linux-mediatek mailing list