Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3634472imu; Mon, 28 Jan 2019 08:11:05 -0800 (PST) X-Google-Smtp-Source: ALg8bN5MHDlV9FLR1JQhZL0jvCNoh3vwmCe6Pa7p4cJNplD5/EXfPdSu3uorcTveXNAYAYxYIUlc X-Received: by 2002:a62:5884:: with SMTP id m126mr22368262pfb.177.1548691865207; Mon, 28 Jan 2019 08:11:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548691865; cv=none; d=google.com; s=arc-20160816; b=ArcNDLBmth54BO10n3phEfmt8KJKIemtKlWGnUihun8M/ou7FlHOhEovsHuT3zpqfi DvcFYkdJ6h6ipxG2Mv9iJXeQPH9RkyOTVmM9M8+R3ANim4+vYq90Ao+Ndoe724iX2WBn zro+ddLWYHsIYlGJA64nPyox5BXwurJGf5ns7c8ne+APVVX89kxldOYzg8St1Xvv47PO slCkTxDz9/jXEIeSfn9XtspHsKag8fOeHeI9XdCiKYDukxeK/vz6r2ylbj9pvc77LETD SK9ZmFK7pe/gEUqaSXG5brrhR8VYh6DHy521442fsMVJhCvSv/A45AL/UaWYsy1i/vOY DwSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=HUfMwwM+tCAEghtEaQiHdkSCHVyPxMsDHmtJnL/SeaY=; b=Yy6Z2HTA2EncLz6EjN0v+1wCvd9aFYrGZFWSGd476RQGMbceSz7rkBLGP1PagA2oHP NrrPAsEZWBAOZI0W2w71WwUJr9vzrbatBPvvZnQBEanuhQa1Tj+XdLEYcxo7RWsThkRx /OLxVO9lIn+enSzouvz6NTsn2HJLqMQOX5oKUaCP6T5m/pJ4wFlghpu7zEvL0tcU+nWG gE1qYLRDGqfLf988t/bcK0XaLZ4XkRn6bKQ63SouwcHw6q9yhD1F3S4bkYhOcHrdMoMn oE75J/2K7k/AclrIVl6qrp6plIWSUHzBUtafp+LnB0qdBsRBp5JwRtmww7e8nMk3qwOC 0x9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=pPeohBmC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d92si34027447pld.45.2019.01.28.08.10.49; Mon, 28 Jan 2019 08:11:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=pPeohBmC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732402AbfA1QIb (ORCPT + 99 others); Mon, 28 Jan 2019 11:08:31 -0500 Received: from mail.kernel.org ([198.145.29.99]:60268 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732389AbfA1QI1 (ORCPT ); Mon, 28 Jan 2019 11:08:27 -0500 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E2C5220989; Mon, 28 Jan 2019 16:08:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548691706; bh=v+JXHTu3xvc3gg5A211D/qIdQoImpE1Oqhfyq9E82vM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pPeohBmCKL8wvHoz05qi0xG9Mln8K1o+qgc/EJBsZ7xjcBuZoHogz+Ak2Zp04XNPV UNJ1qnnNW5WlGgr4x/u2mUWD5FemansPvBBziFHL1BlkX2qRlntfLjuKoilGI4ybyL i4/gLXtNM9nfunwJn5YEbHNzoriu42j4Pn9y9qFE= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Mahesh Rajashekhara , Don Brace , "Martin K . Petersen" , Sasha Levin , esc.storagedev@microsemi.com, linux-scsi@vger.kernel.org Subject: [PATCH AUTOSEL 4.19 192/258] scsi: smartpqi: increase fw status register read timeout Date: Mon, 28 Jan 2019 10:58:18 -0500 Message-Id: <20190128155924.51521-192-sashal@kernel.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190128155924.51521-1-sashal@kernel.org> References: <20190128155924.51521-1-sashal@kernel.org> MIME-Version: 1.0 X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mahesh Rajashekhara [ Upstream commit 65111785acccb836ec75263b03b0e33f21e74f47 ] Problem: - during the driver initialization, driver will poll fw for KERNEL_UP in a 30 seconds timeout. - if the firmware is not ready after 30 seconds, driver will not be loaded. Fix: - change timeout from 30 seconds to 3 minutes. Reported-by: Feng Li Reviewed-by: Ajish Koshy Reviewed-by: Murthy Bhat Reviewed-by: Dave Carroll Reviewed-by: Kevin Barnett Signed-off-by: Mahesh Rajashekhara Signed-off-by: Don Brace Signed-off-by: Martin K. Petersen Signed-off-by: Sasha Levin --- drivers/scsi/smartpqi/smartpqi_sis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/smartpqi/smartpqi_sis.c b/drivers/scsi/smartpqi/smartpqi_sis.c index 5141bd4c9f06..ca7dfb3a520f 100644 --- a/drivers/scsi/smartpqi/smartpqi_sis.c +++ b/drivers/scsi/smartpqi/smartpqi_sis.c @@ -59,7 +59,7 @@ #define SIS_CTRL_KERNEL_UP 0x80 #define SIS_CTRL_KERNEL_PANIC 0x100 -#define SIS_CTRL_READY_TIMEOUT_SECS 30 +#define SIS_CTRL_READY_TIMEOUT_SECS 180 #define SIS_CTRL_READY_RESUME_TIMEOUT_SECS 90 #define SIS_CTRL_READY_POLL_INTERVAL_MSECS 10 -- 2.19.1