From patchwork Mon Mar 11 18:03:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Himanshu Madhani X-Patchwork-Id: 10847939 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 5E9A2139A for ; Mon, 11 Mar 2019 18:05:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 48BAC29291 for ; Mon, 11 Mar 2019 18:05:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 38F2B292C2; Mon, 11 Mar 2019 18:05:10 +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 B7EE729291 for ; Mon, 11 Mar 2019 18:05:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727569AbfCKSFJ (ORCPT ); Mon, 11 Mar 2019 14:05:09 -0400 Received: from mail-eopbgr780040.outbound.protection.outlook.com ([40.107.78.40]:44384 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727008AbfCKSFJ (ORCPT ); Mon, 11 Mar 2019 14:05:09 -0400 Received: from DM6PR07CA0038.namprd07.prod.outlook.com (2603:10b6:5:74::15) by MW2PR07MB4026.namprd07.prod.outlook.com (2603:10b6:907:6::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1686.19; Mon, 11 Mar 2019 18:05:06 +0000 Received: from DM3NAM05FT010.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e51::201) by DM6PR07CA0038.outlook.office365.com (2603:10b6:5:74::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1686.18 via Frontend Transport; Mon, 11 Mar 2019 18:05:06 +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 DM3NAM05FT010.mail.protection.outlook.com (10.152.98.117) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA) id 15.20.1709.11 via Frontend Transport; Mon, 11 Mar 2019 18:05:05 +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; Mon, 11 Mar 2019 11:04:01 -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 x2BI40CF030311; Mon, 11 Mar 2019 11:04:00 -0700 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id x2BI3xBw030310; Mon, 11 Mar 2019 11:03:59 -0700 From: Himanshu Madhani To: , CC: , Subject: [PATCH v3 00/14] qla2xxx: Add support for ISP28XX (Gen7) adapter Date: Mon, 11 Mar 2019 11:03:45 -0700 Message-ID: <20190311180359.30276-1-hmadhani@marvell.com> X-Mailer: git-send-email 2.12.0 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131968011060439859;(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)(39850400004)(346002)(136003)(396003)(376002)(2980300002)(1109001)(1110001)(339900001)(199004)(189003)(54906003)(68736007)(50226002)(110136005)(8936002)(356004)(6666004)(105606002)(47776003)(2906002)(476003)(2616005)(126002)(86362001)(50466002)(106466001)(498600001)(486006)(87636003)(51416003)(5660300002)(48376002)(26005)(336012)(36756003)(4326008)(97736004)(80596001)(1076003)(305945005)(81166006)(81156014)(8676002)(42186006)(16586007)(316002)(53936002)(26826003)(85426001)(36906005)(69596002)(14444005);DIR:OUT;SFP:1101;SCL:1;SRVR:MW2PR07MB4026;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: e4e04807-86dd-49ad-c912-08d6a64c1762 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(5600127)(711020)(4605104)(2017052603328);SRVR:MW2PR07MB4026; X-MS-TrafficTypeDiagnostic: MW2PR07MB4026: X-Microsoft-Antispam-PRVS: X-Forefront-PRVS: 09730BD177 X-Microsoft-Exchange-Diagnostics: 1;MW2PR07MB4026;23:Os4wCh3yzvuMlaIi162rzQ/+o+u0Ky7XVtv+VeMhVA45owLCAxqPDEPB5n9eXMDeJ9/R385UFNNHfslIXfF9L3DWYrBOjP22mqeT8XNRz/awp6ncUVpUVRny7QHI3rSZTZLhz/oou032YSL0kg0L/ZIObYhXpxheRQJyTZtkGSbQuDbt7JDg4+KD9dyt0P1qgbGjGbsc7szl/0OfQXNegevZc28CF/VKGxDf+DVda2d6XBJfMlNi2BLuacHA7oS8Baj9Dr4L2uDm2lxcKjIXDzwVQkYddbbsLd5s7jYfqEdMnTq5h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JEMDJqnno6G5UDM/5cx2wQRWz//88Yf4gf9BG/q4Xti3rKs91lOq/jIswX2u4ERaodK4W7g08QHKbXBk758Qv6hmtKZX3vt9p6aDRcffkxiqUV7bEdMCeTL08jbZxnKCYSp1DUF0Q9hLvG4krt6CuGKPlD0Dm0t11Gawc+2iuqhTh1vo+9ZpfHH+g+v+h1dfsu5q4wqCWVxrV/WcQEMvKgdo82eFvBq9mrKSFsqTtLeZcwJAzihrk2WqY9eAGNPkFQSV3QVfdrmCFm+RENlWQvc4Tp5eI0Dk+JQFLEA= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Mar 2019 18:05:05.6196 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e4e04807-86dd-49ad-c912-08d6a64c1762 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: MW2PR07MB4026 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 v2 -> v3 o Fixed more 0-day kernel warnings for patch #7 and #8. 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 | 1029 ++++++++++++++++++++++-------------- 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 | 429 +++++++-------- drivers/scsi/qla2xxx/qla_tmpl.h | 70 +-- drivers/scsi/qla2xxx/qla_version.h | 4 +- 23 files changed, 2514 insertions(+), 1488 deletions(-)