Re: [PATCH v7 4/8] scsi: ufs: Add some debug infos to ufshcd_print_host_state

From: Stanley Chu
Date: Wed Jul 29 2020 - 03:01:04 EST


On Tue, 2020-07-28 at 13:00 +0800, Can Guo wrote:
> The infos of the last interrupt status and its timestamp are very helpful
> when debug system stability issues, e.g. IRQ starvation, so add them to
> ufshcd_print_host_state. Meanwhile, UFS device infos like model name and
> its FW version also come in handy during debug. In addition, this change
> makes cleanup to some prints in ufshcd_print_host_regs as similar prints
> are already available in ufshcd_print_host_state.
>
> Signed-off-by: Can Guo <cang@xxxxxxxxxxxxxx>
> Reviewed-by: Avri Altman <avri.altman@xxxxxxx>

Reviewed-by: Stanley Chu <stanley.chu@xxxxxxxxxxxx>