ath12k: WCN7850 dead after S3 resume, then oops in mhi_gen_tre on device removal

Honghui Zheng hzheng39 at jh.edu
Sun Nov 15 23:05:31 PST 2026


Hi,
On my desktop the WCN7850 sometimes does not come back from S3, and when that happens the kernel oopses a few seconds later while removing the device. The machine is then dead (no display, no input) and needs a hard power-off.
Hardware: MSI PRO X870E-P WIFI (MS-7E70), BIOS 2.A40, onboard WCN7850 hw2.0 [17cb:1107] behind an AMD 600-series chipset PCIe switch port [1022:43f5]
Kernel: 7.2.11 (Arch), mem_sleep = deep
Firmware: WLAN.HMT.1.1.c7-00108-QCAHMTSWPL_V1.0_V2.0_SILICONZ_UPSTREAM-3
To reproduce: connect to an AP, suspend, wake after 10–30 seconds. It fails within a few attempts. Sleeps of several minutes are usually fine, and I never hit it with Wi-Fi switched off.
On a bad resume the link does not come back:
pcieport 0000:0b:06.0: broken device, retraining non-functional downstream link at 2.5GT/s
pcieport 0000:0b:06.0: retraining failed
pcieport 0000:0b:06.0: Data Link Layer Link Active not set in 100 msec
qcom_mhi_qrtr mhi0_IPCR: failed to prepare for autoqueue transfer -22
mhi mhi0: Resuming from non M3 state (SYS ERROR)
ath12k_wifi7_pci 0000:0f:00.0: failed to set mhi state: RESUME(7)
ath12k_wifi7_pci 0000:0f:00.0: timed out while waiting for wow wakeup completion
ath12k_wifi7_pci 0000:0f:00.0: failed to wakeup from wow: -110
ACPI hotplug then removes the device and the remove path faults:
BUG: unable to handle page fault for address: ffffcd24c3b52034
Workqueue: kacpi_hotplug acpi_hotplug_work_fn
RIP: 0010:mhi_gen_tre+0x43/0x1e0 [mhi]
Call Trace:
 mhi_queue+0x7d/0x180 [mhi]
 mhi_queue_skb+0x62/0x80 [mhi]
 qcom_mhi_qrtr_send+0x68/0x120 [qrtr_mhi]
 qrtr_node_enqueue+0xcb/0x470 [qrtr]
 qrtr_sendmsg+0x18e/0x380 [qrtr]
 qmi_send_message.isra.0+0xee/0x140 [qmi_helpers]
 qmi_send_request+0x20/0x30 [qmi_helpers]
 ath12k_qmi_wlanfw_mode_send+0xac/0x170 [ath12k]
 ath12k_qmi_firmware_stop+0x1f/0x40 [ath12k]
 ath12k_core_stop+0xb8/0xe0 [ath12k]
 ath12k_core_hw_group_cleanup+0x6e/0xb0 [ath12k]
 ath12k_pci_remove+0x60/0x110 [ath12k]
 pci_device_remove+0x4a/0xb0
 device_release_driver_internal+0x19e/0x200
 pci_stop_bus_device+0x80/0xa0
 pci_stop_and_remove_bus_device+0x16/0x30
 trim_stale_devices+0x167/0x1b0
 acpiphp_check_bridge.part.0+0x166/0x1c0
 acpiphp_hotplug_notify+0x14a/0x2d0
 acpi_device_hotplug+0xa5/0x490
 acpi_hotplug_work_fn+0x1e/0x30
modprobe -r ath12k_wifi7 in the same state gives the same oops.
So there seem to be two problems: the card (or its link) not surviving a short S3 cycle on this board, and the remove path sending a QMI request over an MHI channel that is already gone. I can't tell whether the first is a driver or a platform issue, but the second should not take the system down either way.
Unloading ath12k_wifi7 before suspend and loading it again after resume avoids both; no failure in 13 cycles so far, including a 15 h sleep.
The kernel is tainted by the out-of-tree nvidia module. The trace above is from pstore. I have the full record and dmesg from good and bad resumes, and I'm happy to test patches or collect more logs.

Thanks,
Honghui Zheng


More information about the ath12k mailing list