mbox series

[V2,0/2] scsi: ufs: Implement Quirks for Samsung UFS Devices

Message ID 20250404174539.28707-1-quic_mapa@quicinc.com (mailing list archive)
Headers show
Series scsi: ufs: Implement Quirks for Samsung UFS Devices | expand

Message

MANISH PANDEY April 4, 2025, 5:45 p.m. UTC
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 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   | 31 ++++++++++++++++++++++++++
 drivers/ufs/host/ufs-qcom.c | 43 +++++++++++++++++++++++++++++++++++++
 drivers/ufs/host/ufs-qcom.h | 18 ++++++++++++++++
 include/ufs/ufs_quirks.h    |  6 ++++++
 4 files changed, 98 insertions(+)

Comments

Mukesh Kumar Savaliya April 6, 2025, 6:27 p.m. UTC | #1
On 4/4/2025 11:15 PM, Manish Pandey wrote:
> 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.
For what purpose, these quirks are required ? Is there any problem 
statement which you can mention first ?
> 
> 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 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   | 31 ++++++++++++++++++++++++++
>   drivers/ufs/host/ufs-qcom.c | 43 +++++++++++++++++++++++++++++++++++++
>   drivers/ufs/host/ufs-qcom.h | 18 ++++++++++++++++
>   include/ufs/ufs_quirks.h    |  6 ++++++
>   4 files changed, 98 insertions(+)
>