From patchwork Fri Aug 31 18:24:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Madhani, Himanshu" X-Patchwork-Id: 10584327 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 936CF5A4 for ; Fri, 31 Aug 2018 18:24:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7F6E82C535 for ; Fri, 31 Aug 2018 18:24:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6FFE62C5B3; Fri, 31 Aug 2018 18:24:47 +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 CC9B62C535 for ; Fri, 31 Aug 2018 18:24:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727523AbeHaWd0 (ORCPT ); Fri, 31 Aug 2018 18:33:26 -0400 Received: from mail-eopbgr720075.outbound.protection.outlook.com ([40.107.72.75]:22296 "EHLO NAM05-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727405AbeHaWd0 (ORCPT ); Fri, 31 Aug 2018 18:33:26 -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=P9CcI+JCnBr0J/i1f2urdRWJ634FUqQJc5ZZnM22KUE=; b=Jt4lexQBtyMCt5Q4DXT+vQ1QlEVU5hQrera+eIbk8+rbwHRpelXtyz9XV+q85j9yOuapjEWxlI08yGj9L2xZqb53OCPEr7xUDMmPfgdjAGkMlb6C8pvPBDVFUdFw64X8xrNJ8ZcU4RJ6uBgmmxz+mah2gtoWUJR+yFLXoEVPKBw= Received: from DM5PR07CA0119.namprd07.prod.outlook.com (2603:10b6:4:ae::48) by BYAPR07MB4392.namprd07.prod.outlook.com (2603:10b6:a02:c0::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1080.15; Fri, 31 Aug 2018 18:24:41 +0000 Received: from DM3NAM05FT030.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e51::206) by DM5PR07CA0119.outlook.office365.com (2603:10b6:4:ae::48) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1101.16 via Frontend Transport; Fri, 31 Aug 2018 18:24:41 +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 DM3NAM05FT030.mail.protection.outlook.com (10.152.98.142) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P256) id 15.20.1122.2 via Frontend Transport; Fri, 31 Aug 2018 18:24: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; Fri, 31 Aug 2018 11:24:39 -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 w7VIOdlR024217; Fri, 31 Aug 2018 11:24:39 -0700 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id w7VIOdbn024216; Fri, 31 Aug 2018 11:24:39 -0700 From: Himanshu Madhani To: , CC: , Subject: [PATCH v2 00/14] qla2xxx: Driver updates for scsi-misc Date: Fri, 31 Aug 2018 11:24:25 -0700 Message-ID: <20180831182439.24182-1-himanshu.madhani@cavium.com> X-Mailer: git-send-email 2.12.0 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:50.232.66.26;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(39860400002)(136003)(376002)(346002)(396003)(2980300002)(438002)(199004)(189003)(106466001)(86362001)(4326008)(48376002)(50466002)(15650500001)(47776003)(81156014)(81166006)(356003)(305945005)(8676002)(36756003)(106002)(110136005)(51416003)(54906003)(2906002)(478600001)(87636003)(72206003)(8936002)(42186006)(50226002)(16586007)(316002)(126002)(336012)(14444005)(476003)(80596001)(186003)(2616005)(69596002)(26005)(486006)(1076002)(5660300001)(44832011)(6666003);DIR:OUT;SFP:1101;SCL:1;SRVR:BYAPR07MB4392;H:CAEXCH02.caveonetworks.com;FPR:;SPF:Pass;LANG:en;PTR:50-232-66-26-static.hfc.comcastbusiness.net;A:1;MX:1; X-Microsoft-Exchange-Diagnostics: 1;DM3NAM05FT030;1:G5PNjHuWA4Aan45d3zWEKgTIbioCsQQtYNg+nMy9MSYpvbmvd7xjQjEmRVZv/s479CPp4Wdz0UBrhHm5L/FQpuQ4ESrrtEm1IJnIMBdGQNn1IQHZndDxFCWy30Vfv7tW X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d3d1be7b-430a-47fd-695c-08d60f6f04b1 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4608076)(2017052603328)(7153060);SRVR:BYAPR07MB4392; X-Microsoft-Exchange-Diagnostics: 1;BYAPR07MB4392;3:Rmyuu+e/YBaVcsoGTJGkzWxIybwhPq6axdCZCeEp+d92Kfp0IpXDwLUCbrCp41G2ip75qWZrXxUvUT/II/tf2d9XAcR8jNavl/xKmvSzWPdcT+xp668ktcp7MJ1gUZAYl0Bts7QGBWeuvu3I0xg0dTZbr5MXmHmGeZb3HuWa3R+C/dXDyP8sIOMqa9JT2k15gEiNd5s1b7vkaHZ8pQuk8klUHW0G2gBjWU10nWMi5HsSlwLsp7Xu8SfAEYP8Z8IZ0a8aQC+4JH+0BQvzY9JX+j+OHhyI2VSdR5dFqpYpklf9AIZir/QdM1G5CzKwFNX3VnRRBrXRZgm+bZggCQXufGoRjpbTAgoU2Jx7FD7v4oU=;25:2GhAqC2ePoK3iMGY0XnF/hIy6apoRXdygFWGoBAZTznVJWkJ+KeQdZp68o464wXZj4bSRNOWLlC5EoDXrskoJKtm8+DKiEqVwu6aRknzBAt9Zvg2FlatyCQMulbp7y0gqLfQ0yf733F2Li7p5PgllTD13nk8IJTIOOxZNw60H0QUxjdllFk7HS5fJToJIHsxPH1d6L2VQVq/C1ziCz+NYYcv9JYPsMQ1zc8insiMvj31blBZdH/9vFhm4eAEDQFQXW+CNY4tse/RpvmZTIJ8vcQz/HKXAAW4SKkfByUXJdMByBkcg7lKJu7R9vCj8rArj23S0cVccvdVjBpVPpChqw== X-MS-TrafficTypeDiagnostic: BYAPR07MB4392: X-Microsoft-Exchange-Diagnostics: 1;BYAPR07MB4392;31:rgkmNyv9ZHVjbk9SZ/D4OowDwVOYCYqMnjGGRxyZfx/0m3gzvW+GVbk61JgROPos1+3tq0Zvpi7+QwbwcVcB2Zk85plO9un0KMJXZYboN+62zjHKPJFEs1Tm86RG4RRwhlrBSVQVPMzKTwFqOH9U4FD43HajK9iq7uRWD4YYfuPN94hvsA/W2Qq+0s6NH1wTPGhqooSKmUuJ7KF3+7nzzDmxejPKdRGsX7IiAowBU1w=;20:MqjpcjAlpMxFmIu9rgxt7pLkmiDW9Y4Wy3O2LB4ixXmcpS4WyvabGulYqM1u048Ay2pu8LvwOrzb2PQfIDXkGPkrEyYW78AXV8Ew3G0hkEAMuIRJz7tRvwDQ6mY7Y78re0Ta3rk3nGaKHV5J7k2UT77KbM/J8dbVsbolRUrU8iDlCivtQ/hzcdDekwCXr8B9lKLkdpAqn8fOAaotcWiDfNZFkpZmrHCpSDiN5GFtK8809t0KNUs1QSNS9mH7zuImzBFD/59JHqWLFLeZRpbPv/+tSGHuTSgtA5lgo0wIcLNPaF2clwWx4MWFyovHmc5XxDtL5B+BVFulP3CSzFz9GcoXrvZgAf583hkcIJ4BXe2Ur+WdIwWXSDi0lxxk9YPmwpBkBEBJiwCSDC/V3olYv5ScVho6LS7UAJrtxMcA70Khzui/NMXZasX01xUQ8fBj2SiOUlSqFE5bwge+ahiVj3uEf26pKDdwtQz0MRV8XW7HVJjdUldLqqoaP4F7xRKM X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231311)(944501410)(52105095)(3002001)(10201501046)(93006095)(93004095)(149027)(150027)(6041310)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699016);SRVR:BYAPR07MB4392;BCL:0;PCL:0;RULEID:;SRVR:BYAPR07MB4392; X-Microsoft-Exchange-Diagnostics: 1;BYAPR07MB4392;4:ElhKiuwpGfNjGfO1f9ZVlp1mUH30n7s1YTlIzLzG3CSPBCqrTjSnFzf6eCmrn5/Cwq7WYmMjO2bRGiMGfpVWb3EmPED3zFRGr+gOJxO8aP66kc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B6H3sPUe10EI/GAR9o2EWQHB+JmTRZ5h7jG4zaH2t+bIwU+FB+Q5XlEYQDypSQ+UKCKdbisiRLECcmg/10z35wmrQ==;5:KBNS0DShJqvdTZ/tD/7JZupr2VH8vg5F4s2ZcJQHFCeLvKaIIVhrwdgmPaabtZFSK1SHuKNroJjo5bkEzMjYu6BuLRzCOhw+cn2wWYIHs2Q4HrV35wBDVW+2eKuS9vWvDTzmFIdi0W3mtsd0DUWflGjJcCZv5pDfZ+teDTvM3as=;7:CdfkQncllV1uo0G2HvMOIi3T+fy5gmTye80XbQlZn3/RfJwk5luwfqFpTAgAWJyjwhBInFFqSB3Qqsfi+ucr2RyT1jpN/E8krRmVl84hFW//jldCHiUlDXHOri9lfCwmqEZ1PrJJK5XS4NeNY849mB99qVSh/bFCXBOF3sx1GHwbP5g4HfcrFS3vXBLgRXaT+GksahYHsZJLEvn6HPnyMRUttjl+98RfGkxOsvGSFhrxzNoYkeWErCp6u/8cwNJs SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Aug 2018 18:24:41.0900 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d3d1be7b-430a-47fd-695c-08d60f6f04b1 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: BYAPR07MB4392 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 Hi Martin, This series updates driver for ABTS handling and rport management. Please queue this patches to 4.20/scsi-misc at your earliest convenience. Changes from v1 -> v2 o Fixed sparse warning in patch #3. Thanks, Himanshu Himanshu Madhani (2): qla2xxx: Fix incorrect port speed being set for FC adapters qla2xxx: Update driver to version 10.00.00.09-k Quinn Tran (12): qla2xxx: Fix process response queue for ISP26XX and above qla2xxx: Use correct qpair for ABTS/CMD qla2xxx: Update rscn_rcvd field to more meaningful scan_needed qla2xxx: Remove redundant check for fcport deletion qla2xxx: Move rport registration out of internal work_list qla2xxx: Decrement login retry count for only plogi qla2xxx: Turn off IOCB timeout timer on IOCB completion qla2xxx: Force fw cleanup on ADISC error qla2xxx: Remove all rports if fabric scan retry fails qla2xxx: Fix iIDMA error qla2xxx: Defer chip reset until target mode is enabled qla2xxx: Terminate Plogi/PRLI if WWN is 0 drivers/scsi/qla2xxx/qla_def.h | 8 +- drivers/scsi/qla2xxx/qla_gbl.h | 5 +- drivers/scsi/qla2xxx/qla_gs.c | 212 +++++++++++++++---------------------- drivers/scsi/qla2xxx/qla_init.c | 106 +++++++++++++------ drivers/scsi/qla2xxx/qla_iocb.c | 29 ++--- drivers/scsi/qla2xxx/qla_mbx.c | 5 +- drivers/scsi/qla2xxx/qla_os.c | 54 +++++++--- drivers/scsi/qla2xxx/qla_target.c | 89 +++++++++++++--- drivers/scsi/qla2xxx/qla_version.h | 2 +- 9 files changed, 283 insertions(+), 227 deletions(-)