]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Jun 2025 12:41:52 +0000 (14:41 +0200)
commit42d15918da2684cd47a5ab8a4cf26134d0b2becb
tree20e452b03474e3adcafe71fec169cc0fb0046c5a
parentfe8421e853ef289e1324fcda004751c89dd9c18a
scsi: ufs: Introduce quirk to extend PA_HIBERN8TIME for UFS devices

[ Upstream commit 569330a34a31a52c904239439984a59972c11d28 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/ufs/core/ufshcd.c
include/ufs/ufs_quirks.h