mbox series

[0/2] wifi: ath11k: Add coredump support

Message ID 20230518101546.27998-1-quic_mpubbise@quicinc.com (mailing list archive)
Headers show
Series wifi: ath11k: Add coredump support | expand

Message

Manikanta Pubbisetty May 18, 2023, 10:15 a.m. UTC
Add support for devcoredump in the driver. This helps in capturing
the snapshot of DDR memory that firmware uses in the event of a
firmware assert which aids in firmware debug.

First patch in the series adds the coredump infrastructure to the
driver but no hardware support is included. Second one in the series
adds the support to capture MSA memory during firmware assert on
WCN6750.

Manikanta Pubbisetty (2):
  wifi: ath11k: Add coredump support
  wifi: ath11k: Add coredump support of MSA region for WCN6750

 drivers/net/wireless/ath/ath11k/Kconfig    |   1 +
 drivers/net/wireless/ath/ath11k/Makefile   |   1 +
 drivers/net/wireless/ath/ath11k/ahb.c      | 127 +++++++++++-
 drivers/net/wireless/ath/ath11k/ahb.h      |   8 +-
 drivers/net/wireless/ath/ath11k/core.c     |  18 +-
 drivers/net/wireless/ath/ath11k/core.h     |  19 +-
 drivers/net/wireless/ath/ath11k/coredump.c | 225 +++++++++++++++++++++
 drivers/net/wireless/ath/ath11k/coredump.h | 147 ++++++++++++++
 8 files changed, 541 insertions(+), 5 deletions(-)
 create mode 100644 drivers/net/wireless/ath/ath11k/coredump.c
 create mode 100644 drivers/net/wireless/ath/ath11k/coredump.h


base-commit: 610b78b97bad8f3e77c27a15e9a03cbbb4109697