Message ID | 20170525010624.8886-5-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.web.codeaurora.org (Postfix) with ESMTP id 6FA4960224 for <patchwork-linux-scsi@patchwork.kernel.org>; Thu, 25 May 2017 01:06:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 61B3B26C9B for <patchwork-linux-scsi@patchwork.kernel.org>; Thu, 25 May 2017 01:06:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 552CC26E97; Thu, 25 May 2017 01:06:42 +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=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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 D87EA26C9B for <patchwork-linux-scsi@patchwork.kernel.org>; Thu, 25 May 2017 01:06:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1162334AbdEYBGk (ORCPT <rfc822;patchwork-linux-scsi@patchwork.kernel.org>); Wed, 24 May 2017 21:06:40 -0400 Received: from mail-co1nam03on0082.outbound.protection.outlook.com ([104.47.40.82]:5229 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1162163AbdEYBGg (ORCPT <rfc822;linux-scsi@vger.kernel.org>); Wed, 24 May 2017 21:06:36 -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; bh=O3ukSWC7jP+S81UsSIwHKyUSLGwJhpqe7mxrsrWAEyY=; b=OgU1pdQ8ooSbWZCMybstZAqnYAcab6qQlKl2WV4+QPPo6vmiHP6APiicsN5e4wJ7RcK3XKtRbsu8XMLvhG9UHOMtf1IQqX2MHquymzR4YRdLWm14vNo9N+WpGsH7uzacCNaKeBGMXGPWa7v9uhMBzQuU4pf0K24PjSzHg7KKkh0= Received: from DM5PR07CA0046.namprd07.prod.outlook.com (2603:10b6:3:16::32) by DM2PR0701MB1018.namprd07.prod.outlook.com (2a01:111:e400:246f::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1101.14; Thu, 25 May 2017 01:06:35 +0000 Received: from BL2FFO11FD026.protection.gbl (2a01:111:f400:7c09::137) by DM5PR07CA0046.outlook.office365.com (2603:10b6:3:16::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1124.9 via Frontend Transport; Thu, 25 May 2017 01:06:34 +0000 Authentication-Results: spf=none (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=none action=none header.from=cavium.com; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) Received: from CAEXCH02.caveonetworks.com (50.232.66.26) by BL2FFO11FD026.mail.protection.outlook.com (10.173.161.105) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.1075.5 via Frontend Transport; Thu, 25 May 2017 01:06:34 +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; Wed, 24 May 2017 18:06:25 -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 v4P16Pdf008937; Wed, 24 May 2017 18:06:25 -0700 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id v4P16PrS008936; Wed, 24 May 2017 18:06:25 -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 v2 4/7] qla2xxx: Modify T262 FW dump template to specify same start/end to debug customer issues. Date: Wed, 24 May 2017 18:06:21 -0700 Message-ID: <20170525010624.8886-5-himanshu.madhani@cavium.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170525010624.8886-1-himanshu.madhani@cavium.com> References: <20170525010624.8886-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)(6009001)(39450400003)(39840400002)(39410400002)(39400400002)(39850400002)(2980300002)(428002)(189002)(199003)(9170700003)(50226002)(8936002)(1076002)(54906002)(5660300001)(87636003)(38730400002)(478600001)(8676002)(86362001)(305945005)(356003)(5003940100001)(81166006)(189998001)(2906002)(4326008)(80596001)(42186005)(36756003)(72206003)(2950100002)(105586002)(50986999)(76176999)(101416001)(47776003)(33646002)(6666003)(50466002)(48376002)(106466001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0701MB1018; H:CAEXCH02.caveonetworks.com; FPR:; SPF:None; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD026; 1:aGQFbTMJV+4zjuEtYNn4ft/0Q3JzuKG9efSvt4mzrt2pldX4QGGTerPNj9iS44xJVd1ytrGiNCm+87GVzdBoYMr2h1GoDMvCdva5D13O0piyIWuHOINgE5iaxsHuQcihNbclENaMx0x9JDrdhYSDSoGON4Q4NjazUzGSnvev3rHXwsChTqbA0P0hIshROW9GssoCEer1aSN6ND2E+jsWQlKCoBq1mrqkjlQqoezm+eJaURaxHzAJVN2m95d6ACQkPKoqP0KUj9YZDXWXxuh+aEQZNhvbBEeGahwQ1eIy+l+zUhGwTUMjdaOGEjaZjwFWedn+yYGZxl3Z4l7OaP5zZb3oxo2IYYmwOsEJ6iq3Ijo5DMG7oxkkNPHA49Zn6CyVxwMrX2ENwheKmzP8moxawMAW5AQyxmmHxrCU6f3nb7IdnzPt/ccA/fOeXd57PQBBxpDF1SMbZDKsJ8+0FIjwqyELg7uq3qLTyueY3wHusGudC3RofB6GEWCQvpn+/BvU X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM2PR0701MB1018: X-MS-Office365-Filtering-Correlation-Id: 756beaec-40bc-4b65-7084-08d4a30a49ae X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081)(201702281549075); SRVR:DM2PR0701MB1018; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0701MB1018; 3:UNV4Mb7pc4hURcPjm9yQUKGErt6r0kvmziJO1B5Pw3HmkJoLfKJsCeW/qd/Dcs1HBlr5q/VbxXmVyjIIJ9EePaYGkK0ocy5mzq9GRpmrMvXQrsOTI6oCvfanWS4Q9lcR8WHF39oTeC37jV4VQqw50/WdyOYw786eCD75kBMNVCtnHSLeikGspRCGOMT7ce8Rm5yQ+qDKOTT7p4SmWNsMkwizuNCPMvtD103Zl7j1P+fJPvamlPi/BCRylZ1n/pFjTj57zx4Vk85Bg8W3se2uOkN2szg+J8g2RgyqCCT1H7fshUMe8/KdxLKkPekET/4jtQT2kwg5Q31jBiXN/tpOrMU8YbsIAO9NgTi5WTu+2KHuiGj54AIytk46xgJgZanTbSB65gxaO+ohuinZmfgfB2Ui2PYHsxVN3hscFzbkyTKP9HJmrF7R68zMDh/zcgEw7K3CpUzQhNGhyaIIxp8m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YS9A7PzIoVBv/VPssXRr7EbTHgISO/YjYvyxfuMr2G9QS8jjoV7ya6/jugWHV+Mfg25Snq1Hygkw9VsYeAMvwy5fgDyRqHJbUQD1D2EUn56x11/mjn9Mxj1Dt+att7uaydNHfA47py6YREo75/9gkZ1YE88D7LSgczVbt4mfm7psz0y0hCUMdru8EojZLKYjArVIa5DPtBXDMSYDK3G5FU3Sx/B469zwuLQyjQ7KyOi0YbH7GdhBkPR6dSmHupeK+DUe745XpcQM/hr/8UQV8gMPmv+JIm4zpQpdjJYi8HKAXp/GXOFVgzdsezUqygDWF3Y3QJep32w X-Microsoft-Antispam-PRVS: <DM2PR0701MB101812E83683FA7A431FB913F5FF0@DM2PR0701MB1018.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(9452136761055); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(13018025)(8121501046)(13016025)(5005006)(93006095)(93001095)(10201501046)(3002001)(6041248)(20161123560025)(20161123555025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123562025)(6072148); SRVR:DM2PR0701MB1018; BCL:0; PCL:0; RULEID:; SRVR:DM2PR0701MB1018; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0701MB1018; 4:NKvWZmnCrFMD1q59pOe9gT0DyGq4I8h/n72HKHY/RH29BNZEgprONoYsccbW0YXR2w9OkrgXyNzDKYRRVUKmgskBWB8EdJdaZ7TWW/mp5kTYPMV1W5KYssMv7OF9HrTpH/L21xHSYukkXTdDmU61LV5Pl6n10SlB+nw31F7MENF1olCj1J/IwZewb6GXPK+ZuV/rXiw1mkCiCLWQATV33G87kMPUocJXivUFwAb6G813kvqeoBpGp5U+ki5VkW0C6NyKPjkZ4EiZpjPtvez/Ouqsyjdd/F9ZaOCf6EelEr18D4bbtuYkliYrv03SYW6ack+J6sVzk7GGweaR56qmyJGO8g4ltLq/OYlwT67lTsVNsxKo37jElwxqKIAyx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wNQ3hRzSlMM3I351cUMDptZUXsnzYsbLzmQBNHPqjzcp2u64JNKEiOwJmH95B3UokswV9UiRUJfNe6/xMnW46URxWWP4dca0wbUHgHFJIONPNqCcWdxJastMlW36JaiEdddB9yNfKIRYtdOc5PgHpgSuMKn782A5NopIlG4BavwVhRi/dXXybOp61KPdJOKpYbaQJ0PBFGUe4uq8qfAh6gkTSlFrziY5lk2Pxtb/Ejwbs2543kySrAth2LUNpHH0s3qwC+S2clt5jUCUCdsYg/WyMoOyJeud2cX3Wqy8dyQ+pZE33KfTkM/PP4/q4kaK6H28Q==; 5:v4GsJNitTkuuoAbZTgbfq0zTJiXjgasY5YiCW+2rMCguM0iJ/D/1BeiqOLiPQTfoFWPO1E+smj4WiLw35l1nVKjq7pdr9vcy30qnU+01fi+IAhE5MwlxWgCbOhbMR7FbtAD0EiyrcV3v88Lr4VbnGQ==; 24:F1pMYzGx3oVDiZxZO7l8J2xQlDp7Tur1wnRjE7f1vKS88hTEnemp3Bu0BlRzaB+0GngX6ZXhT5tadHFElZpiPy91SPA8qN0/b0m0FbO9VmE= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR0701MB1018; 7:HTInqhAcl2hLHrMNCXDXo9m74G1QO7+wJeEDcA0hdohE+phor3PTMPXkd0ZWLOxDL6fP9sJDnVLq59NJoDmmuT9N7OmDPMffIH9uc2SzP+X197TaeWzlLwzWcSDWGR+uazXU/waF/A6jesRIxRj5x97XAtcuLB3ouc8o3Xi2iU22ofLqECb4JHSh3fLqheW3VWSPMaAfqSNOEseryvlEuGVw2DtxG1bDyRJqOhuI1uT9tIOSXLEAxhgGEjNa4sMSZWCvmb541P1nImu4WsBoQWAeSKgKP/0tpuE5GhGn8mWRbdiRvfFeOzSsAddS7BAwnPxIotTNg2ytdKbsPsUoZQ== X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 May 2017 01:06:34.2727 (UTC) 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: DM2PR0701MB1018 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 |
diff --git a/drivers/scsi/qla2xxx/qla_tmpl.c b/drivers/scsi/qla2xxx/qla_tmpl.c index 8a58ef3adab4..c197972a3e2d 100644 --- a/drivers/scsi/qla2xxx/qla_tmpl.c +++ b/drivers/scsi/qla2xxx/qla_tmpl.c @@ -371,7 +371,7 @@ qla27xx_fwdt_entry_t262(struct scsi_qla_host *vha, goto done; } - if (end <= start || start == 0 || end == 0) { + if (end < start || start == 0 || end == 0) { ql_dbg(ql_dbg_misc, vha, 0xd023, "%s: unusable range (start=%x end=%x)\n", __func__, ent->t262.end_addr, ent->t262.start_addr);