Re: [PATCH v6] scsi: ufs: Change the error check sequence for auto hibern8

From: Martin K. Petersen (Oracle)

Date: Fri Oct 30 2026 - 21:41:46 EST


On Tue, 27 Oct 2026 20:03:57 +0900, HOYOUNG SEO wrote:

> Auto-hibern8 enter and exit are performed by the host controller without
> a UIC command, and the auto-hibern8 idle timer only runs while no UIC
> command is outstanding. An auto-hibern8 error (IS.UHES or IS.UHXS) is
> therefore usually reported while hba->active_uic_cmd is NULL.
>
> Since commit fcd8b0450a9a ("scsi: ufs: core: Make ufshcd_uic_cmd_compl()
> easier to analyze"), ufshcd_uic_cmd_compl() returns early when
> hba->active_uic_cmd is NULL, before ufshcd_is_auto_hibern8_error() is
> called. Such auto-hibern8 errors are no longer recorded in hba->errors,
> so ufshcd_check_errors() is not called for them and the error handler is
> not scheduled.
>
> [...]

Applied to 7.4/scsi-queue, thanks!

[1/1] scsi: ufs: Change the error check sequence for auto hibern8
https://git.kernel.org/mkp/scsi/c/6b2ff2b3eafa

--
Martin K. Petersen