]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit59e101f4f02a24bb42873a2dd32cab26e5848966
tree444b4f1a46b2c501478e2de4abd5e83ea4b64224
parent26ec2a58fb386041ce5a1a776aef0fd8a232702c
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