Skip to contentSkip to conversation

ufs: core: print more evt history

PATCH Applied [email protected] 4 participants 5 messages Oct 24, 2022 – Nov 8, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ufs: core: print more evt history

From: Peter Wang <[email protected]>

Some error event is missing in ufshcd_print_evt_hist. Add print for this error event.

---
 drivers/ufs/core/ufshcd.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/ufs/core/ufshcd.c +3 -0
index 7256e6c43ca6..ed354febed29 100644
@@ -486,6 +486,9 @@ static void ufshcd_print_evt_hist(struct ufs_hba *hba)
 	ufshcd_print_evt(hba, UFS_EVT_RESUME_ERR, "resume_fail");
 	ufshcd_print_evt(hba, UFS_EVT_SUSPEND_ERR,
 			 "suspend_fail");
+	ufshcd_print_evt(hba, UFS_EVT_WL_RES_ERR, "wlun resume_fail");
+	ufshcd_print_evt(hba, UFS_EVT_WL_SUSP_ERR,
+			 "wlun suspend_fail");
 	ufshcd_print_evt(hba, UFS_EVT_DEV_RESET, "dev_reset");
 	ufshcd_print_evt(hba, UFS_EVT_HOST_RESET, "host_reset");
 	ufshcd_print_evt(hba, UFS_EVT_ABORT, "task_abort");
Signature · 1 line
2.18.0
#3 lore raw
In reply to [email protected]
Quoted 3 lines

Some error event is missing in ufshcd_print_evt_hist. Add print for this error event.

Applied to 6.2/scsi-staging, thanks!

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering