wifi: ath11k: mhi: add a warning message for MHI_CB_EE_RDDM crash
authorArowa Suliman <arowa@chromium.org>
Sat, 26 Aug 2023 05:42:42 +0000 (08:42 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Tue, 5 Sep 2023 13:25:19 +0000 (16:25 +0300)
commit4a93b554cf9fa64faa7cf164c0d32fc3ce67108b
tree3074a30bf910208ebede6a74fd08e37ce771f608
parentb32add2d20ea6e62f30a3c0a7c2fb306ec5ceb3d
wifi: ath11k: mhi: add a warning message for MHI_CB_EE_RDDM crash

Currently, the ath11k driver does not print a crash signature when a
MHI_CB_EE_RDDM crash happens. Checked by triggering a simulated crash using the
command and checking dmesg for logs:

echo assert > /sys/kernel/debug/ath11k/../simulate_fw_crash

Add a warning when firmware crash MHI_CB_EE_RDDM happens.

Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.23

Signed-off-by: Arowa Suliman <arowa@chromium.org>
Reviewed-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230714001126.463127-1-arowa@chromium.org
drivers/net/wireless/ath/ath11k/mhi.c