mbox series

[0/3] ath11k: Add support for sram dump

Message ID 20210913180902.193874-1-jouni@codeaurora.org (mailing list archive)
Headers show
Series ath11k: Add support for sram dump | expand

Message

Jouni Malinen Sept. 13, 2021, 6:08 p.m. UTC
From: Baochen Qiang <bqiang@codeaurora.org>

On-board sram contains valuable infomation 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/ath11k/<pdev name>/sram > sram.dump

Baochen Qiang (3):
  ath11k: Split PCI write/read functions
  ath11k: Move pdev debugfs creation ahead
  ath11k: Implement sram dump interface

 drivers/net/wireless/ath/ath11k/core.c    | 31 +++++---
 drivers/net/wireless/ath/ath11k/debugfs.c | 85 +++++++++++++++++++--
 drivers/net/wireless/ath/ath11k/debugfs.h | 14 ++++
 drivers/net/wireless/ath/ath11k/hif.h     | 10 +++
 drivers/net/wireless/ath/ath11k/hw.c      | 10 +++
 drivers/net/wireless/ath/ath11k/hw.h      |  8 ++
 drivers/net/wireless/ath/ath11k/pci.c     | 91 ++++++++++++++++++-----
 7 files changed, 214 insertions(+), 35 deletions(-)