linux_dsm_epyc7002/drivers/net/wireless/ath/ath10k
Alan Liu 703f261dd7 ath10k: add memory dump support for QCA6174/QCA9377
Add memory dump to the firmware crash data file which is provided to user space
via devcoredump interface. This makes it easier for firmware engineers to debug
firmware crashes.

Due to increased memory consumption the memory dump is disabled by default. To
enable it make sure that bit 3 is set in coredump_mask module parameter:

modprobe ath10k_core coredump_mask=0xffffffff

When RAMDUMP is enabled a buffer for the dump is allocated with vmalloc during
device probe. The actual memory layout is different in hardware versions and
the layouts are defined in coredump.c. The memory is split to regions and, to
get even finegrained control of what to copy, the region can split to smaller
sections as not all registers are readable (which could cause the whole system
to stall).

Signed-off-by: Alan Liu <alanliu@qca.qualcomm.com>
[kvalo@qca.qualcomm.com: refactoring and cleanup]
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
2017-12-27 12:20:41 +02:00
..
ahb.c ath10k: explicitly request exclusive reset control 2017-08-03 14:37:49 +03:00
ahb.h ath10k: expose hif ops for ahb 2016-01-28 10:47:28 +02:00
bmi.c ath10k: sdio get target info 2017-05-04 15:55:41 +03:00
bmi.h ath10k: add BMI parameters to fix calibration from DT/pre-cal 2017-06-01 15:58:09 +03:00
ce.c ath10k: Add support for 64 bit ce descriptor 2017-12-27 12:06:48 +02:00
ce.h ath10k: Add support for 64 bit ce descriptor 2017-12-27 12:06:48 +02:00
core.c ath10k: add memory dump support for QCA6174/QCA9377 2017-12-27 12:20:41 +02:00
core.h ath10k: add memory dump support for QCA6174/QCA9377 2017-12-27 12:20:41 +02:00
coredump.c ath10k: add memory dump support for QCA6174/QCA9377 2017-12-27 12:20:41 +02:00
coredump.h ath10k: add memory dump support for QCA6174/QCA9377 2017-12-27 12:20:41 +02:00
debug.c ath10k: detach coredump.c from debug.c 2017-12-27 12:20:23 +02:00
debug.h ath10k: refactor firmware crashdump code to coredump.c 2017-12-27 12:20:15 +02:00
debugfs_sta.c ath10k: remove MAC80211_DEBUGFS dependency on ath10k_sta_statistics 2017-12-14 17:26:27 +02:00
hif.h ath10k: clean header files from bad block comments 2017-04-05 10:45:21 +03:00
htc.c ath10k: htc: ready_ext msg support 2017-05-04 15:55:45 +03:00
htc.h ath10k: htc: ready_ext msg support 2017-05-04 15:55:45 +03:00
htt_rx.c ath10k: Add paddrs_ring_64 support for 64bit target 2017-12-27 12:06:31 +02:00
htt_tx.c ath10k: Add support for htt_data_tx_desc_64 descriptor 2017-12-27 12:06:11 +02:00
htt.c ath10k: Add paddrs_ring_64 support for 64bit target 2017-12-27 12:06:31 +02:00
htt.h ath10k: Add paddrs_ring_64 support for 64bit target 2017-12-27 12:06:31 +02:00
hw.c ath10k: wmi: add hw params entry for wcn3990 2017-12-14 17:33:24 +02:00
hw.h ath10k: add memory dump support for QCA6174/QCA9377 2017-12-27 12:20:41 +02:00
Kconfig ath10k: move spectral scan support under a separate config symbol 2017-12-07 16:32:03 +02:00
mac.c ath10k: advertise TDLS wider bandwidth support for 5GHz 2017-12-27 12:18:31 +02:00
mac.h ath10k: remove ath10k_vif_to_arvif() 2017-02-14 19:38:15 +02:00
Makefile ath10k: detach coredump.c from debug.c 2017-12-27 12:20:23 +02:00
p2p.c ath10k: remove ath10k_vif_to_arvif() 2017-02-14 19:38:15 +02:00
p2p.h
pci.c ath10k: add memory dump support for QCA6174/QCA9377 2017-12-27 12:20:41 +02:00
pci.h ath: Convert timers to use timer_setup() 2017-10-27 16:54:19 +03:00
rx_desc.h ath10k: Update rx descriptor for WCN3990 target 2017-12-27 12:05:35 +02:00
sdio.c ath10k: sdio: remove unused struct member 2017-08-31 15:14:18 +03:00
sdio.h ath10k: sdio: remove unused struct member 2017-08-31 15:14:18 +03:00
spectral.c ath10k: spectral: remove redundant check in write_file_spectral_count() 2017-10-27 16:48:50 +03:00
spectral.h ath10k: move spectral scan support under a separate config symbol 2017-12-07 16:32:03 +02:00
swap.c ath10k: move firmware_swap_code_seg_info to ath10k_fw_file 2016-08-31 10:18:37 +03:00
swap.h ath10k: move firmware_swap_code_seg_info to ath10k_fw_file 2016-08-31 10:18:37 +03:00
targaddrs.h ath10k: various sdio related definitions 2017-05-04 15:55:31 +03:00
testmode_i.h ath10k: append the wmi_op_version to testmode get_version cmd 2017-05-04 15:59:48 +03:00
testmode.c ath10k: append the wmi_op_version to testmode get_version cmd 2017-05-04 15:59:48 +03:00
testmode.h
thermal.c ath10k: add const to thermal_cooling_device_ops structure 2017-06-28 19:53:40 +03:00
thermal.h ath10k: fix checkpatch warnings related to spaces 2016-04-14 17:30:51 +03:00
trace.c
trace.h ath10k: add hw_rev to trace events to support pktlog 2016-03-03 19:20:00 +02:00
txrx.c ath10k: fix block comments style 2017-04-05 10:41:03 +03:00
txrx.h ath10k: move mgmt descriptor limit handle under mgmt_tx 2016-03-18 09:52:27 +02:00
usb.c ath10k: add initial USB support 2017-08-03 14:31:01 +03:00
usb.h ath10k: add initial USB support 2017-08-03 14:31:01 +03:00
wmi-ops.h ath10k: wmi: add management tx by reference support over wmi 2017-12-14 17:33:12 +02:00
wmi-tlv.c ath10k: wmi: remove redundant integer fc 2017-12-27 12:03:00 +02:00
wmi-tlv.h ath10k: wmi: add management tx by reference support over wmi 2017-12-14 17:33:12 +02:00
wmi.c ath10k: handle tdls peer events 2017-12-02 16:15:49 +02:00
wmi.h ath10k: advertise TDLS wider bandwidth support for 5GHz 2017-12-27 12:18:31 +02:00
wow.c ath10k: configure and enable the wakeup capability 2017-08-31 21:17:04 +03:00
wow.h ath10k: configure and enable the wakeup capability 2017-08-31 21:17:04 +03:00