From patchwork Tue Feb 12 23:40:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Himanshu Madhani X-Patchwork-Id: 10808937 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 068D11390 for ; Tue, 12 Feb 2019 23:42:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EA6C02C080 for ; Tue, 12 Feb 2019 23:42:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DED072C083; Tue, 12 Feb 2019 23:42:00 +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 7C6842C080 for ; Tue, 12 Feb 2019 23:42:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732145AbfBLXmA (ORCPT ); Tue, 12 Feb 2019 18:42:00 -0500 Received: from mail-eopbgr720063.outbound.protection.outlook.com ([40.107.72.63]:42501 "EHLO NAM05-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728579AbfBLXl7 (ORCPT ); Tue, 12 Feb 2019 18:41:59 -0500 Received: from DM6PR07CA0062.namprd07.prod.outlook.com (2603:10b6:5:74::39) by CY1PR0701MB1930.namprd07.prod.outlook.com (2a01:111:e400:58fa::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1622.16; Tue, 12 Feb 2019 23:41:57 +0000 Received: from CO1NAM05FT054.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e50::209) by DM6PR07CA0062.outlook.office365.com (2603:10b6:5:74::39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1601.19 via Frontend Transport; Tue, 12 Feb 2019 23:41:57 +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 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) id 15.20.1580.2 via Frontend Transport; Tue, 12 Feb 2019 23:41:56 +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; Tue, 12 Feb 2019 15:40:47 -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 x1CNelr7029845; Tue, 12 Feb 2019 15:40:47 -0800 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id x1CNel7q029844; Tue, 12 Feb 2019 15:40:47 -0800 From: Himanshu Madhani To: , CC: , Subject: [PATCH 00/12] qla2xxx: Misc bug fixes for the driver Date: Tue, 12 Feb 2019 15:40:34 -0800 Message-ID: <20190212234046.29809-1-hmadhani@marvell.com> X-Mailer: git-send-email 2.12.0 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131944885171001306;(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)(376002)(39860400002)(136003)(396003)(346002)(2980300002)(1110001)(1109001)(339900001)(199004)(189003)(2616005)(14444005)(106466001)(86362001)(105606002)(476003)(85426001)(69596002)(486006)(4743002)(51416003)(80596001)(87636003)(2906002)(53936002)(26826003)(50226002)(498600001)(26005)(336012)(356004)(6666004)(81156014)(16586007)(42186006)(110136005)(54906003)(1076003)(81166006)(8676002)(316002)(4326008)(36906005)(97736004)(48376002)(36756003)(68736007)(50466002)(126002)(305945005)(47776003)(8936002);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR0701MB1930;H:CAEXCH02.caveonetworks.com;FPR:;SPF:Fail;LANG:en;PTR:InfoDomainNonexistent;A:1;MX:1; X-Microsoft-Exchange-Diagnostics: 1;CO1NAM05FT054;1:sMi1Pi0AiZls/WR/CyJpy9eAjPfb1hd9WqI7scDrw0ynA8Evf40jan7wyEhJKaogOpPpebVlp1pDrdLitcXEbkzdAA1Uvq6B1ZPcpqLyMWFatg12m815/M+K3Ef93yJAq3Cbyktv+MAFcGD6jGJ4QiW7VnlUsk+Ryf8UMrFmRXI= X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3e60f886-c6b0-4aaa-c9b6-08d69143ad02 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(5600110)(711020)(4605077)(2017052603328);SRVR:CY1PR0701MB1930; X-MS-TrafficTypeDiagnostic: CY1PR0701MB1930: X-Microsoft-Antispam-PRVS: X-Forefront-PRVS: 0946DC87A1 X-Microsoft-Exchange-Diagnostics: 1;CY1PR0701MB1930;23:HHZ0XuEnOtA/4LCa5FYW6gtVQid3bJG5FqRO+n3osr2jdCZpwGRNGPeNBwbKHKIXDsX8yR0ZJ95v2LM/9SYFiYA7az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pk//0cRwRu9WtUV3fN854i/I4xCXc1ZJJ2Yr3BJwBk= X-Microsoft-Antispam-Message-Info: na+avkIiA7Vp81rl6f1ZTZ9/Ws7g4FMnF40KE7Ejs5Y20augNgNDMRiiIRpyPy8s2a7bJD77iOGQDfrRw5YWc9hhgee7HRHNId+TTGZo6FFQm5lXaF1oYOL8NM/q52lDI5qFYnTo3x0tFJhQIlj0TmK+rOps0RXMTNmYyX+VhtJnSoQnQZdYYsuQNzjaRU/f7d+9EezXuPN8vyBS34pBPK7/oGptdDRfjGFGqMDXvX5F8Z7tVMyqaGvWBX3azriZwfMVt+2UZjFi6cYfDuRN3OcReYTnHVh/MiDcoxP+Ix/SP51RAaWGm0QS3aWdRBeKHRnyWBC/we7GKxjmu5pA3KwXup8UPZYj/GkhsozQBVtMSKwS6UnmOkjr5VLzXTXH6vlbMamvw/erLA8PSPDeDqNDSmC+DYECEc7kuz4VPl4= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Feb 2019 23:41:56.8058 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3e60f886-c6b0-4aaa-c9b6-08d69143ad02 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: CY1PR0701MB1930 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. 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 | 109 +++++++++++++++++ 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 | 45 ++++--- 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, 483 insertions(+), 196 deletions(-)