Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9042315pxu; Mon, 28 Dec 2020 05:13:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJwGcUlUfGVPOTbhAozcErFEhnsWheKn3odRbymswf53xHNpihMEfvh8aRgtml6jVePoZ5IE X-Received: by 2002:a17:906:55d0:: with SMTP id z16mr41057007ejp.466.1609161199598; Mon, 28 Dec 2020 05:13:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609161199; cv=none; d=google.com; s=arc-20160816; b=s4jnf3+gv18C6fLRHeFGIpka74K7OXnBNC4p5Mp101QDNZGQ0VemcuroolF5TdcLP5 +sGE/WTvw7yW9q+NPiXNicQ+PWUB4PC1M9lAMTlUwEY6a9uKNxjPQj+KttDA9DA54qZy EC7U6OAhxLWleietbpbuJy6SiT8jwbtek8rQzjgifiCMjT3FGRYjXCqHmbM7w0ApPAcs N/0ey7xSX8d9ubNdEnOyIf27tQ7DjlVrBHlxq6/0Finj8HW7HklVmGX7FNFaqx+RK0c4 wy7tdeLYBAFRSEg6i/1rOIkp89ugtSgZpqbDizw4wQ3q7cgYeDr2J4u37hNZe+5BQldu FsQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=D/i6V+VoB469uuQeXOb9jf6GVqZJT5t/eWCOUeKqCXw=; b=AxDpkTy2+uIvBPESazIKaalmWu0RWnIxJnP56se1Yll+FMYmn8cxlI437iH1EmDW8z cZ8MHlkk2qW5DMpDElPL7fzvicZS10eCL0xbT6JhJKfcIpOlWONkGA6p5GM9/5bVugR9 OiyPTqFqQ+HNiTNnIoasXpjUNIiC3L6udiMJjmhEMh9SxMYpLXwLQa39dIP+IHU4dcrT fNwkp6T95UGyW9PcqPp/GVRjmh3qWV7v1PLQbGJ5nH5AVPQIst3PFfT1jti85BWte04Y 5Nk2tm/Ncyg6US0FPwRW1mJiaRMRLdlHvMBRXXgyH/Fx6QnfIKlTmRs6aCgFF9zxut3h eNfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=CrGeOZLK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h9si10594210edb.68.2020.12.28.05.12.56; Mon, 28 Dec 2020 05:13:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=CrGeOZLK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731445AbgL1NLA (ORCPT + 99 others); Mon, 28 Dec 2020 08:11:00 -0500 Received: from mail.kernel.org ([198.145.29.99]:38274 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731446AbgL1NKq (ORCPT ); Mon, 28 Dec 2020 08:10:46 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1D138208BA; Mon, 28 Dec 2020 13:10:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609161030; bh=tAIYs5Fs+P/1M+IOkkbEFCUOHkgLbpdXy4FPgTenYrg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CrGeOZLKGonQxBnHt2D5+w8jRE6KQPKPIbmDjvxe75XtVQ4Jj4hjqJcwJDoz8YFCN +Zj9UPzoTJePemHkp8l2hOvwRiB0qlwElM222taVENykQoCeIkQiyfVF0x29IMT0+V LdegXTNVoObxjsYkBuX7murDSYIQEJJKlsdb7D38= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sreekanth Reddy , "Martin K. Petersen" , Sasha Levin Subject: [PATCH 4.14 046/242] scsi: mpt3sas: Increase IOCInit request timeout to 30s Date: Mon, 28 Dec 2020 13:47:31 +0100 Message-Id: <20201228124906.946349904@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228124904.654293249@linuxfoundation.org> References: <20201228124904.654293249@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sreekanth Reddy [ Upstream commit 85dad327d9b58b4c9ce08189a2707167de392d23 ] Currently the IOCInit request message timeout is set to 10s. This is not sufficient in some scenarios such as during HBA FW downgrade operations. Increase the IOCInit request timeout to 30s. Link: https://lore.kernel.org/r/20201130082733.26120-1-sreekanth.reddy@broadcom.com Signed-off-by: Sreekanth Reddy Signed-off-by: Martin K. Petersen Signed-off-by: Sasha Levin --- 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 556971c5f0b0e..20bf1fa7f2733 100644 --- a/drivers/scsi/mpt3sas/mpt3sas_base.c +++ b/drivers/scsi/mpt3sas/mpt3sas_base.c @@ -4575,7 +4575,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) { pr_err(MPT3SAS_FMT "%s: handshake failed (r=%d)\n", -- 2.27.0