]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Merge patch series "Remove UFS_DEVICE_QUIRK_DELAY_AFTER_LPM quirk"
authorMartin K. Petersen <martin.petersen@oracle.com>
Wed, 22 Oct 2025 01:23:50 +0000 (21:23 -0400)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 22 Oct 2025 01:23:50 +0000 (21:23 -0400)
commit1c6279dc2597118902f89ff251180294fa85f5bf
tree9b129b87012a7d60754dd2d8bbcc9d2493c9cd4e
parent8627f322cb7b6f1f9f7a78bd9c79b82534fbc9c9
parent4760b639b43c107c8bfccd658478bbb3152fa56f
Merge patch series "Remove UFS_DEVICE_QUIRK_DELAY_AFTER_LPM quirk"

Bao D. Nguyen <quic_nguyenb@quicinc.com> says:

Multiple ufs device manufacturers request support for the
UFS_DEVICE_QUIRK_DELAY_AFTER_LPM quirk in the Qualcomm's platform
driver.  After checking further with the major UFS manufacturers
engineering teams such as Samsung, Kioxia, SK Hynix and Micron, all
the manufacturers require this quirk. Since the quirk is needed by all
the ufs device manufacturers, remove the quirk in the ufs core driver
and implement a universal delay for all the ufs devices.

In addition to verifying with the public device's datasheets, the ufs
device manufacturer's engineering teams confirmed the required vcc
power-off time for the devices is a minimum of 1ms before vcc can be
powered on again. The existing 5ms delay implemented in the ufs core
driver seems too conservative, so replace the hard coded 5ms delay
with a variable default to 2ms setting to improve the system resume
latency.  The platform drivers can override this setting as needed.

Link: https://patch.msgid.link/cover.1760383740.git.quic_nguyenb@quicinc.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufshcd.c