Skip to content

scsi: ufs: Implement Quirks for Samsung UFS Devices

Manish Pandey linux-arm-msm linux-scsi lkml 3 versions – Applied

Status from this message: Applied to 6.15/scsi-fixes, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 5 repliesApplied
  2. v22 patches 8 repliesSuperseded
  3. v11 patch 3 repliesSuperseded

Changes in v3 from the cover letter

- Addressed Mani's comment and updated commit message.
- used BIT macro in ufs-qcom.h to define quirks.

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2ufs: qcom: Add quirks for Samsung UFS devicesdrivers/ufs/host/ufs-qcom.c drivers/ufs/host/ufs-qcom.h+61 -01 reply
2/2scsi: ufs: introduce quirk to extend PA_HIBERN8TIME for UFS devicesdrivers/ufs/core/ufshcd.c include/ufs/ufs_quirks.h+35 -01 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchBean HuoManivannan Sadhasivam
SeriesR-b
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH V3 0/2] scsi: ufs: Implement Quirks for Samsung UFS Devices

Introduce quirks for Samsung UFS devices to modify the PA TX HSG1 sync length and TX_HS_EQUALIZER settings on the Qualcomm UFS Host controller.

Additionally, Samsung UFS devices require extra time in hibern8 mode before exiting, beyond the standard handshaking phase between the host and device. Introduce a quirk to increase the PA_HIBERN8TIME parameter by 100 µs to ensure a proper hibernation process.
---
Changes in V3
- Addressed Mani's comment and updated commit message.
- used BIT macro in ufs-qcom.h to define quirks.
Changes in V2
- Split patches to add PA_HIBERN8TIME quirk in ufshcd.c

---
Manish Pandey (2):
ufs: qcom: Add quirks for Samsung UFS devices
scsi: ufs: introduce quirk to extend PA_HIBERN8TIME for UFS devices

 drivers/ufs/core/ufshcd.c   | 29 +++++++++++++++++++++++++
 drivers/ufs/host/ufs-qcom.c | 43 +++++++++++++++++++++++++++++++++++++
 drivers/ufs/host/ufs-qcom.h | 18 ++++++++++++++++
 include/ufs/ufs_quirks.h    |  6 ++++++
 4 files changed, 96 insertions(+)
Signature · 1 line
2.17.1