[PATCH v2 0/2] wifi: ath11k: Add support for sram dump
Baochen Qiang
quic_bqiang at quicinc.com
Tue Aug 2 00:55:31 PDT 2022
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
--
2.25.1
More information about the ath11k
mailing list