Re: [PATCH v2] scsi: ufs: qcom: avoid re-init quirk when gears match

From: Martin K. Petersen
Date: Mon Jan 29 2024 - 21:29:39 EST


On Tue, 23 Jan 2024 14:28:57 -0500, Eric Chanudet wrote:

> On sa8775p-ride, probing the hba will go through the
> UFSHCD_QUIRK_REINIT_AFTER_MAX_GEAR_SWITCH path although the power info
> are same during the second init.
>
> The REINIT quirk only applies starting with controller v4. For these,
> ufs_qcom_get_hs_gear() reads the highest supported gear when setting the
> host_params. After the negotiation, if the host and device are on the
> same gear, it is the highest gear supported between the two. Skip REINIT
> to save some time.
>
> [...]

Applied to 6.9/scsi-queue, thanks!

[1/1] scsi: ufs: qcom: avoid re-init quirk when gears match
https://git.kernel.org/mkp/scsi/c/10a39667a117

--
Martin K. Petersen Oracle Linux Engineering