Skip to content

Commit ef62513

Browse files
author
Myron Stowe
committed
scsi: ufs: ufs-qcom: Update esi_vec_mask for HW major version >= 6
JIRA: https://issues.redhat.com/browse/RHEL-120705 Upstream Status: 7a9d519 commit 7a9d519 Author: Bao D. Nguyen <quic_nguyenb@quicinc.com> Date: Mon Jul 14 13:23:34 2025 +0530 scsi: ufs: ufs-qcom: Update esi_vec_mask for HW major version >= 6 The MCQ feature and ESI are supported by all Qualcomm UFS controller versions 6 and above. Therefore, update the ESI vector mask in the UFS_MEM_CFG3 register for platforms with major version number of 6 or higher. Reviewed-by: Manivannan Sadhasivam <mani@kernel.org> Signed-off-by: Bao D. Nguyen <quic_nguyenb@quicinc.com> Signed-off-by: Nitin Rawat <quic_nitirawa@quicinc.com> Link: https://lore.kernel.org/r/20250714075336.2133-2-quic_nitirawa@quicinc.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Myron Stowe <mstowe@redhat.com>
1 parent 8c020b6 commit ef62513

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/ufs/host/ufs-qcom.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1838,8 +1838,7 @@ static int ufs_qcom_config_esi(struct ufs_hba *hba)
18381838

18391839
retain_and_null_ptr(qi);
18401840

1841-
if (host->hw_ver.major == 6 && host->hw_ver.minor == 0 &&
1842-
host->hw_ver.step == 0) {
1841+
if (host->hw_ver.major >= 6) {
18431842
ufshcd_rmwl(hba, ESI_VEC_MASK, FIELD_PREP(ESI_VEC_MASK, MAX_ESI_VEC - 1),
18441843
REG_UFS_CFG3);
18451844
}

0 commit comments

Comments
 (0)