mbox series

[v2,0/2] wifi: ath11k: Add support for sram dump

Message ID 20220802075533.1744-1-quic_bqiang@quicinc.com
Headers show
Series wifi: ath11k: Add support for sram dump | expand

Message

Baochen Qiang Aug. 2, 2022, 7:55 a.m. UTC
On-board sram contains valuable information for debug, this patch adds
a new interface named "sram" in debugfs with which we can dump sram
content using following cmd:

        cat /sys/kernel/debug/ath11k/<pdev name>/sram > sram.dump

v2:
 1: rebased on latest ath.git.
 2. drop the patch "ath11k: Move pdev debugfs creation ahead"
    per Kalle's comments.

Baochen Qiang (2):
  wifi: ath11k: Split PCI write/read functions
  wifi: ath11k: Implement sram dump interface

 drivers/net/wireless/ath/ath11k/core.c    |  7 ++
 drivers/net/wireless/ath/ath11k/debugfs.c | 62 ++++++++++++++++++
 drivers/net/wireless/ath/ath11k/hif.h     | 10 +++
 drivers/net/wireless/ath/ath11k/hw.c      | 10 +++
 drivers/net/wireless/ath/ath11k/hw.h      |  9 +++
 drivers/net/wireless/ath/ath11k/pci.c     |  1 +
 drivers/net/wireless/ath/ath11k/pcic.c    | 79 +++++++++++++++++------
 drivers/net/wireless/ath/ath11k/pcic.h    |  1 +
 8 files changed, 161 insertions(+), 18 deletions(-)


base-commit: b93992f874a92c264a0d0bda3bbf44b84eff4321