linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mpt3sas: Increase IOCInit request timeout to 30s
@ 2020-11-30  8:27 Sreekanth Reddy
  2020-12-01  6:06 ` Martin K. Petersen
  0 siblings, 1 reply; 2+ messages in thread
From: Sreekanth Reddy @ 2020-11-30  8:27 UTC (permalink / raw)
  To: martin.petersen
  Cc: linux-scsi, sathya.prakash, suganath-prabu.subramani, Sreekanth Reddy

[-- Attachment #1: Type: text/plain, Size: 927 bytes --]

Currently IOCInit request message timeout is set to 10s,
which may not be sufficient in some scenarios such as HBA
FW downgrade operation. So, increasing IOCInit request
timeout to 30s.

Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
---
 drivers/scsi/mpt3sas/mpt3sas_base.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.c b/drivers/scsi/mpt3sas/mpt3sas_base.c
index b129f37..0bc3796 100644
--- a/drivers/scsi/mpt3sas/mpt3sas_base.c
+++ b/drivers/scsi/mpt3sas/mpt3sas_base.c
@@ -6881,7 +6881,7 @@ _base_send_ioc_init(struct MPT3SAS_ADAPTER *ioc)
 
 	r = _base_handshake_req_reply_wait(ioc,
 	    sizeof(Mpi2IOCInitRequest_t), (u32 *)&mpi_request,
-	    sizeof(Mpi2IOCInitReply_t), (u16 *)&mpi_reply, 10);
+	    sizeof(Mpi2IOCInitReply_t), (u16 *)&mpi_reply, 30);
 
 	if (r != 0) {
 		ioc_err(ioc, "%s: handshake failed (r=%d)\n", __func__, r);
-- 
2.18.4


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4175 bytes --]

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

* Re: [PATCH] mpt3sas: Increase IOCInit request timeout to 30s
  2020-11-30  8:27 [PATCH] mpt3sas: Increase IOCInit request timeout to 30s Sreekanth Reddy
@ 2020-12-01  6:06 ` Martin K. Petersen
  0 siblings, 0 replies; 2+ messages in thread
From: Martin K. Petersen @ 2020-12-01  6:06 UTC (permalink / raw)
  To: Sreekanth Reddy
  Cc: Martin K . Petersen, linux-scsi, suganath-prabu.subramani,
	sathya.prakash

On Mon, 30 Nov 2020 13:57:33 +0530, Sreekanth Reddy wrote:

> Currently IOCInit request message timeout is set to 10s,
> which may not be sufficient in some scenarios such as HBA
> FW downgrade operation. So, increasing IOCInit request
> timeout to 30s.

Applied to 5.10/scsi-fixes, thanks!

[1/1] mpt3sas: Increase IOCInit request timeout to 30s
      https://git.kernel.org/mkp/scsi/c/85dad327d9b5

-- 
Martin K. Petersen	Oracle Linux Engineering

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

end of thread, other threads:[~2020-12-01  6:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-30  8:27 [PATCH] mpt3sas: Increase IOCInit request timeout to 30s Sreekanth Reddy
2020-12-01  6:06 ` Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).