Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2954333imu; Mon, 19 Nov 2018 08:34:03 -0800 (PST) X-Google-Smtp-Source: AJdET5dg/S9xgeC5jdouwmbcF+slXDPoh+34IvGdKPGUS99YS0/4NNHnz+QqqMamKp1stdIzEG0t X-Received: by 2002:a65:55ca:: with SMTP id k10mr20515178pgs.448.1542645243362; Mon, 19 Nov 2018 08:34:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542645243; cv=none; d=google.com; s=arc-20160816; b=pGMSs4bmnMHMLfeoOLhiikGXnp8i3ZUgqcsOv+6Jm8wJEPzYFJqrhl5ta7JaVy81Y8 i10rpG4XRJDQpqnad1g6WuIHqgE05gi3uia5jHVo5729G9Tq3D4kPBl9vwKE/AphlFLh 8UyYU60AhAGce7serVqkat7s21jNvzLyLj5Iydw6Clhq3MxWiv8ZcVQdaa+vBbxRVDxn dP30iwfA93G+1VKkXDjj6P/YVU2SF3UAhznbsrslliwqw2W5JGC9RjEeyZLL4Ff3Vtqh 9o2a1qWNse5pamjrY5APm4x8EqSWhW0m2QrQgrr/8moX1r+/LjkK7YLxFmOjGaSXYEd/ Og0w== 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=5gO8MUDqs+2gtFn+A8wXt7PFx/Xs1AsjZupXknI8VGk=; b=HI7CdJEF1SWrSWJU0D2V/bw9ufsrfYXZYz3f6g2kPTAoMuo+MB+jM0sFdHJp4iHw/O ZyFsQ9WKa+9oYFmNIi4DnZHjHnzy1cxnVVMkHY2MyxwL8RYXDMkT6YqMfh1MMQ8IpBrA 22X9jUKgB0dODcmc5mTCs8rWrjIs0guv4Km1w/Z9ys5wZNYsHzEPgBnbD+WFjx2AFBJj 1yv+TdCYPEXANXuMS4KqJvTNFCfWDkNjgP1qJFfGbi73qnC5INWWO/VFliUevVE5v3pJ ZXvM+HC3cWs1CyyiWUVHyR5i51xDBWiKR2f3D976GJ6drLN4Tylr6NjiPYafHaWSbw3U Zg5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=n7QMDx52; 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 p23si37098931pgk.312.2018.11.19.08.33.46; Mon, 19 Nov 2018 08:34:03 -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=n7QMDx52; 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 S1730812AbeKTC4l (ORCPT + 99 others); Mon, 19 Nov 2018 21:56:41 -0500 Received: from mail.kernel.org ([198.145.29.99]:54954 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730015AbeKTC4k (ORCPT ); Mon, 19 Nov 2018 21:56:40 -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 7CD8120870; Mon, 19 Nov 2018 16:32:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1542645153; bh=ArvXZfhf6x9iib/eXm6p8bfDsD+kr5OtsmstKtOKOG8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=n7QMDx52rSWn6sTituZM39N+GXne1X4efYm9GOMo0ZPbW6WGB4TkaZDTQyCZ/2CLj MqsqfHIefgjK4/eqQm8zHnTJnKhaFVosJHy6TGuBAl2xHqIlVlxdHoBLlz1trvv0L/ 9hPXt0K+EfzaSeoToOF2Jkgvhp9LLNf8C36Qjag8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Quinn Tran , Himanshu Madhani , "Martin K. Petersen" Subject: [PATCH 4.19 055/205] scsi: qla2xxx: shutdown chip if reset fail Date: Mon, 19 Nov 2018 17:26:02 +0100 Message-Id: <20181119162627.021809074@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181119162616.586062722@linuxfoundation.org> References: <20181119162616.586062722@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review 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.19-stable review patch. If anyone has any objections, please let me know. ------------------ From: Quinn Tran commit 1e4ac5d6fe0a4af17e4b6251b884485832bf75a3 upstream. If chip unable to fully initialize, use full shutdown sequence to clear out any stale FW state. Fixes: e315cd28b9ef ("[SCSI] qla2xxx: Code changes for qla data structure refactoring") Cc: stable@vger.kernel.org #4.10 Signed-off-by: Quinn Tran Signed-off-by: Himanshu Madhani Signed-off-by: Martin K. Petersen Signed-off-by: Greg Kroah-Hartman --- drivers/scsi/qla2xxx/qla_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c @@ -6684,7 +6684,7 @@ qla2x00_abort_isp(scsi_qla_host_t *vha) * The next call disables the board * completely. */ - ha->isp_ops->reset_adapter(vha); + qla2x00_abort_isp_cleanup(vha); vha->flags.online = 0; clear_bit(ISP_ABORT_RETRY, &vha->dpc_flags);