Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2687846imj; Mon, 11 Feb 2019 07:03:13 -0800 (PST) X-Google-Smtp-Source: AHgI3IY6qRJywfYLF+Fn46I9ezHGRYNkUFrcrkwWTbmkaHLIr6Z+8qC8dyMKRJC0ZDWo/Sn5S2Tz X-Received: by 2002:a63:d70e:: with SMTP id d14mr34008519pgg.159.1549897393456; Mon, 11 Feb 2019 07:03:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549897393; cv=none; d=google.com; s=arc-20160816; b=qROogYNHvmc4gnlcBOPHqsKBaDzW7yQcwO0wkYWSHRe++1O64LsmEmLcvDvVxc2jpO /F+xH/U66bkRFJdMTRn1aFnt7drA99SZYlLo8Lf4HyX/IdhpCL2PfBsxHPLTXGgRpdkM hFW/+n9IwEM/KpUXALiZbiRU9sbb80ARI5E3GHAIEHAhYdrHpls+d1cHkE2iBWfSHe5G qFeE/ZRX6aykVz/I+4nob+VUAcVS8BrWHXsTJ8/W5ZaK1SyzXrlculJRU+ZR2Jw6L9Fi dRe6esgH/Wb6Ds533jaOBl7YuOtdCeudXE1RUYPmPsPoBkfJJy/yKlNFoladC6G2bfHr 3caA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=O3+DgqYcgomnWCBDzmWaHYVdSjKiHXd1cZgdPMVtKnA=; b=tZQx+mLFAwV680oeE/qVuVCrJtKMvxfotT5Ndt4AmIfzECPTgXeR8B39VGPAs6LGBt J889CeLARRSid4h4j+eYtux6GtxuhpdNux0os9IenDTyQNtY+JlgX2nl4MhrOU5QlZlI DqYhcxZkp4OOkOh80qp9yUcHoiAkPF20cV+N0B6JDkoqmEXFUmh579vxiCVQtYmyF8m3 IoQB7is9/E3WmFcO8Vqu+e/LpcyCyVuOzjjaUvNMbebglU/BfkaSM8xJbkFuU/IYPrXa Q2nyQSrRH2A43HWg2FyidMDW4mibmRw8W/kNPaKmZQyIpUlGVNjBchpU7Pzk5/RPgy8O LmCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=q1oSVR4T; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bb8si4898254plb.261.2019.02.11.07.02.42; Mon, 11 Feb 2019 07:03:13 -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=q1oSVR4T; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390249AbfBKPBo (ORCPT + 99 others); Mon, 11 Feb 2019 10:01:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:49764 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389769AbfBKPBl (ORCPT ); Mon, 11 Feb 2019 10:01:41 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C3C56222AF; Mon, 11 Feb 2019 15:01:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549897301; bh=iSvtoMp48jq+jGDGcGytS+EJXW3cdK59IFW/rKEzkpM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=q1oSVR4T64hmW/vyM+zrZWROKVjfTkIWjp2fnpfK5S1ZtJp8QTAfJUcdlASmTPiR4 P7v0TAH8A3mtdO4QA2OnnrbUcTjAtOo4osHJsrw6j6R+OHskRxFNpVsjg4LOgmhElH G9juHjtlFoKfWorH4G3UWybhk+QWELiO6nQMNHYw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Feng Li , Ajish Koshy , Murthy Bhat , Dave Carroll , Kevin Barnett , Mahesh Rajashekhara , Don Brace , "Martin K. Petersen" , Sasha Levin Subject: [PATCH 4.14 115/205] scsi: smartpqi: increase fw status register read timeout Date: Mon, 11 Feb 2019 15:18:33 +0100 Message-Id: <20190211141836.004098627@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190211141827.214852402@linuxfoundation.org> References: <20190211141827.214852402@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ [ 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