[PATCH v2] ufs: core: support updating device command timeout

Bart Van Assche bvanassche at acm.org
Mon May 12 15:21:49 PDT 2025


On 5/10/25 1:01 AM, peter.wang at mediatek.com wrote:
> The default device command timeout remains 1.5 seconds,
> but platform drivers can override it if needed.
> 
> Some UFS device commands may timeout due to being blocked
> by regular SCSI write commands. Therefore, the maximun timeout
> needs to be extended to 30 seconds, matching the SCSI write
> command timeout. And for error injection purposes, set the
> minimum value to 1 ms.

Reviewed-by: Bart Van Assche <bvanassche at acm.org>



More information about the Linux-mediatek mailing list