Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2754872imj; Mon, 11 Feb 2019 08:01:09 -0800 (PST) X-Google-Smtp-Source: AHgI3IaS25SkyrFtpzpHoGf46zGdVyR/6pbol8oX1hONTIqO9Bhzj7N5eZ71iKJGWN5U261Uyzwe X-Received: by 2002:a63:7044:: with SMTP id a4mr33641060pgn.359.1549900869395; Mon, 11 Feb 2019 08:01:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549900869; cv=none; d=google.com; s=arc-20160816; b=VF1IJUhYygQP9oxva350AHkgwQfLBgf3sTRFHR4DiaW11APu56p6VwOxFsnGDxFvgD U873gA9ytjcaHYhJcgbxvIJ2WOyXnjkFMvNc9vPm/Zbs8pFXPXsqn/eaCwNAnB/LR2Ch aUUnmfJnZV/lUDiVjbCxzWwOZZLsOF/4NLvVGy8GGGmCqjTQRLs2jOqtL+x5TcTuyhzR NuDfB+gU1FsUeiAXfB2RtYfJcW5E/g/apJI4PbL8l0x86earxXp0rAeH4EZgauIrsAbF Mc+vHFhPiF8IzkiwThh0jKEAQ2hE9Z9S6ulVIJ28LLxF4W4hna0ENzBERnNz/0WsilVq YxIw== 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=LOyTTkQwOI5nZEXQAGKwvPJIb219AHrImIe2L12ezrc=; b=b3pKu3woAfmyAEr6aaQh87G++HOLBFt6mjS75YY8SBRYA85HKSvBZHijBSR11rXMQ2 Wn20xPGgFFv6iUy+AwCg03ZE+yTi1fTtgOXqhy+sCayUJPXHTJEuEwetGbdHjNzAWGf4 9PZoQnFT1NTaFBO5uW7q0uan51b/G2bYDxijiqzOYw8T9/2Pneho+NWZmvMrRj67yGBE 5MgHR6VAE4Ks28emrKJEWXCFUo/oBwUvAqxRM5+7rz7koBL5GIbQGye2GOa+B+ee78rS lc+6wuNWc0eelSb+08ZJ3aNpqqRF+K0X+xigb7kSIpyKZID5SWIRKfteiQKd24KYEzWR BS9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=JFoUAzwu; 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 bg7si10313839plb.149.2019.02.11.08.00.52; Mon, 11 Feb 2019 08:01:09 -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=JFoUAzwu; 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 S1730003AbfBKOcp (ORCPT + 99 others); Mon, 11 Feb 2019 09:32:45 -0500 Received: from mail.kernel.org ([198.145.29.99]:40170 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729928AbfBKOcl (ORCPT ); Mon, 11 Feb 2019 09:32: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 01E5020844; Mon, 11 Feb 2019 14:32:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549895560; bh=20JeL0c1WwS+4vR+hLJqgZ/RjEIfsLS8hEwqtHY0eug=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JFoUAzwu/+fJ/wrSdwwyJw92RUohD3NoGconnNq4czEml7nZioCBlk5qmOqSsM9QE BkxwDGke2v7XXbaNs0UzpAJdadFOIuO0Qxb+PUvY9VdJzv164AuorutKNfeRL9tC7Z XS7MAQXoHStRp9nS49NKgYiw0XHA8PDVraO3ugnI= 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.20 216/352] scsi: smartpqi: increase fw status register read timeout Date: Mon, 11 Feb 2019 15:17:23 +0100 Message-Id: <20190211141900.969018717@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190211141846.543045703@linuxfoundation.org> References: <20190211141846.543045703@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.20-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 ea91658c7060..9d3043df22af 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