From patchwork Fri Oct 12 10:57:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shivasharan Srikanteshwara X-Patchwork-Id: 10638511 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A282C14E2 for ; Fri, 12 Oct 2018 10:58:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 92C772B482 for ; Fri, 12 Oct 2018 10:58:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 870E02B5BE; Fri, 12 Oct 2018 10:58:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2D9932B482 for ; Fri, 12 Oct 2018 10:58:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728308AbeJLSan (ORCPT ); Fri, 12 Oct 2018 14:30:43 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:36338 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727652AbeJLSan (ORCPT ); Fri, 12 Oct 2018 14:30:43 -0400 Received: by mail-ed1-f66.google.com with SMTP id c26-v6so11109794edt.3 for ; Fri, 12 Oct 2018 03:58:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=kEbDT1sH8gUK08mWr+GquJz3qy2AojV3CGDdU2xtI30=; b=gYdwTghT5/Zkhq2d9aBnHi3EYSvkBvBbaerEzeulWJbnSCiGJgwiWwxxQlWAaXj3TX hk7jO1j6eDmY3hZRVGkwqIrYukudj3L/F24pLgBki4zUgnk/j5PUcAAczo2xU9lz/EM2 Ee5/3dxsCqiJ4njoF2GUl3ZIYHwb8wAR0umlc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=kEbDT1sH8gUK08mWr+GquJz3qy2AojV3CGDdU2xtI30=; b=XqB8ywf/unwh99xc4WhfcOxd7b9D1F98qGnNdQMFE8GS2CwctIkWZO/gQqQAgrmf9/ N4yYSvuapkFLqrBPQFgIG1VFYczd+r7AsyQSoNWyTI6G4HHholSHfefPkWJ6M0FW244k twB98hFE0p6G34iLIbtdxUPf8YxA4iX0/tp1Ykqcvj+FVprPQOiyrxE1Yhy1jSRWzfwI 1VwhzkMOZaXbfxOflwT7jLp+wt1wY2Xdcx7no/JkYvrYV+ovISFbV29OYjBP9/VoqeQ2 DzXaDmDWJAuBHkkT3nyzcqKWLkhIWms1XWIcYd/1xKwsSaYW7L9pvhvrG+bdlU3qNdp5 pkXA== X-Gm-Message-State: ABuFfohKwAv5sCxhDondtjtetH4U0Jz22ppTnf/ZcpDTgBPBCixpxAVx rrhO6YFzp0TIlg/2Lcqq8akRbora3Kwz3Q== X-Google-Smtp-Source: ACcGV63f0rx1CVy/y7TM1/HWKoQDy+MFqCO9AdNd3CDE2rkDyR1EROfMVZK3I071H/vJf4dDntfWgQ== X-Received: by 2002:a50:9247:: with SMTP id j7-v6mr8300785eda.124.1539341930135; Fri, 12 Oct 2018 03:58:50 -0700 (PDT) Received: from dhcp-135-24-192-142.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id m25-v6sm451198edc.86.2018.10.12.03.58.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Oct 2018 03:58:49 -0700 (PDT) From: Shivasharan S To: linux-scsi@vger.kernel.org Cc: kashyap.desai@broadcom.com, sumit.saxena@broadcom.com, Shivasharan S Subject: [PATCH 16/19] megaraid_sas: increase timeout for IOC INIT to 180seconds Date: Fri, 12 Oct 2018 03:57:30 -0700 Message-Id: <1539341853-26814-17-git-send-email-shivasharan.srikanteshwara@broadcom.com> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1539341853-26814-1-git-send-email-shivasharan.srikanteshwara@broadcom.com> References: <1539341853-26814-1-git-send-email-shivasharan.srikanteshwara@broadcom.com> Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP IOC INIT frame needs to be fired with a timeout of 180seconds. Signed-off-by: Shivasharan S --- drivers/scsi/megaraid/megaraid_sas_fusion.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/megaraid/megaraid_sas_fusion.c b/drivers/scsi/megaraid/megaraid_sas_fusion.c index 76ea5dc656b1..36fcfa5bc13d 100644 --- a/drivers/scsi/megaraid/megaraid_sas_fusion.c +++ b/drivers/scsi/megaraid/megaraid_sas_fusion.c @@ -1113,7 +1113,7 @@ megasas_ioc_init_fusion(struct megasas_instance *instance) megasas_fire_cmd_fusion(instance, &req_desc); - wait_and_poll(instance, cmd, MFI_POLL_TIMEOUT_SECS); + wait_and_poll(instance, cmd, MFI_IO_TIMEOUT_SECS); frame_hdr = &cmd->frame->hdr; if (frame_hdr->cmd_status != 0) {