From patchwork Fri Mar 8 23:11:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Himanshu Madhani X-Patchwork-Id: 10845599 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 B97B54B6B for ; Fri, 8 Mar 2019 23:13:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A5CB0308AB for ; Fri, 8 Mar 2019 23:13:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9A61D308B0; Fri, 8 Mar 2019 23:13:16 +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 87F94308B2 for ; Fri, 8 Mar 2019 23:13:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726542AbfCHXNP (ORCPT ); Fri, 8 Mar 2019 18:13:15 -0500 Received: from mail-eopbgr710080.outbound.protection.outlook.com ([40.107.71.80]:20896 "EHLO NAM05-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726439AbfCHXNO (ORCPT ); Fri, 8 Mar 2019 18:13:14 -0500 Received: from DM6PR07CA0070.namprd07.prod.outlook.com (2603:10b6:5:74::47) by BN3PR07MB2531.namprd07.prod.outlook.com (2a01:111:e400:7bba::17) 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 23:12:32 +0000 Received: from BY2NAM05FT061.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e52::203) by DM6PR07CA0070.outlook.office365.com (2603:10b6:5:74::47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1686.18 via Frontend Transport; Fri, 8 Mar 2019 23:12:31 +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 BY2NAM05FT061.mail.protection.outlook.com (10.152.100.198) 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 23:12: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; Fri, 8 Mar 2019 15:11:23 -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 x28NBNSW019263; Fri, 8 Mar 2019 15:11:23 -0800 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id x28NBNcr019262; Fri, 8 Mar 2019 15:11:23 -0800 From: Himanshu Madhani To: , CC: , Subject: [PATCH v2 00/14] qla2xxx: Add support for ISP28XX (Gen7) adapter Date: Fri, 8 Mar 2019 15:11:09 -0800 Message-ID: <20190308231123.19228-1-hmadhani@marvell.com> X-Mailer: git-send-email 2.12.0 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131965603517937391;(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)(396003)(136003)(346002)(2980300002)(1109001)(1110001)(339900001)(189003)(199004)(53936002)(36906005)(50466002)(80596001)(50226002)(106466001)(305945005)(86362001)(105606002)(4326008)(48376002)(316002)(16586007)(42186006)(54906003)(110136005)(69596002)(85426001)(26005)(68736007)(336012)(47776003)(356004)(6666004)(8936002)(486006)(2616005)(476003)(97736004)(14444005)(51416003)(36756003)(126002)(1076003)(2906002)(8676002)(87636003)(498600001)(26826003)(81166006)(81156014)(5660300002);DIR:OUT;SFP:1101;SCL:1;SRVR:BN3PR07MB2531;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: bfdd06f4-b8b3-48ee-413d-08d6a41b8ab8 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(5600127)(711020)(4605104)(2017052603328);SRVR:BN3PR07MB2531; X-MS-TrafficTypeDiagnostic: BN3PR07MB2531: X-Microsoft-Antispam-PRVS: X-Forefront-PRVS: 0970508454 X-Microsoft-Exchange-Diagnostics: 1;BN3PR07MB2531;23:mZFnSIQf4mPsvV9zT43HY3A7g1hm3ymNfqj7bQdOuXY5oJs3ymJ5I7NaUhyUjzXP3Jy7VgueDJpbCH3hvi5o0G3UwlhqjrnVfQBQcbeYfK980VYdG/3WwP14/dLgnsVEQiv9Uxh5bNVycR9nwp9YDTTFy3iqNWdQbBXiBG7iOPXSNoxxejXZlfx/nQhS4zahDxatoNcSzVmJZ37fRKNs0G74Boo3+CKl+oYxYnbogq4lE90OaguDEccvJ7ZAbWZxa3hf3jtKVM60/smlInKb78ox1u2SYQwyXZRvwo/ZH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LhybLDECk4O1UlsB9qsUtqUnNbTBeNaXz4i6SitUqzzgLlJ+FYkMFOFFYIr5PeXv2ww5rYg4CfTeT3eOnN4i1hZofhhf2d352nLq+0yB4OsJDFzf8xmns5oFaistVjbhgoZRKd1nkXFlawEbzhTTo6ORlBd1+p4uI2iHgCoYJMBjCFvsq3ZKm9ANSqagi14Pd5JpbRwoqGvFhCiw6rVZKMxnnocHLh7g+2Kw6tLdbofPGClduVLLRvYQntQ9GBHWN65bJ7MG7cbP2jdRjC9rkatNLEGLthibBw= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2019 23:12:31.5385 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bfdd06f4-b8b3-48ee-413d-08d6a41b8ab8 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: BN3PR07MB2531 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. Changes from v1 -> v2 o Fixed 0-day kernel warnings for patch #7, #8, #9 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_inline.h | 14 + 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 | 423 +++++++-------- drivers/scsi/qla2xxx/qla_tmpl.h | 2 +- drivers/scsi/qla2xxx/qla_version.h | 4 +- 24 files changed, 2489 insertions(+), 1451 deletions(-)