From patchwork Fri Mar 8 05:16:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Himanshu Madhani X-Patchwork-Id: 10844179 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 0FF3E14DE for ; Fri, 8 Mar 2019 05:18:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E603F2EA99 for ; Fri, 8 Mar 2019 05:18:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DA7C42EAD9; Fri, 8 Mar 2019 05:18:19 +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 C88F22EACC for ; Fri, 8 Mar 2019 05:18:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726238AbfCHFSR (ORCPT ); Fri, 8 Mar 2019 00:18:17 -0500 Received: from mail-eopbgr680043.outbound.protection.outlook.com ([40.107.68.43]:61279 "EHLO NAM04-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725766AbfCHFSR (ORCPT ); Fri, 8 Mar 2019 00:18:17 -0500 Received: from DM6PR07CA0017.namprd07.prod.outlook.com (2603:10b6:5:94::30) by DM6PR07MB4764.namprd07.prod.outlook.com (2603:10b6:5:a1::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1686.18; Fri, 8 Mar 2019 05:18:14 +0000 Received: from CO1NAM05FT023.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e50::205) by DM6PR07CA0017.outlook.office365.com (2603:10b6:5:94::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1686.17 via Frontend Transport; Fri, 8 Mar 2019 05:18:13 +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 CO1NAM05FT023.mail.protection.outlook.com (10.152.96.131) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA) id 15.20.1686.5 via Frontend Transport; Fri, 8 Mar 2019 05:18:13 +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; Thu, 7 Mar 2019 21:17:05 -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 x285H4wK030787; Thu, 7 Mar 2019 21:17:04 -0800 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id x285H4pE030786; Thu, 7 Mar 2019 21:17:04 -0800 From: Himanshu Madhani To: , CC: , Subject: [PATCH 00/14] qla2xxx: Add support for ISP28XX (Gen7) adapter Date: Thu, 7 Mar 2019 21:16:50 -0800 Message-ID: <20190308051704.30752-1-hmadhani@marvell.com> X-Mailer: git-send-email 2.12.0 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131964958938257697;(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)(1109001)(1110001)(339900001)(189003)(199004)(106466001)(8676002)(81166006)(81156014)(105606002)(4326008)(126002)(68736007)(2906002)(486006)(8936002)(476003)(2616005)(47776003)(50226002)(53936002)(1076003)(26826003)(498600001)(87636003)(85426001)(48376002)(5660300002)(36756003)(50466002)(36906005)(336012)(26005)(14444005)(316002)(16586007)(110136005)(42186006)(51416003)(54906003)(97736004)(80596001)(6666004)(69596002)(86362001)(356004)(305945005);DIR:OUT;SFP:1101;SCL:1;SRVR:DM6PR07MB4764;H:CAEXCH02.caveonetworks.com;FPR:;SPF:Fail;LANG:en;PTR:InfoDomainNonexistent;MX:1;A:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 19689cc2-e071-44e0-0b8e-08d6a38576c7 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(5600127)(711020)(4605104)(2017052603328);SRVR:DM6PR07MB4764; X-MS-TrafficTypeDiagnostic: DM6PR07MB4764: X-Microsoft-Antispam-PRVS: X-Forefront-PRVS: 0970508454 X-Microsoft-Exchange-Diagnostics: 1;DM6PR07MB4764;23:R8o+9PhN8s2Smwlf+53NyRlflkhMhCLwJ03wsBHR4FsTaU+h93Smvs1s+HKkPwcLFZCrEtEvw6pyAiwUFMa9W+3Roh1+QOLGhVIVRNFJEXF5LfyDKjGXqRCX6QjEP1XEDJ+f3SDpfsLerdYVPk3KWYLSefJkYr6uDR1gE0xKwX0zeBG8GiBbzSk3sey5NI5/NiOsAOVq8LAobIXA6FVSQGTO7E+sLugzU0VSKF46p4zzT6yF56vp+W9m+Qoc/L5nCKGqV4D/143nys3ugXGZDgNEktSD4/Cq2oVAIJMdf8fCppQ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5qVwTHgLtQke76+5Yn7CsAla1J3s3Xn0NE6Hpn7xp3NpuRxfuJ8v2YqVxs80zF+u2ToKGbq3AylcyMSddqx8YtdRqF5crk+LxRQb1ZwC40bz3mskOvqrPM8rahXsTH8Sw3fsBbQ8t4cjHmos2RJB+9AQfVVFLbh0jQv73VjjvDBlsvcAPLbTkGAOUsIRQJLSrQQmK/FwC9/kqEKBVHtiGJFv91g7dJnaz1hNFhgdrW1BFbim2aKwKvDj1L0HyrqirVZPmWVMidMJRl14oJHTEe+mpOYP9e5n25Y3cJNrc= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2019 05:18:13.5305 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 19689cc2-e071-44e0-0b8e-08d6a38576c7 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: DM6PR07MB4764 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 patch series adds support for our next generation ISP28XX (Gen7) adapter. Patch 1-3 adds SysFS node and misc cleanup in fw dump routines. Patch 4-5 adds PCI IDs and serdes support for ISP28XX (Gen7) adapter. Patch 6-11 cleans up overall firmware dump handling to prepare for new feature. Patch 12 adds support for Primary/Secondary firmware images in the flash. Patch 13 adds capability for secure flash update for ISP28XX (Gen7) adapter. Please consider this series for 5.2/scsi-queue branch at your earliest convenience. Thanks, Himanshu Himanshu Madhani (1): qla2xxx: Update driver version to 10.01.00.15-k Joe Carnuccio (12): qla2xxx: Add fw_attr and port_no SysFS node qla2xxx: Remove FW default template qla2xxx: Fix routine qla27xx_dump_{mpi|ram}(). qla2xxx: Add Device ID for ISP28XX qla2xxx: Add Serdes support for ISP28XX qla2xxx: Correctly report max/min supported speeds qla2xxx: Cleanups for NVRAM/Flash read/write path qla2xxx: Add support for multiple fwdump templates/segments qla2xxx: Update flash read/write routine qla2xxx: Correction and improvement to fwdt processing qla2xxx: Simplification of register address used in qla_tmpl.c qla2xxx: Add 28xx flash primary/secondary status/image mechanism Michael Hernandez (1): qla2xxx: Secure flash update support for ISP28XX drivers/scsi/qla2xxx/qla_attr.c | 274 +++++++--- drivers/scsi/qla2xxx/qla_bsg.c | 63 ++- drivers/scsi/qla2xxx/qla_bsg.h | 11 + drivers/scsi/qla2xxx/qla_dbg.c | 190 ++++--- drivers/scsi/qla2xxx/qla_dbg.h | 10 +- drivers/scsi/qla2xxx/qla_def.h | 186 +++++-- drivers/scsi/qla2xxx/qla_dfs.c | 6 +- drivers/scsi/qla2xxx/qla_fw.h | 31 +- drivers/scsi/qla2xxx/qla_gbl.h | 91 ++-- drivers/scsi/qla2xxx/qla_gs.c | 85 ++- drivers/scsi/qla2xxx/qla_init.c | 1027 ++++++++++++++++++++++-------------- drivers/scsi/qla2xxx/qla_iocb.c | 5 +- drivers/scsi/qla2xxx/qla_isr.c | 30 +- drivers/scsi/qla2xxx/qla_mbx.c | 319 ++++++++--- drivers/scsi/qla2xxx/qla_mr.c | 46 +- drivers/scsi/qla2xxx/qla_nx.c | 17 +- drivers/scsi/qla2xxx/qla_nx2.c | 8 +- drivers/scsi/qla2xxx/qla_os.c | 121 ++++- drivers/scsi/qla2xxx/qla_sup.c | 970 +++++++++++++++++++++++----------- drivers/scsi/qla2xxx/qla_target.c | 7 +- drivers/scsi/qla2xxx/qla_tmpl.c | 450 +++++++--------- drivers/scsi/qla2xxx/qla_tmpl.h | 2 +- drivers/scsi/qla2xxx/qla_version.h | 4 +- 23 files changed, 2491 insertions(+), 1462 deletions(-)