wil6210: support for platform specific crash recovery
authorLior David <qca_liord@qca.qualcomm.com>
Wed, 16 Dec 2015 15:51:46 +0000 (17:51 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 7 Jan 2016 13:00:44 +0000 (15:00 +0200)
commitea3ade75db690dc47c78a77d71dfd7c2df3bb15d
tree444b4f1a46b2c501478e2de4abd5e83ea4b64224
parentdea16eddb4753129dbcd8dc8d1a58ff0cc4ea38c
wil6210: support for platform specific crash recovery

Added a simple interface for platform to perform crash
recovery.
When firmware crashes, wil driver can notify the platform
which can trigger a crash recovery process. During
the process the platform can request a ram dump
from the wil driver as well as control when firmware
recovery will start. This interface allows the platform
to implement a more advanced crash recovery, for
example to reset dependent subsystems in proper order, or
to provide its own notifications during the recovery process.

Signed-off-by: Lior David <qca_liord@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/wil6210/interrupt.c
drivers/net/wireless/ath/wil6210/pcie_bus.c
drivers/net/wireless/ath/wil6210/wil6210.h
drivers/net/wireless/ath/wil6210/wil_crash_dump.c
drivers/net/wireless/ath/wil6210/wil_platform.c
drivers/net/wireless/ath/wil6210/wil_platform.h