Re: [PATCH v6 1/3] scsi: ufs: core: Clear saved errors in ufshcd_link_recovery()

From: Bart Van Assche

Date: Thu Nov 05 2026 - 23:47:44 EST


On 11/5/26 6:15 PM, HOYOUNG SEO wrote:
ufshcd_link_recovery() resets both the device and the host and then
re-establishes the link. Unlike ufshcd_reset_and_restore(), however, it
does not clear hba->saved_err, hba->saved_uic_err and hba->force_reset,
so the errors latched before the recovery remain pending after the link
has already been recovered.

Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>