[PATCH v2 0/6] ath10k: firmware ramdump support

Kalle Valo kvalo at qca.qualcomm.com
Fri Dec 22 05:38:12 PST 2017


Hi,

here are patches adding firmware ramdump support to make it easier to
debug firmware crashes. This also removes the depracated fw_crash_dump
debugfs file.

Kalle

v2:

o patch 2: fix conflict in due to commit dafa42036012 ("ath10k: use 64-bit crash dump timestamps")

o patch 2: fix build errors when CONFIG_DEV_COREDUMP is disabled:

drivers/net/wireless/ath/ath10k/coredump.c:24:30: error: redefinition of 'ath10k_coredump_new'
drivers/net/wireless/ath/ath10k/coredump.c:130:5: error: redefinition of 'ath10k_coredump_submit'

o patch 5: fix coccinelli warning:

drivers/net/wireless/ath/ath10k/pci.c:1561:2-3: Unneeded semicolon

o patch 5: fix coccinelli warning:
  
drivers/net/wireless/ath/ath10k/pci.c:1522:6-15: WARNING: Unsigned expression compared with zero: skip_size < 0

  by changing the check to:

  if (cur_section->end > next_section->start) {

o patch 5: fix error handling when calling ath10k_pci_set_ram_config()

---

Alan Liu (1):
      ath10k: add memory dump support for QCA6174/QCA9377

Kalle Valo (5):
      ath10k: remove deprecated fw_crash_dump debugfs file
      ath10k: refactor firmware crashdump code to coredump.c
      ath10k: detach coredump.c from debug.c
      ath10k: add coredump_mask module parameter
      ath10k: add memory dump support QCA988X


 drivers/net/wireless/ath/ath10k/Makefile   |    1 
 drivers/net/wireless/ath/ath10k/core.c     |   31 +
 drivers/net/wireless/ath/ath10k/core.h     |   18 -
 drivers/net/wireless/ath/ath10k/coredump.c |  993 ++++++++++++++++++++++++++++
 drivers/net/wireless/ath/ath10k/coredump.h |  225 ++++++
 drivers/net/wireless/ath/ath10k/debug.c    |  275 --------
 drivers/net/wireless/ath/ath10k/debug.h    |   16 
 drivers/net/wireless/ath/ath10k/hw.h       |    1 
 drivers/net/wireless/ath/ath10k/pci.c      |  221 ++++++
 9 files changed, 1482 insertions(+), 299 deletions(-)
 create mode 100644 drivers/net/wireless/ath/ath10k/coredump.c
 create mode 100644 drivers/net/wireless/ath/ath10k/coredump.h




More information about the ath10k mailing list