]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
scsi: ufs: Introduce quirk to extend PA_HIBERN8TIME for UFS devices
authorManish Pandey <quic_mapa@quicinc.com>
Fri, 11 Apr 2025 12:16:30 +0000 (17:46 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 12 Apr 2025 02:13:00 +0000 (22:13 -0400)
commit569330a34a31a52c904239439984a59972c11d28
treeaa75f6376aba1b2fab74f8ac235624d5a7e11678
parentf8cba9a700cf38b181df7c1d809cd73c6e1b2df9
scsi: ufs: Introduce quirk to extend PA_HIBERN8TIME for UFS devices

Samsung UFS devices require additional time in hibern8 mode before
exiting, beyond the negotiated handshaking phase between the host and
device.  Introduce a quirk to increase the PA_HIBERN8TIME parameter by
100 µs, a value derived from experiments, to ensure a proper hibernation
process.

Signed-off-by: Manish Pandey <quic_mapa@quicinc.com>
Link: https://lore.kernel.org/r/20250411121630.21330-3-quic_mapa@quicinc.com
Reviewed-by: Bean Huo <beanhuo@micron.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufshcd.c
include/ufs/ufs_quirks.h