From: Martin K. Petersen Date: Wed, 22 Oct 2025 01:23:50 +0000 (-0400) Subject: Merge patch series "Remove UFS_DEVICE_QUIRK_DELAY_AFTER_LPM quirk" X-Git-Tag: v6.19-rc1~95^2~43 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1c6279dc2597118902f89ff251180294fa85f5bf;p=thirdparty%2Fkernel%2Flinux.git Merge patch series "Remove UFS_DEVICE_QUIRK_DELAY_AFTER_LPM quirk" Bao D. Nguyen 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 --- 1c6279dc2597118902f89ff251180294fa85f5bf