mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH ath-next v2 0/8] wifi: ath10k: fix recovery and WEDGED failure handling
@ 2026-10-21  9:09 Kang Yang
  2026-10-21  9:09 ` [PATCH ath-next v2 1/8] wifi: ath10k: fix SDIO aux workqueue starvation in recovery detection Kang Yang
                   ` (7 more replies)
  0 siblings, 8 replies; 14+ messages in thread
From: Kang Yang @ 2026-10-21  9:09 UTC (permalink / raw)
  To: Kang Yang, Jeff Johnson, Baochen Qiang, Loic Poulain
  Cc: Jeff Johnson, linux-wireless, ath10k, linux-kernel

Recovery failures can consume significant time before the
driver eventually gives up and enters ATH10K_STATE_WEDGED.

This series fixes several issues in the recovery and WEDGED
failure-handling paths, including recovery detection,
recovery time bounding, waiter release, and PCIe error
handling.

Several patches fix specific bugs and therefore carry Fixes
tags. The remaining patches address closely related issues in
the same recovery path because the fixes alone do not fully
resolve the reported failures.

Taken together, the series ensures that recovery either
succeeds or transitions to ATH10K_STATE_WEDGED within a
bounded amount of time, avoids unnecessary waits after
recovery has failed, and reduces the likelihood of watchdog
timeouts on affected platforms.

Google has reported this class of failures for an extended
period, with more than 4000 observed crashes over the last
month.

To: Kang Yang <kang.yang@oss.qualcomm.com>
To: Jeff Johnson <jjohnson@kernel.org>
To: Baochen Qiang <baochen.qiang@oss.qualcomm.com>
To: Loic Poulain <loic.poulain@oss.qualcomm.com>
Cc: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Cc: linux-wireless@vger.kernel.org
Cc: ath10k@lists.infradead.org
Cc: linux-kernel@vger.kernel.org

Signed-off-by: Kang Yang <kang.yang@oss.qualcomm.com>
---
v2:
- patch 3: also wake wow.wakeup_completed, peer_stats_info_complete and
  wmi.radar_confirm on WEDGED; reinit peer_delete_done before each
  peer delete command.
- patch 5: remove the early-return time_after() branch from the monitor;
  in ath10k_reconfig_complete(), cancel the monitor with
  cancel_delayed_work_sync() before clearing fail_cont_count and
  pending_recovery.
- add SDIO Test-on tag.

---
Kang Yang (8):
      wifi: ath10k: fix SDIO aux workqueue starvation in recovery detection
      wifi: ath10k: wake blocked waiters when entering WEDGED state
      wifi: ath10k: also wake remaining blocked waiters
      wifi: ath10k: bound recovery time before entering WEDGED
      wifi: ath10k: check the recovery deadline on its own timeline
      wifi: ath10k: hard-block the radio when entering WEDGED state
      wifi: ath10k: remove now-unused driver_recovery completion
      wifi: ath10k: trigger recovery on PCIe MMIO wake-up failures

 drivers/net/wireless/ath/ath10k/core.c | 129 +++++++++++++++++++++------------
 drivers/net/wireless/ath/ath10k/core.h |  13 +++-
 drivers/net/wireless/ath/ath10k/mac.c  |   9 ++-
 drivers/net/wireless/ath/ath10k/pci.c  |  27 +++++++
 drivers/net/wireless/ath/ath10k/snoc.c |   8 +-
 5 files changed, 130 insertions(+), 56 deletions(-)
---
base-commit: cd026e68fdbf88b9cc522b76c7a9d92c9a41f709
change-id: 20261020-10k-sdio-crash-a37ab499725f

Best regards,
--  
Kang Yang <kang.yang@oss.qualcomm.com>


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2026-10-22  2:06 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-21  9:09 [PATCH ath-next v2 0/8] wifi: ath10k: fix recovery and WEDGED failure handling Kang Yang
2026-10-21  9:09 ` [PATCH ath-next v2 1/8] wifi: ath10k: fix SDIO aux workqueue starvation in recovery detection Kang Yang
2026-10-21 13:33   ` Loic Poulain
2026-10-22  2:06     ` Kang Yang
2026-10-21  9:09 ` [PATCH ath-next v2 2/8] wifi: ath10k: wake blocked waiters when entering WEDGED state Kang Yang
2026-10-21  9:09 ` [PATCH ath-next v2 3/8] wifi: ath10k: also wake remaining blocked waiters Kang Yang
2026-10-21 13:43   ` Loic Poulain
2026-10-21  9:09 ` [PATCH ath-next v2 4/8] wifi: ath10k: bound recovery time before entering WEDGED Kang Yang
2026-10-21  9:09 ` [PATCH ath-next v2 5/8] wifi: ath10k: check the recovery deadline on its own timeline Kang Yang
2026-10-21  9:09 ` [PATCH ath-next v2 6/8] wifi: ath10k: hard-block the radio when entering WEDGED state Kang Yang
2026-10-21 13:54   ` Loic Poulain
2026-10-22  1:55     ` Kang Yang
2026-10-21  9:09 ` [PATCH ath-next v2 7/8] wifi: ath10k: remove now-unused driver_recovery completion Kang Yang
2026-10-21  9:09 ` [PATCH ath-next v2 8/8] wifi: ath10k: trigger recovery on PCIe MMIO wake-up failures Kang Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®