]> 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>
Thu, 29 May 2025 09:12:18 +0000 (11:12 +0200)
commitf013f6599be0eca2228c85ea1928dbbc6ec8a0ae
treebf717a2eaa93b42a4dc45db642ac96345cbcf2c4
parent3e6429e3707943078240a2c0c0b3ee99ea9b0d9c
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