From patchwork Wed Feb 13 18:53:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Himanshu Madhani X-Patchwork-Id: 10810721 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 7D32F13B4 for ; Wed, 13 Feb 2019 18:54:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6CE4129569 for ; Wed, 13 Feb 2019 18:54:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6154F2D52D; Wed, 13 Feb 2019 18:54:36 +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,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 D81A929569 for ; Wed, 13 Feb 2019 18:54:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2394298AbfBMSye (ORCPT ); Wed, 13 Feb 2019 13:54:34 -0500 Received: from mail-eopbgr810055.outbound.protection.outlook.com ([40.107.81.55]:6606 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2393881AbfBMSye (ORCPT ); Wed, 13 Feb 2019 13:54:34 -0500 Received: from BYAPR07CA0057.namprd07.prod.outlook.com (2603:10b6:a03:60::34) by DM5PR07MB2905.namprd07.prod.outlook.com (2603:10b6:3:9::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1601.21; Wed, 13 Feb 2019 18:54:32 +0000 Received: from DM3NAM05FT016.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e51::207) by BYAPR07CA0057.outlook.office365.com (2603:10b6:a03:60::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1622.16 via Frontend Transport; Wed, 13 Feb 2019 18:54:32 +0000 Authentication-Results: spf=fail (sender IP is 199.233.58.38) smtp.mailfrom=marvell.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=fail action=none header.from=marvell.com; Received-SPF: Fail (protection.outlook.com: domain of marvell.com does not designate 199.233.58.38 as permitted sender) receiver=protection.outlook.com; client-ip=199.233.58.38; helo=CAEXCH02.caveonetworks.com; Received: from CAEXCH02.caveonetworks.com (199.233.58.38) by DM3NAM05FT016.mail.protection.outlook.com (10.152.98.125) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA) id 15.20.1580.2 via Frontend Transport; Wed, 13 Feb 2019 18:54:31 +0000 Received: from dut1171.mv.qlogic.com (10.112.88.18) by CAEXCH02.caveonetworks.com (10.67.98.110) with Microsoft SMTP Server (TLS) id 14.2.347.0; Wed, 13 Feb 2019 10:53:25 -0800 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 x1DIrPTV021687; Wed, 13 Feb 2019 10:53:25 -0800 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id x1DIrP07021686; Wed, 13 Feb 2019 10:53:25 -0800 From: Himanshu Madhani To: , CC: , Subject: [PATCH v2 00/12] qla2xxx: Misc bug fixes for the driver Date: Wed, 13 Feb 2019 10:53:12 -0800 Message-ID: <20190213185324.21652-1-hmadhani@marvell.com> X-Mailer: git-send-email 2.12.0 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131945576720741718;(abac79dc-c90b-41ba-8033-08d666125e47);(abac79dc-c90b-41ba-8033-08d666125e47) X-Forefront-Antispam-Report: CIP:199.233.58.38;IPV:CAL;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(39860400002)(376002)(346002)(136003)(396003)(2980300002)(1109001)(1110001)(339900001)(199004)(189003)(85426001)(54906003)(48376002)(316002)(36906005)(42186006)(16586007)(110136005)(50466002)(51416003)(80596001)(2616005)(126002)(486006)(26005)(336012)(36756003)(69596002)(1076003)(97736004)(68736007)(476003)(6666004)(356004)(4743002)(105606002)(305945005)(47776003)(4326008)(106466001)(14444005)(86362001)(8936002)(50226002)(2906002)(8676002)(81166006)(81156014)(53936002)(87636003)(26826003)(498600001);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR07MB2905;H:CAEXCH02.caveonetworks.com;FPR:;SPF:Fail;LANG:en;PTR:InfoDomainNonexistent;A:1;MX:1; X-Microsoft-Exchange-Diagnostics: 1;DM3NAM05FT016;1:49rjbav9ibZxGQXn41iKPLTBseUl2M4mQHw8WsXF6Cf7tS2gL6BPc9mlELNicGDzHATmPFCdtySWKYwITOF6Op7rfaRR1zf+e214m7njL4cYE6QpU1YgKMM2MEVNhikp88q6im9EHr0pTovCTIsrNw== X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f8a9865d-b9c6-4436-ba7e-08d691e4b089 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(5600110)(711020)(4605077)(2017052603328);SRVR:DM5PR07MB2905; X-MS-TrafficTypeDiagnostic: DM5PR07MB2905: X-Microsoft-Antispam-PRVS: X-Forefront-PRVS: 094700CA91 X-Microsoft-Exchange-Diagnostics: 1;DM5PR07MB2905;23:WEHqWYvHZtRUkK9gJQpBTqFP0ArsLtz0+1edpNHDGHg+taGiR9/iCOEWU6zKMp8bfbOHDbV0hRSX1rev6+dj/tsSaDHbO9YzPEYBUBogg1yAjQrDh0fGKFKHwG1al4yn6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= X-Microsoft-Antispam-Message-Info: sJ7p8koM7nB6weYY7dOT+KxhkIoXg8Df4U6kh8xQwPwvj6YwIZzTyJzNYzA1om/Hipc84NRj7i6GOD6rj1hb+FfBu09kZkp129XG25VcirMDB6GoPwdhlIsfdWTWHgUF7kYjGBHVbXVr3mgh+KpdL3PS4R7siViMi/gRpn5jLlZ/DAifgQLdXIJOq3Fu8thybI7oyrRAMSiMXsX6bTkRfOi4b0HBuy/fx8l12u7lNUNRlBUTHtlgJqSlC0RCYecZl9bRax0UNVTPu0nGL+wRyS8vC1A0uj7/EaMRUMgsAydNPKu16IvGDOxrDBNmERk6Zt7J4tr6pXH6ipB2mqAK6RVnzBycC6jCMcc6yi9uO07Gv4QK6Iait46XqBh0HDvl+SiXkzwC65YMQUcyDHVP/RePmubNAwcrQCnDQpAZ3Do= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Feb 2019 18:54:31.6398 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f8a9865d-b9c6-4436-ba7e-08d691e4b089 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;Ip=[199.233.58.38];Helo=[CAEXCH02.caveonetworks.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR07MB2905 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 has misc bug fixes which includes cleanup for FC-NVMe code and added first burst support for FC-NVMe devices. Other patches included in the series adds new SysFS hook for setting port speed and patch to prevent access to SysFS hook whle chip is down. Also added workqueue mechanism for deleting fcport when called using BSG interface. Please apply this series to 5.1/scsi-queue at your earliest convenience. Changes from v1 -> v2 o Fixed 0-day kernel warning for patch #2 o Removed stale code which introduced error indicating lock was not acquired and not released in patch #7 Thanks, Himanshu Anil Gurumurthy (1): qla2xxx: Add support for setting port speed Darren Trapp (1): qla2xxx: Add First Burst support for FC-NVMe devices Himanshu Madhani (5): qla2xxx: Fix LUN discovery if loop id is not assigned yet by firmware qla2xxx: Fix unload when NVMe devices are configured qla2xxx: Check for FW started flag before aborting qla2xxx: Fix code indentation for qla27xx_fwdt_entry qla2xxx: Update driver version to 10.00.00.14-k Joe Carnuccio (2): qla2xxx: Add workqueue to delete fcport from bsg sp->free(). qla2xxx: Add new FW dump template entry types Quinn Tran (3): qla2xxx: Prevent multiple ADISC commands per session qla2xxx: Prevent SysFS access when chip is down qla2xxx: Move marker request behind QPair drivers/scsi/qla2xxx/qla_attr.c | 106 +++++++++++++++++ drivers/scsi/qla2xxx/qla_bsg.c | 18 ++- drivers/scsi/qla2xxx/qla_def.h | 11 ++ drivers/scsi/qla2xxx/qla_gbl.h | 5 +- drivers/scsi/qla2xxx/qla_init.c | 64 +++++----- drivers/scsi/qla2xxx/qla_iocb.c | 55 ++++----- drivers/scsi/qla2xxx/qla_isr.c | 9 ++ drivers/scsi/qla2xxx/qla_mbx.c | 85 ++++++++++--- drivers/scsi/qla2xxx/qla_nvme.c | 47 +++++--- drivers/scsi/qla2xxx/qla_nvme.h | 2 +- drivers/scsi/qla2xxx/qla_os.c | 11 ++ drivers/scsi/qla2xxx/qla_tmpl.c | 237 ++++++++++++++++++++++--------------- drivers/scsi/qla2xxx/qla_tmpl.h | 26 +++- drivers/scsi/qla2xxx/qla_version.h | 2 +- 14 files changed, 480 insertions(+), 198 deletions(-)