Message ID | 20180911171827.29016-11-himanshu.madhani@cavium.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show
Return-Path: <linux-scsi-owner@kernel.org> 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 B501D920 for <patchwork-linux-scsi@patchwork.kernel.org>; Tue, 11 Sep 2018 17:19:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 987F629B23 for <patchwork-linux-scsi@patchwork.kernel.org>; Tue, 11 Sep 2018 17:19:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8CAE629B28; Tue, 11 Sep 2018 17:19:18 +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=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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 2C38C29B23 for <patchwork-linux-scsi@patchwork.kernel.org>; Tue, 11 Sep 2018 17:19:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727709AbeIKWTf (ORCPT <rfc822;patchwork-linux-scsi@patchwork.kernel.org>); Tue, 11 Sep 2018 18:19:35 -0400 Received: from mail-by2nam03on0052.outbound.protection.outlook.com ([104.47.42.52]:58239 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727419AbeIKWTe (ORCPT <rfc822;linux-scsi@vger.kernel.org>); Tue, 11 Sep 2018 18:19:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JI5ngl50plOGoJdpdlPzTIW1ZHE8dlmNw03xShtdvhE=; b=kLHhGwIxI+t5vpe3hR0WXS8CH92zB2gRVEkX98i5Cbke9UQQsTNwAGDVljxU/T5B6Sn9TUEu4w9SSJtIhDhvVE/B0p9dq8EN+6g6iYrtFgzMd74zNPFctwXEZZb9XKhA6jq2TM0W7QdJcJ2jwxPxQcmSjbuIUTqsm3aCZ2dYCnk= Received: from SN4PR0701CA0016.namprd07.prod.outlook.com (2603:10b6:803:28::26) by BN7PR07MB4387.namprd07.prod.outlook.com (2603:10b6:406:b6::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1122.17; Tue, 11 Sep 2018 17:18:42 +0000 Received: from CO1NAM05FT054.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e50::203) by SN4PR0701CA0016.outlook.office365.com (2603:10b6:803:28::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1122.17 via Frontend Transport; Tue, 11 Sep 2018 17:18:42 +0000 Authentication-Results: spf=pass (sender IP is 50.232.66.26) smtp.mailfrom=cavium.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=cavium.com; Received-SPF: Pass (protection.outlook.com: domain of cavium.com designates 50.232.66.26 as permitted sender) receiver=protection.outlook.com; client-ip=50.232.66.26; helo=CAEXCH02.caveonetworks.com; Received: from CAEXCH02.caveonetworks.com (50.232.66.26) by CO1NAM05FT054.mail.protection.outlook.com (10.152.96.170) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.20.1164.5 via Frontend Transport; Tue, 11 Sep 2018 17:18:41 +0000 Received: from dut1171.mv.qlogic.com (172.29.51.171) by CAEXCH02.caveonetworks.com (10.17.4.29) with Microsoft SMTP Server id 14.2.347.0; Tue, 11 Sep 2018 10:18:30 -0700 Received: from dut1171.mv.qlogic.com (localhost [127.0.0.1]) by dut1171.mv.qlogic.com (8.14.7/8.14.7) with ESMTP id w8BHITKe029091; Tue, 11 Sep 2018 10:18:29 -0700 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id w8BHITh2029090; Tue, 11 Sep 2018 10:18:29 -0700 From: Himanshu Madhani <himanshu.madhani@cavium.com> To: <James.Bottomley@HansenPartnership.com>, <martin.petersen@oracle.com> CC: <himanshu.madhani@cavium.com>, <linux-scsi@vger.kernel.org> Subject: [PATCH 10/16] qla2xxx: shutdown chip if reset fail Date: Tue, 11 Sep 2018 10:18:21 -0700 Message-ID: <20180911171827.29016-11-himanshu.madhani@cavium.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20180911171827.29016-1-himanshu.madhani@cavium.com> References: <20180911171827.29016-1-himanshu.madhani@cavium.com> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:50.232.66.26;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(136003)(39860400002)(396003)(376002)(346002)(2980300002)(438002)(189003)(199004)(51416003)(8676002)(72206003)(8936002)(50226002)(81156014)(1076002)(81166006)(76176011)(36756003)(4326008)(87636003)(305945005)(106466001)(478600001)(48376002)(44832011)(50466002)(26005)(356003)(80596001)(476003)(186003)(42186006)(16586007)(106002)(126002)(47776003)(69596002)(110136005)(86362001)(336012)(54906003)(2906002)(446003)(11346002)(486006)(2616005)(6666003)(5660300001)(316002)(14444005);DIR:OUT;SFP:1101;SCL:1;SRVR:BN7PR07MB4387;H:CAEXCH02.caveonetworks.com;FPR:;SPF:Pass;LANG:en;PTR:50-232-66-26-static.hfc.comcastbusiness.net;MX:1;A:1; X-Microsoft-Exchange-Diagnostics: 1;CO1NAM05FT054;1:62qyF8GplZaY1kpsWnTfBf3aInBO0IjxlFBG06GwfkZV4kfMYwaqAnBmM5Gk9HwZQ1pC/0fCPsbeYW7tAy1u6bfjhVIk0LoVWzWNrGvhvOBijcIWjkGJGxQBGIsjJ8OB X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 06d495b5-a072-4892-182c-08d6180a9f5f X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4608076)(2017052603328)(7153060);SRVR:BN7PR07MB4387; X-Microsoft-Exchange-Diagnostics: 1;BN7PR07MB4387;3:urN21NJFFkvSvwk1/RrPGSWgNOfj4SqP+6RHffCU/HvExMZBnrS3i0T2h6xums8BkyZ9DCsEkGdxE/YC/I5KfTW9y1V2CiRRY+LGcIVCdYaoaiksumFWPVTDJk7rtxTIyF8yT909xc6HwrfCGF6sGOC7M6Md/SmZyy8EtkHRw1stUb3MmejnxDIcghIoh2vQFlTZAI6SXR5ebUSBslKHrpoh1FW14SK0FrI6aQOuB3Jy17c9je6uthZJUqAocPjXh2CaHZ9/PSdyF739ISEcapWBIDYFEkLI2YFUnK4bkE8QojCgdp1Pey4SAXi9j1hAfnsWhRfNoUS2dMaz40tP/xuzwKHyjS8s3Y4BJNKMvgo=;25:QKqxY6fSN8zSFkubH7IW3ozrl/9IsX74+WbqmnZO+ZALxLcT3h52bs5fuwDSxfKYP2nctenm97BJ9zDhkkfdWO9UNEblRhduU6hjKRH+gyoYVVZ654DDY/iBwZfRLCF9gM0cuHcJOgi8r7PfGbXPiJpcYRh9N7f6oiRkUYf2fi2M8DYdUZQvRSbtII4gQrugLp3ooCzKnVovDmKjUkxYtS2NnYfbfzi8+PEBNAkZwrAicCcHzSp0Nmkk2A79RSKygQvCHax1VrStoSjYCRRh76faFmOeeKJX6tQ+Ik9U3sdIItPl2UigaxR3R6sKWgiwb4Fpu+2z4hvuo0UD+qfK+A== X-MS-TrafficTypeDiagnostic: BN7PR07MB4387: X-Microsoft-Exchange-Diagnostics: 1;BN7PR07MB4387;31:S/PqljbcPy04hj+VqaQdA46AwSTpg0eHYj9oST3SPlmpkE8x8eFT64+JFcUilCiOr4pLD+DAxSlYYSLTUffmCv+3ONnJ2L7Y4/cwOkYKFGNug7SFGHFe//fiVLo26xv1SiGXj+lABXmn3EOICb6y1W/zBMoOC6RKIBu1oRCuYKEWpPN/8xHcDNPbHGwbz2vB1uV9iYezFE6U07nzcF3cCr7rh/jJQCIQK83LAfj7A3I=;20:+0Vu/zUeAEPJ7hhVKhOm+SvOiX92sbR5AATp88TY7Xwypc0CRJoa0kJbQMXNMIlWWnlKN097gEAxDpU6bdzJtcAWK6CgvsT/Wq9ULTYMbGrbcegsUvBJIebpAaW0cwGRrmjYtXSRB4L6rOb5NVFqgjRv/w9XB28ka+0fsY0fDXK2uOTv1+9LqJr3jhtqTLln2a2s8qACWSTF5Yl39spEu9SvIvkkdhQLazocppGXT2G5qIx5AGZkh8NkvwnWn6ezk18uMcjx5/WJnJAnGSHsCvdwn6ZI7SeG4OccHmHQSBSszVxuEqsbgYqfDoymgR8mVObG5e1MkygGQNpH1IODJbZrNUSMLC96vdWaeturugJjFvbbtIGJ9JTJnjh5luuu0McvYPIoFpG8TUpJte1dzR0/ydw8XG7KJpB9ZTR+y7q5rUTEOm4GyEi44OnTYfGkBw336xXJpTSekJ/DIBQ21rQYBvd4ksiv06ywd2QC+Zkk7RjD63949oAL1dCFMWV5 X-Microsoft-Antispam-PRVS: <BN7PR07MB4387D9E77428ACAFEA6E27BDF5040@BN7PR07MB4387.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(209352067349851)(9452136761055); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231311)(944501410)(52105095)(10201501046)(93006095)(93004095)(3002001)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123558120)(20161123562045)(201708071742011)(7699050);SRVR:BN7PR07MB4387;BCL:0;PCL:0;RULEID:;SRVR:BN7PR07MB4387; X-Microsoft-Exchange-Diagnostics: 1;BN7PR07MB4387;4:lHJQQlQ0XQ4ubHc0wXVmWrvEdYAM4a+YuMKxeceQ1Q9r2R9DwjrmjDgfjE7csdmrBSjYfWRLtWbToa79gizwNoEzouGvnrl6Jf5ceiu4DvRJ6ab0BZ8qkF2/VHV/2mpe0Xr8w4RGcJ1SabQFftLZRq2uYjlpZqtmA0xQJcUzWRDIq0Kf0SMg7WVF7nQhZ1a4x65DCArGYaju2WTLsUowjw1XgrjtWy7kNEAWicHA5Ljqp2aAk7Xxx82K/HyzXy80TtdZP536Rv6D6BiqqoH70XXE/xtyoXdoFGzmWeHazvH7DlNj2rMi6SzRcwZ2QBx2GtC2bcLqkDZ+Nn2DezaclJZVgeP27YaZlvhF6fc4Oy8= X-Forefront-PRVS: 0792DBEAD0 X-Microsoft-Exchange-Diagnostics: 1;BN7PR07MB4387;23:Y7geesSTWqLxiQSCelTgl8SyhWUi/Uxi5XDB7oxL29xLmj0lMteCZ7IJjK6HBAtTgE768x6D0/oyowhwK8qYnxZiv89DASkB4+agE6Z3GLCxIyBisaicOr0sB7aKswrlO2PK1q6M66PgUYC6OIpr8umcZN4P2fuS7dGKeDeLdHG285488LdRz29c571oEFXzc7sit+vXeGe5LGlPs5zLiXIfqVB+xSrtrS4Pt34BJW84MJHGN4jWyIWKezSnSe7sm0o7dtnjbDYn6hQ4y4CwDSdsa62/b40Ij6tyZTysJB+JzXywkii61IdWX1X4fczW/m2zaOM5S3mKyMsIfdq7HpGSLaXI9rNVFdiI02YcAtBHL9Wp8YXAooraWIbadFILPKmSuDhgH/+ym9QUhZEASvI5lZbqEWx0DmINwRnQ57EHEmePx03H+aZzR7rNFxdYEjkwShjpuTdwI6ardhM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Exchange-Diagnostics: 1;BN7PR07MB4387;6:BQm7UxTFGZhEHTquqPCUegOco/rO/JWOI1jPtFzg6xVwH0aIQa7Ilo0KU1N1+jiStjxugixfluyJMgt1RNXRL/23l5NLeBoMx/2GsMkXi2x9uEjB8CckPYX32IX3rvzX7sCv1S5FMKE4RkjLZ5CJKPXKRoAiPoBQY8iTSdp4DpQ5lDbMe5ak/pmLx+7+sXPu5QrQFiMoFBX5ry4GNT9IabpCcAeH0JmYdukSifAZFdrmJ3HbQVslbxeWSNLT3FoYKy14WI3UtFLoxAMqeNjU5TpA3iUoxzo0higYn8uS6LEMvtqBnxZkh55qja3ZZx5FLv/x5UfyrQx59wU38rOo1a/HGTMXHZFAdu9t1MT/GTnK2AYlUjnyoz2EYVccFZ/3LIUSlCVFAB49MtPlXCPbUM3LA17nFN1tb8iic/OQurGpxJlA4+qLEDOnKhqC0TLK0fGT1ihrYq7Z2jY45uMu4A==;5:kb2fj4lW3eHcREADxGU4H7Tz4LneMraXpjEgWcmSWdhmCVvyvWkx8uUDWMa6PHFr33lFKUFhvjeiphCHDO/CIWqWQqK+fsbjGLxs6P7u+Bbt1KLZm2uHOQrNHOuweDjaZsfmpTK2cSILb7NOrRyEiRg8TvO28F8JUJaJsEtnjPg=;7:70MNt2qCSdwmxpQJH+be9CQp0JR4BMfvfChNJthtmlFn0KlXvANFwl/tHQZGeJHY3MM9U6G3kXzYmh6sAGdHJ1SdYRBu1rJsSYjOfu8F03RiBKIdG9TYMVLkK2YpQC9FrA7EpRwDQi0TSr1kaBqfvzLkIIGQ/Sij1RPcUPOY6UAX+tuOeISIpR29GSYm1JNdA61Mj8J6MOsdgZODeLAuOzeh4rfMjP+H0cj1baxoOrsezNj0NfruQrV6GS4c6nPC SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Sep 2018 17:18:41.9396 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 06d495b5-a072-4892-182c-08d6180a9f5f X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=711e4ccf-2e9b-4bcf-a551-4094005b6194;Ip=[50.232.66.26];Helo=[CAEXCH02.caveonetworks.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR07MB4387 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: <linux-scsi.vger.kernel.org> X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
qla2xxx: Driver updates for scsi-misc
|
expand
|
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index bd1afa3063ee..41e5358d3739 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c @@ -6784,7 +6784,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);