Skip to contentSkip to conversation

scsi: ufs: qcom: update MODE_MAX cfg_bw value

PATCH Superseded Manish Pandey 2 participants 2 messages Aug 29, 2024 – Aug 30, 2024

Subsystems (4)

v4 of 6 Superseded Latest is v6 →

lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 scsi: ufs: qcom: update MODE_MAX cfg_bw value

The cfg_bw value for max mode is incorrect for the Qualcomm SoC. Update it to the correct value for cfg_bw max mode.

Fixes 03ce80a1bb86 ("scsi: ufs: qcom: Add support for scaling interconnects")

---
Changes from v3:
- Cced [email protected].

Changes from v2:
- Addressed Mani comment, added fixes tag.

Changes from v1:
- Updated commit message.

---
 drivers/ufs/host/ufs-qcom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/ufs/host/ufs-qcom.c +1 -1
index c87fdc849c62..ecdfff2456e3 100644
@@ -93,7 +93,7 @@ static const struct __ufs_qcom_bw_table {
 	[MODE_HS_RB][UFS_HS_G3][UFS_LANE_2] = { 1492582,	204800 },
 	[MODE_HS_RB][UFS_HS_G4][UFS_LANE_2] = { 2915200,	409600 },
 	[MODE_HS_RB][UFS_HS_G5][UFS_LANE_2] = { 5836800,	819200 },
-	[MODE_MAX][0][0]		    = { 7643136,	307200 },
+	[MODE_MAX][0][0]		    = { 7643136,	819200 },
 };
 
 static void ufs_qcom_get_default_testbus_cfg(struct ufs_qcom_host *host);
Signature · 1 line
2.17.1
#1 lore raw
Quoted 6 lines · Manish Pandey

The cfg_bw value for max mode is incorrect for the Qualcomm SoC. Update it to the correct value for cfg_bw max mode.

Fixes 03ce80a1bb86 ("scsi: ufs: qcom: Add support for scaling interconnects")
Quoted 6 lines

---
Changes from v3:
- Cced [email protected].

Changes from v2:
- Addressed Mani comment, added fixes tag.

Mani also asked you to provide details, why the value is considered to be incorrect. You have responded in the email, but instead those details should have gone to the commit message. Please fix it accordingly.

Quoted 23 lines

Changes from v1:
- Updated commit message.

---
 drivers/ufs/host/ufs-qcom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/ufs/host/ufs-qcom.c +1 -1
index c87fdc849c62..ecdfff2456e3 100644
@@ -93,7 +93,7 @@ static const struct __ufs_qcom_bw_table {
 	[MODE_HS_RB][UFS_HS_G3][UFS_LANE_2] = { 1492582,	204800 },
 	[MODE_HS_RB][UFS_HS_G4][UFS_LANE_2] = { 2915200,	409600 },
 	[MODE_HS_RB][UFS_HS_G5][UFS_LANE_2] = { 5836800,	819200 },
-	[MODE_MAX][0][0]		    = { 7643136,	307200 },
+	[MODE_MAX][0][0]		    = { 7643136,	819200 },
 };
 
 static void ufs_qcom_get_default_testbus_cfg(struct ufs_qcom_host *host);
Signature · 1 line
2.17.1
Signature · 2 lines
With best wishes
Dmitry