From patchwork Tue Apr 2 21:24:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Himanshu Madhani X-Patchwork-Id: 10882347 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 AD92B17EE for ; Tue, 2 Apr 2019 21:25:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9AE0E288BA for ; Tue, 2 Apr 2019 21:25:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8EF07288E1; Tue, 2 Apr 2019 21:25:46 +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 35910288BA for ; Tue, 2 Apr 2019 21:25:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726656AbfDBVZp (ORCPT ); Tue, 2 Apr 2019 17:25:45 -0400 Received: from mail-eopbgr740058.outbound.protection.outlook.com ([40.107.74.58]:41977 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725857AbfDBVZp (ORCPT ); Tue, 2 Apr 2019 17:25:45 -0400 Received: from BN8PR07CA0012.namprd07.prod.outlook.com (2603:10b6:408:ac::25) by BYAPR07MB5366.namprd07.prod.outlook.com (2603:10b6:a03:64::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1750.17; Tue, 2 Apr 2019 21:25:43 +0000 Received: from CO1NAM05FT044.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e50::208) by BN8PR07CA0012.outlook.office365.com (2603:10b6:408:ac::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1750.15 via Frontend Transport; Tue, 2 Apr 2019 21:25:43 +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 CO1NAM05FT044.mail.protection.outlook.com (10.152.96.158) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA) id 15.20.1771.6 via Frontend Transport; Tue, 2 Apr 2019 21:25:42 +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, 2 Apr 2019 14:24:35 -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 x32LOZ0N028504; Tue, 2 Apr 2019 14:24:35 -0700 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id x32LOZFd028503; Tue, 2 Apr 2019 14:24:35 -0700 From: Himanshu Madhani To: , CC: , Subject: [PATCH v2 00/15] qla2xxx: Misc updates and bug fixes for the driver. Date: Tue, 2 Apr 2019 14:24:19 -0700 Message-ID: <20190402212434.28469-1-hmadhani@marvell.com> X-Mailer: git-send-email 2.12.0 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131987139427956754;(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)(346002)(396003)(376002)(39860400002)(136003)(2980300002)(1110001)(1109001)(339900001)(199004)(189003)(476003)(14444005)(356004)(6666004)(81156014)(85426001)(1076003)(126002)(86362001)(26826003)(15650500001)(97736004)(80596001)(36906005)(110136005)(48376002)(316002)(305945005)(54906003)(47776003)(50466002)(42186006)(16586007)(53936002)(69596002)(50226002)(105606002)(486006)(2906002)(106466001)(4326008)(8676002)(336012)(2616005)(36756003)(68736007)(26005)(87636003)(51416003)(81166006)(498600001)(5660300002)(8936002);DIR:OUT;SFP:1101;SCL:1;SRVR:BYAPR07MB5366;H:CAEXCH02.caveonetworks.com;FPR:;SPF:Fail;LANG:en;PTR:InfoDomainNonexistent;A:1;MX:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 106a10eb-7d38-4a04-82c8-08d6b7b1c2fc X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(5600139)(711020)(4605104)(2017052603328);SRVR:BYAPR07MB5366; X-MS-TrafficTypeDiagnostic: BYAPR07MB5366: X-Microsoft-Antispam-PRVS: X-Forefront-PRVS: 0995196AA2 X-Microsoft-Antispam-Message-Info: orl+S+C8jR/ZmiVDl10pJ6W4sYsjJwDRtgJ6pGGDw1hrd4SpFiFOphi1+8oo9koL0s1tm70b+dmL18JyLdUA9s7v3GpZOgsmfyizPQ9ObO+XqMzQld2c0pNIrDTPj/mtXdz1l7z0/pAI67ORLkTWdKmUtSbzEK9p6e7SCvkt6wX7YdU/Sk7p3UN/C0bJk6TM+8s9feUh9hb3XnZZoqgVP0P+8hEqE6t4mja8g+vdN9lQJm+eI5YjCa8/cyAL9fq9havRy55hSwKOTI+bDvPAnKU843jKW6SVTj37fe3jQ+7pwBTAHJ9iLC8Zy5iksrO2NlkuOdX+mPvrtScex6HPFkVN5Y8fcFKOdFXwadDMpju//vxtxCklj59FDkskFABrF5PxHmtBneBGWj7GyVl+wnmue6nQShIpQgifInnHhmg= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Apr 2019 21:25:42.5004 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 106a10eb-7d38-4a04-82c8-08d6b7b1c2fc 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: BYAPR07MB5366 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 adds misc bug fixes for FC-NVMe and command abort handling in the driver. In addition couple patches addresses firmware dump corruption by driver as well as flash corruption due to incorrect size setting via SysFS path. Please apply this series to 5.2/scsi-queue at your earliest convenience. Changes from v1 -> v2 o Updated commit message for Patch 1,2 and 3. Thanks, Himanshu Andrew Vasquez (2): qla2xxx: Fix incorrect region-size setting in optrom SYSFS routines. qla2xxx: Further limit FLASH region write access from SysFS Anil Gurumurthy (1): qla2xxx: Cleanup redundant qla2x00_abort_all_cmds during unload Giridhar Malavali (8): qla2xxx: Set the SCSI command result before calling the command done qla2xxx: Set the qpair in SRB to NULL when SRB is released qla2xxx: Reset the FCF_ASYNC_{SENT|ACTIVE} flags qla2xxx: Increase the max_sgl_segments to 1024 qla2xxx: Disable T10-DIF feature with FC-NVMe during probe qla2xxx: Set remote port devloss timeout to 0 qla2xxx: Fix driver unload when FC-NVMe LUNs are connected qla2xxx: Change abort wait_loop from msleep to wait_event_timeout Himanshu Madhani (1): qla2xxx: Update driver version to 10.01.00.16-k Quinn Tran (3): qla2xxx: Fix fw dump corruption qla2xxx: Use mutex protection during qla2x00_sysfs_read_fw_dump() qla2xxx: Cleanup fcport memory to prevent leak drivers/scsi/qla2xxx/qla_attr.c | 37 +++++++------ drivers/scsi/qla2xxx/qla_def.h | 3 +- drivers/scsi/qla2xxx/qla_gs.c | 3 ++ drivers/scsi/qla2xxx/qla_init.c | 88 ++++++++++++++++++++----------- drivers/scsi/qla2xxx/qla_inline.h | 1 + drivers/scsi/qla2xxx/qla_nvme.c | 50 +++++++++++------- drivers/scsi/qla2xxx/qla_os.c | 105 ++++++++++++++++++++----------------- drivers/scsi/qla2xxx/qla_version.h | 2 +- 8 files changed, 172 insertions(+), 117 deletions(-)