[Bug Report] mhi: ath11k: dma_alloc_coherent() failures during resume

From: Muhammad Usama Anjum
Date: Thu Jun 19 2025 - 06:28:31 EST


Hi,

When there is memory pressure during resume and no DMA memory is available,
the ath11k driver fails to resume. The driver currently frees its DMA memory
during suspend or hibernate, and attempts to re-allocate it during resume.
However, if the DMA memory has been consumed by other software in the
meantime, these allocations can fail, leading to critical failures in the WiFi
driver.

Although I have recently fixed several instances to ensure DMA memory is not
freed once allocated, we continue to receive reports of failures. I was
preparing to submit a patch for the another case, but this issue cannot be
fully resolved as long as even one DMA allocation remains in the resume path.

The following functions are allocating dma memory in resume path:

<function> <size> <index>
mhi_init_dev_ctxt dma_alloc_coherent(5632)
mhi_init_dev_ctxt dma_alloc_coherent(88)
mhi_alloc_aligned_ring dma_alloc_coherent(1023)
mhi_alloc_aligned_ring dma_alloc_coherent(8191)
mhi_init_dev_ctxt dma_alloc_coherent(44)
mhi_alloc_aligned_ring dma_alloc_coherent(4095)
mhi_alloc_aligned_ring dma_alloc_coherent(2047)
mhi_alloc_aligned_ring dma_alloc_coherent(2047)
ath11k_hal_alloc_cont_rdp dma_alloc_coherent(688)
[ath11k_hal_alloc_cont_wrp dma_alloc_coherent(180)
ath11k_dp_srng_setup dma_alloc_coherent(262143)
ath11k_dp_link_desc_bank_alloc dma_alloc_coherent(2097152) 0
ath11k_dp_link_desc_bank_alloc dma_alloc_coherent(2097152) 1
ath11k_dp_link_desc_bank_alloc dma_alloc_coherent(384) 2
ath11k_dp_srng_setup dma_alloc_coherent(2055)
ath11k_dp_srng_setup dma_alloc_coherent(1031)
ath11k_dp_srng_setup dma_alloc_coherent(1159)
ath11k_dp_srng_setup dma_alloc_coherent(16391)
ath11k_dp_srng_setup dma_alloc_coherent(1048583)
ath11k_dp_srng_setup dma_alloc_coherent(1031)
ath11k_dp_srng_setup dma_alloc_coherent(32775)
ath11k_dp_srng_setup dma_alloc_coherent(8199)
ath11k_dp_srng_setup dma_alloc_coherent(10247)
ath11k_dp_srng_setup dma_alloc_coherent(212999)
ath11k_dp_srng_setup dma_alloc_coherent(131079)
ath11k_dp_srng_setup dma_alloc_coherent(131079)
ath11k_dp_srng_setup dma_alloc_coherent(131079)
ath11k_dp_srng_setup dma_alloc_coherent(131079)
ath11k_dp_srng_setup dma_alloc_coherent(32775)
ath11k_dp_srng_setup dma_alloc_coherent(8199)
ath11k_dp_srng_setup dma_alloc_coherent(8199)
ath11k_dp_srng_setup dma_alloc_coherent(32775)
ath11k_dp_srng_setup dma_alloc_coherent(32775)
ath11k_dp_srng_setup dma_alloc_coherent(8199)
ath11k_dp_srng_setup dma_alloc_coherent(8199)

Let's discuss the general possible solution for this. I'm sure a lot
of other drivers would be facing the same kind of issues. What can be
general approach to solve this problem.

Regards,
Muhammad Usama Anjum[ 7061.395273] printk: Suspending console(s) (use no_console_suspend to debug)
[ 7061.983428] ACPI: EC: interrupt blocked
[ 7062.017351] ACPI: PM: Preparing to enter system sleep state S3
[ 7062.018231] ACPI: EC: event blocked
[ 7062.018233] ACPI: EC: EC stopped
[ 7062.018235] ACPI: PM: Saving platform NVS memory
[ 7062.018834] Disabling non-boot CPUs ...
[ 7062.021369] smpboot: CPU 7 is now offline
[ 7062.024029] smpboot: CPU 6 is now offline
[ 7062.026637] smpboot: CPU 5 is now offline
[ 7062.029065] smpboot: CPU 4 is now offline
[ 7062.031811] smpboot: CPU 3 is now offline
[ 7062.034399] smpboot: CPU 2 is now offline
[ 7062.037152] smpboot: CPU 1 is now offline
[ 7062.037968] Spectre V2 : Update user space SMT mitigation: STIBP off
[ 7062.038493] ACPI: PM: Low-level resume complete
[ 7062.038524] ACPI: EC: EC started
[ 7062.038526] ACPI: PM: Restoring platform NVS memory
[ 7062.038944] LVT offset 0 assigned for vector 0x400
[ 7062.039705] Enabling non-boot CPUs ...
[ 7062.039825] smpboot: Booting Node 0 Processor 1 APIC 0x1
[ 7062.044109] Spectre V2 : Update user space SMT mitigation: STIBP always-on
[ 7062.044154] CPU1 is up
[ 7062.044266] smpboot: Booting Node 0 Processor 2 APIC 0x2
[ 7062.048086] CPU2 is up
[ 7062.048198] smpboot: Booting Node 0 Processor 3 APIC 0x3
[ 7062.051861] CPU3 is up
[ 7062.051917] smpboot: Booting Node 0 Processor 4 APIC 0x4
[ 7062.055281] CPU4 is up
[ 7062.055367] smpboot: Booting Node 0 Processor 5 APIC 0x5
[ 7062.058885] CPU5 is up
[ 7062.058994] smpboot: Booting Node 0 Processor 6 APIC 0x6
[ 7062.062554] CPU6 is up
[ 7062.062658] smpboot: Booting Node 0 Processor 7 APIC 0x7
[ 7062.066237] CPU7 is up
[ 7062.068148] ACPI: PM: Waking up from system sleep state S3
[ 7062.069453] ACPI: EC: interrupt unblocked
[ 7071.858937] kworker/u32:12: page allocation failure: order:0, mode:0xc04(GFP_NOIO|GFP_DMA32), nodemask=(null),cpuset=/,mems_allowed=0
[ 7071.858954] CPU: 2 UID: 0 PID: 75507 Comm: kworker/u32:12 Tainted: G W OE 6.16.0-rc2-ath0-next #2 PREEMPT(full) 15288bb4c50382eab2376cc79103e253366647ed
[ 7071.858959] Tainted: [W]=WARN, [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
[ 7071.858960] Hardware name: Valve Galileo/Galileo, BIOS F7G0112 08/01/2024
[ 7071.858962] Workqueue: async async_run_entry_fn
[ 7071.858969] Call Trace:
[ 7071.858972] <TASK>
[ 7071.858975] dump_stack_lvl+0x53/0x70
[ 7071.858980] warn_alloc+0x162/0x1e0
[ 7071.858989] __alloc_pages_slowpath.constprop.0+0x2f6/0xdd0
[ 7071.858997] __alloc_frozen_pages_noprof+0x32d/0x350
[ 7071.859002] __alloc_pages_noprof+0xe/0x20
[ 7071.859004] __dma_direct_alloc_pages.constprop.0+0x21b/0x330
[ 7071.859010] dma_direct_alloc+0x70/0x270
[ 7071.859014] dma_alloc_attrs+0x5a/0x100
[ 7071.859020] mhi_alloc_aligned_ring+0x2a/0x60 [mhi 990d5502090247f0476537692f3f6c0d58967fee]
[ 7071.859030] mhi_prepare_for_power_up+0x1f0/0x600 [mhi 990d5502090247f0476537692f3f6c0d58967fee]
[ 7071.859041] ath11k_mhi_start+0x2e/0xa0 [ath11k_pci e9cb0e22eadc7d0aa917f0e9910315894b3f086f]
[ 7071.859046] ath11k_pci_power_up+0x9d/0x130 [ath11k_pci e9cb0e22eadc7d0aa917f0e9910315894b3f086f]
[ 7071.859051] ath11k_core_resume_early+0x58/0xa0 [ath11k 0fe7f196f5bda75db58ecc00dc4ac42defa9890c]
[ 7071.859072] ath11k_pci_pm_resume_early+0x1a/0x50 [ath11k_pci e9cb0e22eadc7d0aa917f0e9910315894b3f086f]
[ 7071.859076] ? srso_return_thunk+0x5/0x5f
[ 7071.859080] ? __pfx_pci_pm_resume_early+0x10/0x10
[ 7071.859084] dpm_run_callback+0x8b/0x1e0
[ 7071.859089] device_resume_early+0x88/0x2c0
[ 7071.859093] async_resume_early+0x1d/0x30
[ 7071.859096] async_run_entry_fn+0x34/0x160
[ 7071.859099] process_one_work+0x1a1/0x3e0
[ 7071.859104] worker_thread+0x2df/0x430
[ 7071.859109] ? __pfx_worker_thread+0x10/0x10
[ 7071.859111] kthread+0x100/0x280
[ 7071.859115] ? srso_return_thunk+0x5/0x5f
[ 7071.859117] ? finish_task_switch.isra.0+0x88/0x2d0
[ 7071.859121] ? __pfx_kthread+0x10/0x10
[ 7071.859123] ? __pfx_kthread+0x10/0x10
[ 7071.859126] ret_from_fork+0x14a/0x180
[ 7071.859130] ? __pfx_kthread+0x10/0x10
[ 7071.859133] ret_from_fork_asm+0x1a/0x30
[ 7071.859141] </TASK>
[ 7071.859142] Mem-Info:
[ 7071.859144] active_anon:14 inactive_anon:222100 isolated_anon:0
active_file:15723 inactive_file:806683 isolated_file:0
unevictable:448 dirty:138 writeback:0
slab_reclaimable:11649 slab_unreclaimable:22946
mapped:158601 shmem:20770 pagetables:3993
sec_pagetables:0 bounce:0
kernel_misc_reclaimable:0
free:2156475 free_pcp:62 free_cma:0
[ 7071.859149] Node 0 active_anon:56kB inactive_anon:888400kB active_file:62892kB inactive_file:3226732kB unevictable:1792kB isolated(anon):0kB isolated(file):0kB mapped:634404kB dirty:552kB writeback:0kB shmem:83080kB shmem_thp:0kB shmem_pmdmapped:0kB anon_thp:319488kB writeback_tmp:0kB kernel_stack:10032kB pagetables:15972kB sec_pagetables:0kB all_unreclaimable? no Balloon:0kB
[ 7071.859155] Node 0 DMA free:7360kB boost:0kB min:68kB low:84kB high:100kB reserved_highatomic:0KB free_highatomic:0KB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15992kB managed:15360kB mlocked:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[ 7071.859161] lowmem_reserve[]: 0 1823 14802 14802 14802
[ 7071.859167] Node 0 DMA32 free:8040kB boost:0kB min:8260kB low:10324kB high:12388kB reserved_highatomic:0KB free_highatomic:0KB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:1935736kB managed:1867440kB mlocked:0kB bounce:0kB free_pcp:248kB local_pcp:248kB free_cma:0kB
[ 7071.859172] lowmem_reserve[]: 0 0 12979 12979 12979
[ 7071.859178] Node 0 DMA: 0*4kB 0*8kB 0*16kB 0*32kB 1*64kB (U) 1*128kB (U) 0*256kB 0*512kB 1*1024kB (U) 1*2048kB (M) 1*4096kB (M) = 7360kB
[ 7071.859197] Node 0 DMA32: 4*4kB (UM) 1*8kB (M) 15*16kB (UM) 17*32kB (UM) 15*64kB (UM) 17*128kB (UM) 8*256kB (UM) 2*512kB (UM) 1*1024kB (M) 0*2048kB 0*4096kB = 8040kB
[ 7071.859219] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB
[ 7071.859221] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
[ 7071.859223] 843526 total pagecache pages
[ 7071.859224] 0 pages in swap cache
[ 7071.859225] Free swap = 9683448kB
[ 7071.859226] Total swap = 9683448kB
[ 7071.859228] 3892604 pages RAM
[ 7071.859229] 0 pages HighMem/MovableOnly
[ 7071.859230] 99272 pages reserved
[ 7071.859231] 0 pages cma reserved
[ 7071.859231] 0 pages hwpoisoned
[ 7071.859250] ath11k_pci 0000:03:00.0: failed to prepare mhi: -12
[ 7071.859253] ath11k_pci 0000:03:00.0: failed to start mhi: -12
[ 7071.859255] ath11k_pci 0000:03:00.0: failed to power up hif during resume: -12
[ 7071.859258] ath11k_pci 0000:03:00.0: failed to early resume core: -12
[ 7071.859259] ath11k_pci 0000:03:00.0: PM: dpm_run_callback(): pci_pm_resume_early returns -12
[ 7071.859267] ath11k_pci 0000:03:00.0: PM: failed to resume async early: error -12
[ 7071.859318] qcom_mhi_qrtr mhi0_IPCR: Current EE: DISABLE Required EE Mask: 0x4
[ 7071.859321] qcom_mhi_qrtr mhi0_IPCR: failed to prepare for autoqueue transfer -107
[ 7071.859323] qcom_mhi_qrtr mhi0_IPCR: PM: dpm_run_callback(): qcom_mhi_qrtr_pm_resume_early [qrtr_mhi] returns -107
[ 7071.859328] qcom_mhi_qrtr mhi0_IPCR: PM: failed to resume early: error -107
[ 7071.859727] ACPI: EC: event unblocked
[ 7071.860581] [drm] PCIE GART of 1024M enabled (table at 0x000000F43FC00000).
[ 7071.860618] amdgpu 0000:04:00.0: amdgpu: PSP is resuming...
[ 7071.871030] max98388 i2c-ADS8388:00: Reset completed (retry:0)
[ 7071.871246] max98388 i2c-ADS8388:01: Reset completed (retry:0)
[ 7071.883203] amdgpu 0000:04:00.0: amdgpu: reserve 0xa00000 from 0xf43e000000 for PSP TMR
[ 7071.926204] nvme nvme0: 8/0/0 default/read/poll queues
[ 7071.979059] amdgpu 0000:04:00.0: amdgpu: SMU is resuming...
[ 7071.979273] amdgpu 0000:04:00.0: amdgpu: dpm has been disabled
[ 7071.980105] amdgpu 0000:04:00.0: amdgpu: SMU is resumed successfully!
[ 7071.980389] [drm] kiq ring mec 2 pipe 1 q 0
[ 7071.984966] amdgpu 0000:04:00.0: amdgpu: [drm] DMUB hardware initialized: version=0x0300000A
[ 7072.101969] usb 1-3: reset full-speed USB device number 2 using xhci_hcd
[ 7072.408661] [drm] Failed to add display topology, DTM TA is not initialized.
[ 7072.425499] amdgpu 0000:04:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
[ 7072.425504] amdgpu 0000:04:00.0: amdgpu: ring gfx_0.1.0 uses VM inv eng 1 on hub 0
[ 7072.425506] amdgpu 0000:04:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 4 on hub 0
[ 7072.425508] amdgpu 0000:04:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 5 on hub 0
[ 7072.425510] amdgpu 0000:04:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 6 on hub 0
[ 7072.425512] amdgpu 0000:04:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 7 on hub 0
[ 7072.425514] amdgpu 0000:04:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 8 on hub 0
[ 7072.425516] amdgpu 0000:04:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 9 on hub 0
[ 7072.425518] amdgpu 0000:04:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 10 on hub 0
[ 7072.425520] amdgpu 0000:04:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 11 on hub 0
[ 7072.425522] amdgpu 0000:04:00.0: amdgpu: ring kiq_0.2.1.0 uses VM inv eng 12 on hub 0
[ 7072.425524] amdgpu 0000:04:00.0: amdgpu: ring sdma0 uses VM inv eng 13 on hub 0
[ 7072.425526] amdgpu 0000:04:00.0: amdgpu: ring vcn_dec_0 uses VM inv eng 0 on hub 8
[ 7072.425528] amdgpu 0000:04:00.0: amdgpu: ring vcn_enc_0.0 uses VM inv eng 1 on hub 8
[ 7072.425530] amdgpu 0000:04:00.0: amdgpu: ring vcn_enc_0.1 uses VM inv eng 4 on hub 8
[ 7072.425532] amdgpu 0000:04:00.0: amdgpu: ring jpeg_dec uses VM inv eng 5 on hub 8
[ 7092.867923] ath11k_pci 0000:03:00.0: timeout while waiting for restart complete
[ 7092.867934] ath11k_pci 0000:03:00.0: failed to resume core: -110
[ 7092.867940] ath11k_pci 0000:03:00.0: PM: dpm_run_callback(): pci_pm_resume returns -110
[ 7092.867962] ath11k_pci 0000:03:00.0: PM: failed to resume async: error -110
[ 7096.067814] ath11k_pci 0000:03:00.0: wmi command 16387 timeout
[ 7096.067829] ath11k_pci 0000:03:00.0: failed to send WMI_PDEV_SET_PARAM cmd
[ 7096.067840] ath11k_pci 0000:03:00.0: failed to enable dynamic bw: -11
[ 7096.067846] ------------[ cut here ]------------
[ 7096.067848] Hardware became unavailable upon resume. This could be a software issue prior to suspend or a hardware issue.
[ 7096.067924] WARNING: net/mac80211/util.c:1818 at ieee80211_reconfig+0x422/0x15c0 [mac80211], CPU#5: kworker/u32:17/75512
[ 7096.068045] Modules linked in: dma_alloc(OE) tls snd_seq_dummy snd_hrtimer rfcomm snd_seq snd_seq_device uinput michael_mic ccm algif_aead des3_ede_x86_64 cbc des_generic libdes nft_fib_inet nft_fib_ipv4 md4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat 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 uhid nf_tables cmac algif_hash ip6table_filter algif_skcipher ramoops ip6_tables qrtr_mhi af_alg iptable_filter bnep reed_solomon amdgpu joydev snd_acp_sof_mach snd_acp_mach snd_sof_probes snd_soc_dmic snd_sof_amd_acp63 snd_soc_acpi_amd_match snd_sof_amd_vangogh snd_sof_amd_acp snd_amd_sdw_acpi soundwire_amd soundwire_generic_allocation amdxcp snd_sof_pci i2c_algo_bit snd_sof_xtensa_dsp drm_ttm_helper snd_hda_codec_hdmi snd_sof ttm amd_atl intel_rapl_msr drm_exec snd_sof_utils snd_hda_intel mousedev intel_rapl_common gpu_sched snd_intel_dspcfg cdc_acm
[ 7096.068204] hid_steam drm_suballoc_helper snd_intel_sdw_acpi drm_panel_backlight_quirks soundwire_bus snd_hda_codec drm_buddy qrtr snd_soc_sdca drm_display_helper snd_hda_core snd_pci_acp5x ath11k_pci snd_acp_config cec snd_soc_acpi snd_hwdep ath11k kvm_amd cdc_mbim qmi_helpers ccp cdc_wdm hid_multitouch hci_uart mac80211 btqca snd_soc_max98388 kvm btrtl snd_soc_nau8821 libarc4 btintel hid_generic btbcm snd_soc_core irqbypass snd_compress cfg80211 bluetooth polyval_clmulni ac97_bus cdc_ncm snd_pcm_dmaengine ghash_clmulni_intel sp5100_tco atkbd cdc_ether sha512_ssse3 snd_pcm i2c_piix4 libps2 video usbnet sha1_ssse3 aesni_intel mii rapl vivaldi_fmap wdat_wdt pcspkr snd_timer tpm_crb mhi i2c_smbus wmi rfkill i2c_hid_acpi snd ltrf216a i2c_hid tpm_tis soundcore industrialio 8250_dw tpm_tis_core mac_hid pkcs8_key_parser hid_playstation led_class_multicolor hid_nintendo ff_memless i2c_dev crypto_user loop dm_mod nfnetlink zram tpm libaescfb ecdh_generic ip_tables x_tables overlay ext4 crc16 mbcache jbd2 crc32c_cryptoapi
[ 7096.068359] vfat fat usbhid xhci_plat_hcd btrfs blake2b_generic xor raid6_pq dwc3 sdhci_pci ulpi udc_core sdhci_uhs2 nvme serio_raw roles sdhci nvme_core cqhci nvme_keyring i8042 mmc_core dwc3_pci nvme_auth serio spi_amd
[ 7096.068390] Unloaded tainted modules: dma_alloc(OE):5 [last unloaded: dma_alloc(OE)]
[ 7096.068399] CPU: 5 UID: 0 PID: 75512 Comm: kworker/u32:17 Tainted: G W OE 6.16.0-rc2-ath0-next #2 PREEMPT(full) 15288bb4c50382eab2376cc79103e253366647ed
[ 7096.068405] Tainted: [W]=WARN, [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
[ 7096.068406] Hardware name: Valve Galileo/Galileo, BIOS F7G0112 08/01/2024
[ 7096.068410] Workqueue: async async_run_entry_fn
[ 7096.068418] RIP: 0010:ieee80211_reconfig+0x422/0x15c0 [mac80211]
[ 7096.068466] Code: c6 85 ad 05 00 00 00 4c 89 ef e8 49 73 fb ff 41 89 c0 85 c0 0f 84 87 fc ff ff 48 c7 c7 78 5d 51 c1 44 89 04 24 e8 9e 37 95 c3 <0f> 0b 44 8b 04 24 e9 32 fe ff ff c6 44 24 16 00 49 8b 9d 40 06 00
[ 7096.068467] RSP: 0018:ffffcf0115f5bca8 EFLAGS: 00010286
[ 7096.068470] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000027
[ 7096.068472] RDX: ffff8c476ef5c248 RSI: 0000000000000001 RDI: ffff8c476ef5c240
[ 7096.068474] RBP: ffff8c446e7c83c0 R08: 0000000000000000 R09: 0000000000000003
[ 7096.068475] R10: ffffcf0115f5ba70 R11: ffff8c477ef7ffe8 R12: 0000000000000001
[ 7096.068477] R13: ffff8c446e7c8900 R14: ffffffff8610c8d1 R15: ffff8c446e7c85b8
[ 7096.068478] FS: 0000000000000000(0000) GS:ffff8c47e80ff000(0000) knlGS:0000000000000000
[ 7096.068480] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 7096.068482] CR2: 0000000000000000 CR3: 00000001db820000 CR4: 0000000000350ef0
[ 7096.068484] Call Trace:
[ 7096.068488] <TASK>
[ 7096.068494] ? srso_return_thunk+0x5/0x5f
[ 7096.068501] ? queue_work_node+0xbb/0xe0
[ 7096.068506] ? srso_return_thunk+0x5/0x5f
[ 7096.068509] ? __async_schedule_node_domain+0xe1/0x170
[ 7096.068511] ? __pfx_async_resume+0x10/0x10
[ 7096.068517] ? srso_return_thunk+0x5/0x5f
[ 7096.068520] ? __wait_for_common+0x163/0x1a0
[ 7096.068523] ? __pfx_schedule_timeout+0x10/0x10
[ 7096.068529] wiphy_resume+0x85/0x1a0 [cfg80211 fe8d0d3d8432057336899a757764260b5e51a9aa]
[ 7096.068588] ? __pfx_wiphy_resume+0x10/0x10 [cfg80211 fe8d0d3d8432057336899a757764260b5e51a9aa]
[ 7096.068626] dpm_run_callback+0x8b/0x1e0
[ 7096.068631] device_resume+0x1b6/0x2a0
[ 7096.068635] async_resume+0x1d/0x30
[ 7096.068638] async_run_entry_fn+0x34/0x160
[ 7096.068642] process_one_work+0x1a1/0x3e0
[ 7096.068648] worker_thread+0x2df/0x430
[ 7096.068652] ? __pfx_worker_thread+0x10/0x10
[ 7096.068656] kthread+0x100/0x280
[ 7096.068660] ? __pfx_kthread+0x10/0x10
[ 7096.068663] ? __pfx_kthread+0x10/0x10
[ 7096.068666] ret_from_fork+0x14a/0x180
[ 7096.068671] ? __pfx_kthread+0x10/0x10
[ 7096.068674] ret_from_fork_asm+0x1a/0x30
[ 7096.068683] </TASK>
[ 7096.068685] ---[ end trace 0000000000000000 ]---
[ 7096.068775] ------------[ cut here ]------------
[ 7096.068777] WARNING: net/mac80211/driver-ops.c:41 at drv_stop+0xfd/0x110 [mac80211], CPU#5: kworker/u32:17/75512
[ 7096.068822] Modules linked in: dma_alloc(OE) tls snd_seq_dummy snd_hrtimer rfcomm snd_seq snd_seq_device uinput michael_mic ccm algif_aead des3_ede_x86_64 cbc des_generic libdes nft_fib_inet nft_fib_ipv4 md4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat 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 uhid nf_tables cmac algif_hash ip6table_filter algif_skcipher ramoops ip6_tables qrtr_mhi af_alg iptable_filter bnep reed_solomon amdgpu joydev snd_acp_sof_mach snd_acp_mach snd_sof_probes snd_soc_dmic snd_sof_amd_acp63 snd_soc_acpi_amd_match snd_sof_amd_vangogh snd_sof_amd_acp snd_amd_sdw_acpi soundwire_amd soundwire_generic_allocation amdxcp snd_sof_pci i2c_algo_bit snd_sof_xtensa_dsp drm_ttm_helper snd_hda_codec_hdmi snd_sof ttm amd_atl intel_rapl_msr drm_exec snd_sof_utils snd_hda_intel mousedev intel_rapl_common gpu_sched snd_intel_dspcfg cdc_acm
[ 7096.068894] hid_steam drm_suballoc_helper snd_intel_sdw_acpi drm_panel_backlight_quirks soundwire_bus snd_hda_codec drm_buddy qrtr snd_soc_sdca drm_display_helper snd_hda_core snd_pci_acp5x ath11k_pci snd_acp_config cec snd_soc_acpi snd_hwdep ath11k kvm_amd cdc_mbim qmi_helpers ccp cdc_wdm hid_multitouch hci_uart mac80211 btqca snd_soc_max98388 kvm btrtl snd_soc_nau8821 libarc4 btintel hid_generic btbcm snd_soc_core irqbypass snd_compress cfg80211 bluetooth polyval_clmulni ac97_bus cdc_ncm snd_pcm_dmaengine ghash_clmulni_intel sp5100_tco atkbd cdc_ether sha512_ssse3 snd_pcm i2c_piix4 libps2 video usbnet sha1_ssse3 aesni_intel mii rapl vivaldi_fmap wdat_wdt pcspkr snd_timer tpm_crb mhi i2c_smbus wmi rfkill i2c_hid_acpi snd ltrf216a i2c_hid tpm_tis soundcore industrialio 8250_dw tpm_tis_core mac_hid pkcs8_key_parser hid_playstation led_class_multicolor hid_nintendo ff_memless i2c_dev crypto_user loop dm_mod nfnetlink zram tpm libaescfb ecdh_generic ip_tables x_tables overlay ext4 crc16 mbcache jbd2 crc32c_cryptoapi
[ 7096.068979] vfat fat usbhid xhci_plat_hcd btrfs blake2b_generic xor raid6_pq dwc3 sdhci_pci ulpi udc_core sdhci_uhs2 nvme serio_raw roles sdhci nvme_core cqhci nvme_keyring i8042 mmc_core dwc3_pci nvme_auth serio spi_amd
[ 7096.069001] Unloaded tainted modules: dma_alloc(OE):5 [last unloaded: dma_alloc(OE)]
[ 7096.069006] CPU: 5 UID: 0 PID: 75512 Comm: kworker/u32:17 Tainted: G W OE 6.16.0-rc2-ath0-next #2 PREEMPT(full) 15288bb4c50382eab2376cc79103e253366647ed
[ 7096.069009] Tainted: [W]=WARN, [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
[ 7096.069011] Hardware name: Valve Galileo/Galileo, BIOS F7G0112 08/01/2024
[ 7096.069012] Workqueue: async async_run_entry_fn
[ 7096.069015] RIP: 0010:drv_stop+0xfd/0x110 [mac80211]
[ 7096.069056] Code: 48 85 c0 74 0e 48 8b 78 08 89 ea 48 89 de e8 6a 41 05 00 65 ff 0d 93 33 d5 c5 0f 85 38 ff ff ff e8 28 35 90 c3 e9 2e ff ff ff <0f> 0b 5b 5d e9 ea e3 76 c4 66 2e 0f 1f 84 00 00 00 00 00 90 90 90
[ 7096.069058] RSP: 0018:ffffcf0115f5bc78 EFLAGS: 00010246
[ 7096.069060] RAX: 0000000000000000 RBX: ffff8c446e7c8900 RCX: 0000000000000000
[ 7096.069061] RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff8c446e7c8900
[ 7096.069063] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
[ 7096.069064] R10: ffff8c4466c43930 R11: 0000000000000246 R12: ffff8c446e7c8900
[ 7096.069066] R13: ffffcf0115f5bcc0 R14: 0000000000000000 R15: ffffcf0115f5bcc0
[ 7096.069067] FS: 0000000000000000(0000) GS:ffff8c47e80ff000(0000) knlGS:0000000000000000
[ 7096.069069] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 7096.069071] CR2: 0000000000000000 CR3: 00000001db820000 CR4: 0000000000350ef0
[ 7096.069072] Call Trace:
[ 7096.069075] <TASK>
[ 7096.069076] ieee80211_do_stop+0x7bc/0x970 [mac80211 ac0977c3796aa14a236ddabe90cf208662333c90]
[ 7096.069124] ? srso_return_thunk+0x5/0x5f
[ 7096.069127] ? try_to_wake_up+0x2e7/0x630
[ 7096.069135] cfg80211_stop_p2p_device+0x56/0x150 [cfg80211 fe8d0d3d8432057336899a757764260b5e51a9aa]
[ 7096.069174] cfg80211_shutdown_all_interfaces+0xae/0xf0 [cfg80211 fe8d0d3d8432057336899a757764260b5e51a9aa]
[ 7096.069213] wiphy_resume+0xbe/0x1a0 [cfg80211 fe8d0d3d8432057336899a757764260b5e51a9aa]
[ 7096.069254] ? __pfx_wiphy_resume+0x10/0x10 [cfg80211 fe8d0d3d8432057336899a757764260b5e51a9aa]
[ 7096.069292] dpm_run_callback+0x8b/0x1e0
[ 7096.069296] device_resume+0x1b6/0x2a0
[ 7096.069300] async_resume+0x1d/0x30
[ 7096.069303] async_run_entry_fn+0x34/0x160
[ 7096.069306] process_one_work+0x1a1/0x3e0
[ 7096.069310] worker_thread+0x2df/0x430
[ 7096.069315] ? __pfx_worker_thread+0x10/0x10
[ 7096.069318] kthread+0x100/0x280
[ 7096.069321] ? __pfx_kthread+0x10/0x10
[ 7096.069324] ? __pfx_kthread+0x10/0x10
[ 7096.069327] ret_from_fork+0x14a/0x180
[ 7096.069330] ? __pfx_kthread+0x10/0x10
[ 7096.069332] ret_from_fork_asm+0x1a/0x30
[ 7096.069340] </TASK>
[ 7096.069341] ---[ end trace 0000000000000000 ]---
[ 7096.069348] ieee80211 phy0: PM: dpm_run_callback(): wiphy_resume [cfg80211] returns -11
[ 7096.069391] ieee80211 phy0: PM: failed to resume async: error -11
[ 7096.070374] OOM killer enabled.
[ 7096.070377] Restarting tasks: Starting
[ 7096.071337] Restarting tasks: Done
[ 7096.071388] random: crng reseeded on system resumption
[ 7096.083865] PM: suspend exit
[ 7099.267693] ath11k_pci 0000:03:00.0: wmi command 16387 timeout
[ 7099.267708] ath11k_pci 0000:03:00.0: failed to send WMI_PDEV_SET_PARAM cmd
[ 7099.267720] ath11k_pci 0000:03:00.0: failed to enable PMF QOS: (-11
[ 7255.971006] input: Steam Deck as /devices/pci0000:00/0000:00:08.1/0000:04:00.4/usb1/1-3/1-3:1.2/0003:28DE:1205.0003/input/input26
[ 7255.971238] input: Steam Deck Motion Sensors as /devices/pci0000:00/0000:00:08.1/0000:04:00.4/usb1/1-3/1-3:1.2/0003:28DE:1205.0003/input/input27
[ 7256.363647] [drm] Failed to add display topology, DTM TA is not initialized.
[ 7256.906952] [drm] Failed to add display topology, DTM TA is not initialized.
[ 7258.996968] [drm] Failed to add display topology, DTM TA is not initialized.
[ 7266.703017] input: Microsoft X-Box 360 pad 0 as /devices/virtual/input/input28