Message ID | 20221024120602.30019-1-peter.wang@mediatek.com |
---|---|
State | New |
Headers | show |
Series | [v1] ufs: core: print more evt history | expand |
> Some error event is missing in ufshcd_print_evt_hist. Add print for > this error event. Applied to 6.2/scsi-staging, thanks!
On Mon, 24 Oct 2022 20:06:02 +0800, peter.wang@mediatek.com wrote: > From: Peter Wang <peter.wang@mediatek.com> > > Some error event is missing in ufshcd_print_evt_hist. > Add print for this error event. > > Applied to 6.2/scsi-queue, thanks! [1/1] ufs: core: print more evt history https://git.kernel.org/mkp/scsi/c/a301d487d7bd
diff --git a/drivers/ufs/core/ufshcd.c b/drivers/ufs/core/ufshcd.c index 7256e6c43ca6..ed354febed29 100644 --- a/drivers/ufs/core/ufshcd.c +++ b/drivers/ufs/core/ufshcd.c @@ -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");