Skip to contentSkip to conversation

scsi: ufs: qcom: update MODE_MAX cfg_bw value

PATCH Applied Manish Pandey 2 participants 2 messages Sep 3, 2024 – Sep 13, 2024

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

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

Commit 8db8f6ce556a ("scsi: ufs: qcom: Add missing interconnect bandwidth values for Gear 5") updated the ufs_qcom_bw_table for Gear 5. However, it missed updating the cfg_bw value for the max mode.

Hence update the cfg_bw value for the max mode for UFS 4.x devices.

Fixes 8db8f6ce556a ("scsi: ufs: qcom: Add missing interconnect

bandwidth values for Gear 5")

---
Changes from v5:
- Updated commit message.
- Added Reviewed-by tag.

Changes from v4:
- Updated commit message.

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

Manish,

Quoted 3 lines

Commit 8db8f6ce556a ("scsi: ufs: qcom: Add missing interconnect bandwidth values for Gear 5") updated the ufs_qcom_bw_table for Gear
5. However, it missed updating the cfg_bw value for the max mode.

Applied to 6.12/scsi-staging, thanks!

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering