public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/2] Allow vendor drivers to update UIC command timeout
@ 2024-05-22  7:01 Bao D. Nguyen
  2024-05-22  7:01 ` [PATCH v1 1/2] scsi: ufs: core: Support Updating UIC Command Timeout Bao D. Nguyen
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Bao D. Nguyen @ 2024-05-22  7:01 UTC (permalink / raw)
  To: quic_cang, quic_nitirawa, bvanassche, avri.altman, beanhuo,
	adrian.hunter, martin.petersen
  Cc: linux-scsi, Bao D. Nguyen

The UIC command timeout default value remains as 500ms.

Allow vendor drivers to change the UIC command timeout as they wish.
During product development where a lot of debug logging/printing can
occur, the uart may print from different modules with interrupt disabled
for more than 500ms, causing interrupt starvation and UIC command timeout
as a result. The UIC command timeout may eventually cause a watchdog
timeout unnecessarily. With this change, the vendor drivers can set a
different UIC command timeout during their product development and
revert to the default 500ms when development completes as desired.

Bao D. Nguyen (2):
  scsi: ufs: core: Support Updating UIC Command Timeout
  scsi: ufs: qcom: Update the UIC Command Timeout

 drivers/ufs/core/ufshcd.c   | 9 ++++++---
 drivers/ufs/host/ufs-qcom.c | 3 +++
 include/ufs/ufshcd.h        | 2 ++
 3 files changed, 11 insertions(+), 3 deletions(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2024-05-23 14:28 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-22  7:01 [PATCH v1 0/2] Allow vendor drivers to update UIC command timeout Bao D. Nguyen
2024-05-22  7:01 ` [PATCH v1 1/2] scsi: ufs: core: Support Updating UIC Command Timeout Bao D. Nguyen
2024-05-22 18:16   ` Bart Van Assche
2024-05-22 20:51     ` Bao D. Nguyen
2024-05-23  4:38       ` Manivannan Sadhasivam
2024-05-23  5:40         ` Bao D. Nguyen
2024-05-22  7:01 ` [PATCH v1 2/2] scsi: ufs: qcom: Update the " Bao D. Nguyen
2024-05-22 18:18   ` Bart Van Assche
2024-05-22 20:56     ` Bao D. Nguyen
2024-05-22 21:01       ` Bart Van Assche
2024-05-23  3:18         ` Avri Altman
2024-05-23  5:42           ` Bao D. Nguyen
2024-05-23  5:34         ` Bao D. Nguyen
2024-05-23  8:17 ` [PATCH v1 0/2] Allow vendor drivers to update UIC command timeout Christoph Hellwig
2024-05-23 14:28   ` Bao D. Nguyen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox