Addendum: this is the output of dmesg related to mt7921e that shows up when this happens:
[Th May 9 18:36:50 2024] [01;31m[Kmt7921e[m[K 0000:01:00.0: firmware: direct-loading firmware mediatek/WIFI_RAM_CODE_MT7922_1.bin [Th May 9 18:36:50 2024] [01;31m[Kmt7921e[m[K 0000:01:00.0: ASIC revision: 79220010 [Th May 9 18:36:50 2024] [01;31m[Kmt7921e[m[K 0000:01:00.0: firmware: direct-loading firmware mediatek/WIFI_MT7922_patch_mcu_1_1_hdr.bin [Th May 9 18:36:50 2024] [01;31m[Kmt7921e[m[K 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20230530123154a [Th May 9 18:36:50 2024] [01;31m[Kmt7921e[m[K 0000:01:00.0: firmware: direct-loading firmware mediatek/WIFI_RAM_CODE_MT7922_1.bin [Th May 9 18:36:50 2024] [01;31m[Kmt7921e[m[K 0000:01:00.0: WM Firmware Version: ____000000, Build Time: 20230530123236 [Th May 9 18:36:50 2024] [01;31m[Kmt7921e[m[K 0000:01:00.0: firmware: direct-loading firmware mediatek/WIFI_RAM_CODE_MT7922_1.bin [Th May 9 18:36:51 2024] [01;31m[Kmt7921e[m[K 0000:01:00.0 wlp1s0: renamed from wlan0 [Fr May 10 09:53:01 2024] [01;31m[Kmt7921e[m[K 0000:01:00.0: Message 00020007 (seq 8) timeout [Fr May 10 09:53:01 2024] [01;31m[Kmt7921e[m[K 0000:01:00.0: PM: dpm_run_callback(): pci_pm_restore+0x0/0xe0 returns -110 [Fr May 10 09:53:01 2024] [01;31m[Kmt7921e[m[K 0000:01:00.0: PM: failed to restore async: error -110 [Fr May 10 09:53:01 2024] [01;31m[Kmt7921e[m[K 0000:01:00.0: Failed to get patch semaphore [Fr May 10 09:53:01 2024] [01;31m[Kmt7921e[m[K 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d address=0xffcec680 flags=0x0000] [Fr May 10 09:53:04 2024] [01;31m[Kmt7921e[m[K 0000:01:00.0: Message 00000010 (seq 6) timeout [Fr May 10 09:53:04 2024] [01;31m[Kmt7921e[m[K 0000:01:00.0: Failed to get patch semaphore [Fr May 10 09:53:07 2024] [01;31m[Kmt7921e[m[K 0000:01:00.0: Message 00000010 (seq 7) timeout [Fr May 10 09:53:07 2024] [01;31m[Kmt7921e[m[K 0000:01:00.0: Failed to get patch semaphore [Fr May 10 09:53:10 2024] [01;31m[Kmt7921e[m[K 0000:01:00.0: Message 000046ed (seq 8) timeout [Fr May 10 09:53:10 2024] Modules linked in: snd_usb_audio snd_usbmidi_lib snd_rawmidi tls uinput ctr ccm rfcomm cmac algif_hash algif_skcipher af_alg snd_seq_dummy snd_hrtimer snd_seq snd_seq_device nf_tables typec_displayport qrtr bnep zstd zram tun binfmt_misc nls_ascii nls_cp437 vfat fat btusb btrtl btintel btbcm btmtk intel_rapl_msr intel_rapl_common bluetooth evdev joydev snd_sof_amd_rembrandt snd_sof_amd_acp snd_sof_pci snd_sof_xtensa_dsp snd_hda_codec_realtek snd_sof sha3_generic snd_hda_codec_generic jitterentropy_rng [01;31m[Kmt7921e[m[K snd_sof_utils mt7921_common ledtrig_audio uvcvideo edac_mce_amd mt792x_lib snd_hda_codec_hdmi snd_soc_core drbg mt76_connac_lib videobuf2_vmalloc uvc kvm_amd videobuf2_memops ansi_cprng snd_compress snd_hda_intel videobuf2_v4l2 mt76 snd_pcm_dmaengine hid_sensor_als videodev snd_intel_dspcfg hid_sensor_trigger ecdh_generic snd_intel_sdw_acpi ecc hid_sensor_iio_common snd_pci_ps kvm mac80211 snd_hda_codec crc16 videobuf2_common industrialio_triggered_buffer kfifo_buf snd_rpl_pci_acp6x irqbypass [Fr May 10 09:53:10 2024] [01;31m[Kmt7921e[m[K 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d address=0xff772a80 flags=0x0000] [Fr May 10 09:53:10 2024] Modules linked in: snd_usb_audio snd_usbmidi_lib snd_rawmidi tls uinput ctr ccm rfcomm cmac algif_hash algif_skcipher af_alg snd_seq_dummy snd_hrtimer snd_seq snd_seq_device nf_tables typec_displayport qrtr bnep zstd zram tun binfmt_misc nls_ascii nls_cp437 vfat fat btusb btrtl btintel btbcm btmtk intel_rapl_msr intel_rapl_common bluetooth evdev joydev snd_sof_amd_rembrandt snd_sof_amd_acp snd_sof_pci snd_sof_xtensa_dsp snd_hda_codec_realtek snd_sof sha3_generic snd_hda_codec_generic jitterentropy_rng [01;31m[Kmt7921e[m[K snd_sof_utils mt7921_common ledtrig_audio uvcvideo edac_mce_amd mt792x_lib snd_hda_codec_hdmi snd_soc_core drbg mt76_connac_lib videobuf2_vmalloc uvc kvm_amd videobuf2_memops ansi_cprng snd_compress snd_hda_intel videobuf2_v4l2 mt76 snd_pcm_dmaengine hid_sensor_als videodev snd_intel_dspcfg hid_sensor_trigger ecdh_generic snd_intel_sdw_acpi ecc hid_sensor_iio_common snd_pci_ps kvm mac80211 snd_hda_codec crc16 videobuf2_common industrialio_triggered_buffer kfifo_buf snd_rpl_pci_acp6x irqbypass [Fr May 10 09:53:14 2024] [01;31m[Kmt7921e[m[K 0000:01:00.0: Message 00000010 (seq 9) timeout [Fr May 10 09:53:14 2024] [01;31m[Kmt7921e[m[K 0000:01:00.0: Failed to get patch semaphore [Fr May 10 09:53:14 2024] [01;31m[Kmt7921e[m[K 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d address=0xffd79900 flags=0x0000] [Fr May 10 09:53:14 2024] [01;31m[Kmt7921e[m[K 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d address=0xffd79900 flags=0x0000] [Fr May 10 09:53:14 2024] [01;31m[Kmt7921e[m[K 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d address=0xffd79900 flags=0x0000] [Fr May 10 09:53:17 2024] [01;31m[Kmt7921e[m[K 0000:01:00.0: Message 00000010 (seq 10) timeout [Fr May 10 09:53:17 2024] [01;31m[Kmt7921e[m[K 0000:01:00.0: Failed to get patch semaphore [Fr May 10 09:53:20 2024] [01;31m[Kmt7921e[m[K 0000:01:00.0: Message 000046ed (seq 11) timeout [Fr May 10 09:53:20 2024] [01;31m[Kmt7921e[m[K 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d address=0xff546c80 flags=0x0000] [Fr May 10 09:53:20 2024] [01;31m[Kmt7921e[m[K 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20230530123154a [Fr May 10 09:53:20 2024] [01;31m[Kmt7921e[m[K 0000:01:00.0: WM Firmware Version: ____000000, Build Time: 20230530123236