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

Manish Pandey posted 2 patches 10 months, 1 week ago
There is a newer version of this series
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(+)
[PATCH V2 0/2] scsi: ufs: Implement Quirks for Samsung UFS Devices
Posted by Manish Pandey 10 months, 1 week ago
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(+)

-- 
2.17.1

Re: [PATCH V2 0/2] scsi: ufs: Implement Quirks for Samsung UFS Devices
Posted by Mukesh Kumar Savaliya 10 months ago

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(+)
>