wil6210: dump firmware memory when firmware crashes
authorVladimir Kondratiev <QCA_vkondrat@QCA.qualcomm.com>
Sun, 4 Oct 2015 07:23:26 +0000 (10:23 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 9 Oct 2015 08:39:19 +0000 (11:39 +0300)
commit7dc47258a00d026ba1268133687b3b1940e36e58
tree8eb7b55243f3e9cae86a21de0f132c472053ec0c
parenta3dcbae2476f2c32e8f123dd833d789f7f494711
wil6210: dump firmware memory when firmware crashes

When firmware crashes, just before firmware recovery,
dump the firmware memory to a devcoredump device.
The resulting dump can be read from user space to be used
in offline crash analysis.

Signed-off-by: Lior David <liord@codeaurora.org>
Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/wil6210/Kconfig
drivers/net/wireless/ath/wil6210/Makefile
drivers/net/wireless/ath/wil6210/interrupt.c
drivers/net/wireless/ath/wil6210/wil6210.h
drivers/net/wireless/ath/wil6210/wil_crash_dump.c [new file with mode: 0644]