ath12k: QCN9274 firmware WDOG bite after QMI set mode (-110) on boot
Hello Jeff,
I see a sporadic firmware crash of a QCN9274 during boot. The firmware reports "firmware ready", the host sends the QMI wlan mode request (mode 0) and the firmware hits a watchdog bite about one second later. The request then times out, ath12k ignores the RDDM event because ATH12K_FLAG_QMI_FW_READY_COMPLETE is not yet set, and the card stays dead until the next reboot.
Setup:
* Host: NXP QorIQ T1023 (e5500, powerpc64, big endian), 1 GB RAM, no IOMMU, 1 MSI vector per device, PCIe Gen2 x1
* Kernel 6.12.112 with backports 6.18.55 (OpenWrt)
* QCN9274 hw2.0, board_id 0x1005, dual mac firmware
* FW WLAN.WBE.1.6-01243-QCAHKSWPL_SILICONZ-1 (fw_version 0x160484db, build 2025-12-09), image variant 9224.wlanfw.eval_v2_2macQ
* No CMA available, so the 28 MB HOST_DDR region is always allocated in 2 MB chunks ("will try later with small size"), also in good boots.
Reproduction: reboot loop, check after each boot.
* Two QCN9274 cards: 2 failures in 33 boots, always the first card.
* Second PCIe controller disabled, one card only: 1 failure in 13 boots and 1 failure in 28 boots.
* A colleague sees the same on another device, also always on the first card.
dmesg (debug_mask 0x60), one card only:
ath12k_pci 0001:01:00.0: qmi firmware ready
ath12k_pci 0001:01:00.0: mhi notify status reason MHI_CB_EE_RDDM
ath12k_pci 0001:01:00.0: ignore reset dev flags 0x12
ath12k_pci 0001:01:00.0: mhi notify status reason MHI_CB_EE_RDDM
ath12k_pci 0001:01:00.0: do not queue again for consecutive RDDM event
ath12k_pci 0001:01:00.0: qmi failed set mode request, mode: 0, err = -110
ath12k_pci 0001:01:00.0: qmi failed to send wlan fw mode:-110
ath12k_pci 0001:01:00.0: failed to send firmware start: -110
ath12k_pci 0001:01:00.0: failed to start firmware: -110With two cards the RDDM event came later, about 7 s after the timeout, but the QMI part was identical.
To get the RDDM dump I enabled ATH12K_COREDUMP and called ath12k_coredump_collect() in ath12k_core_reset() before the ATH12K_FLAG_QMI_FW_READY_COMPLETE check returns. The crash summary at the start of the RDDM segment says:
QC Image Version: QC_IMAGE_VERSION_STRING=WLAN.WBE.1.6-01243-QCAHKSWPL_SILICONZ-1 Image Variant : IMAGE_VARIANT_STRING=9224.wlanfw.eval_v2_2macQ Target crashed due to a WDOG BITE or WDOG/Q6 NMI. Error handler at target didn't run. WLAON_SOC_RESET_CAUSE_REG: 0x8
The full devcoredump (64 MB, 5.5 MB gzipped) is available, I can send it off-list or upload it wherever you prefer. Is this a known issue of WBE.1.6-01243, and is there a newer firmware with a fix? This may be related to bugzilla.kernel.org bug 221431 (same firmware, same "-110" on set mode, firmware crash before the timeout), although that one fails on every boot.
Best regards
Alexander Wilhelm