Linux wireless drivers development
 help / color / mirror / Atom feed
From: Alexander Wilhelm <alexander.wilhelm@westermo.com>
To: Jeff Johnson <jjohnson@kernel.org>
Cc: ath12k@lists.infradead.org, linux-wireless@vger.kernel.org
Subject: ath12k: QCN9274 firmware WDOG bite after QMI set mode (-110) on boot
Date: Mon, 30 Nov 2026 10:34:15 +0100	[thread overview]
Message-ID: <aw1DF6j6OIK33g-I@fue-alewi-linux> (raw)

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: -110

With 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

                 reply	other threads:[~2026-11-30  9:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aw1DF6j6OIK33g-I@fue-alewi-linux \
    --to=alexander.wilhelm@westermo.com \
    --cc=ath12k@lists.infradead.org \
    --cc=jjohnson@kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox