wifi: ath11k: Add crash logging
PATCH 1/1 wifi: ath11k: Add crash logging
Change crash logging from debug to informational and add warning when firmware crash MHI_CB_EE_RDDM happens.
Tested-on: Qualcomm WCN6855
--- drivers/net/wireless/ath/ath11k/mhi.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/net/wireless/ath/ath11k/mhi.c +3 -2
@@ -325,7 +325,7 @@ static void ath11k_mhi_op_status_cb(struct mhi_controller *mhi_cntrl, {struct ath11k_base *ab =dev_get_drvdata (mhi_cntrl->cntrl_dev); -ath11k_dbg (ab,ATH11K_DBG_BOOT ,"notify status reason %s\n" , +ath11k_info (ab,"notify status reason %s\n" ,ath11k_mhi_op_callback_to_str (cb));switch (cb) {
@@ -333,7 +333,8 @@ static void ath11k_mhi_op_status_cb(struct mhi_controller *mhi_cntrl,ath11k_warn (ab,"firmware crashed: MHI_CB_SYS_ERROR\n" );break ;case MHI_CB_EE_RDDM : -if (!(test_bit (ATH11K_FLAG_UNREGISTERING , &ab->dev_flags))) +ath11k_warn (ab,"firmware crashed: MHI_CB_EE_RDDM\n" ); +if (!(test_bit (ATH11K_FLAG_UNREGISTERING , &ab->dev_flags)))queue_work (ab->workqueue_aux, &ab->reset_work);break ;default :
Signature · 7 lines
2.41.0.255.g8b1d071c50-goog -- ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k
Quoted 2 lines · Arowa Suliman
Change crash logging from debug to informational and add warning when firmware crash
MHI_CB_EE_RDDMhappens.
Why? What's the reason why you want to change this? The commit log should always describe that.
Quoted 1 line
Tested-on: Qualcomm WCN6855
This is not correct format:
https://wireless.wiki.kernel.org/en/users/drivers/ath11k/submittingpatches#tested-on_tag
Quoted 2 lines
The robot only reported problems with your patch, it didn't report the original problem. So you should remove these two lines.
Quoted 1 line
Signed-off-by Arowa Suliman <[email protected]>
From and s-o-b have different email addresses.
Also this seems to a second version of your patch so you should have marked it as v2 and include a changelog what changed from v1.
Please read our documentation from the wiki link below how to submit patches.
Signature · 8 lines
https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches -- ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k