From patchwork Thu Apr 2 20:14:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Lane X-Patchwork-Id: 1265774 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48tZ6g2rQDz9sPF; Fri, 3 Apr 2020 07:14:49 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1jK6Ed-0000oo-AJ; Thu, 02 Apr 2020 20:14:43 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1jK6Eb-0000oD-2w for kernel-team@lists.ubuntu.com; Thu, 02 Apr 2020 20:14:41 +0000 Received: from mail-qv1-f70.google.com ([209.85.219.70]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1jK6Ea-0004mq-NH for kernel-team@lists.ubuntu.com; Thu, 02 Apr 2020 20:14:40 +0000 Received: by mail-qv1-f70.google.com with SMTP id m11so3748682qvf.20 for ; Thu, 02 Apr 2020 13:14:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=f8Wob2E06/kfQcDOmkJB5DEXja85rROUvU+MTz/EG/4=; b=NhTC96b5FHYtQzOOrhV35LwMVC24shlCL4j1vAE62+0rTWLGc+5fnghQ2zaA3KI6Tr U79ylfQ8dcdOdDEuHBlWdGkuPLHZ/5WmTuTHTwXoeKqImCR6ST8tww9Mw71jY6AoYpGd INsH3u0UJYiEwPXL6oopoXxrmA0N2KofzytkJTZ55EZTHBXpHiQFmqNR/u4/5hfjSCiO BRMAc/L7BVEg1VUBkBV/9nDkmW0qy4KQ4ZngpA8dzwxgZxq97VjVguzuf2w4LtdGFt/n RYhiJL2iRa6DmCZKXW1idrDIaWK3PeLuAu3UzYVDxee+oKZAlxaHDWusQ7VCakRE5kmk H0tQ== X-Gm-Message-State: AGi0PuYsdvazT1f+VR6XznFrMulOkphEAs4TFkEDZi8FE1/UardIlWB4 lsLH2MUqVw6CAAKgqdLmbqSCuGc8XOPE9TZUvYUij7v6twbJFRVX8gaLgiZ5/7G987NbuOAZ5KK 751qbSY1nRQJnV2xpqRtd9o9hDt07e2FYbaIrFhbEIA== X-Received: by 2002:a37:4015:: with SMTP id n21mr4989405qka.76.1585858479156; Thu, 02 Apr 2020 13:14:39 -0700 (PDT) X-Google-Smtp-Source: APiQypKTjGxeDwA7uc7ixCJvxc7CuFiimxzNq1+UlGR0HD9H1A4xYzdMDl9ThY9/Z0R6kwPW6D52hQ== X-Received: by 2002:a37:4015:: with SMTP id n21mr4989368qka.76.1585858478645; Thu, 02 Apr 2020 13:14:38 -0700 (PDT) Received: from localhost.localdomain ([174.24.180.217]) by smtp.gmail.com with ESMTPSA id s188sm4380703qkh.67.2020.04.02.13.14.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Apr 2020 13:14:37 -0700 (PDT) From: Jeff Lane To: kernel-team@lists.ubuntu.com Subject: [FOCAL][PULL] Update Broadcom Emulex lpfc driver in 5.4 to 12.6.0.x Date: Thu, 2 Apr 2020 16:14:35 -0400 Message-Id: <20200402201435.27910-1-jeffrey.lane@canonical.com> X-Mailer: git-send-email 2.17.1 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1855303 Note, this pull is related to and dependent on https://bugs.launchpad.net/bugs/1856340 which completes the lpfc 12.6.0.x solution from Broadcom Emulex. Additionally there are a few patches (outlined in 1855303) that are upstreamed in mkp/scsi.git but not yet landed in mainline, so that should be kept in mind. This pull should not be accepted without the corresponding pull for 1856340. The following changes since commit efceccb46f9f2f601ab1de5a92983bc5d3819879: UBUNTU: SAUCE: mm/page_alloc.c: disable memory reclaim watermark boosting by default (2020-03-30 10:34:11 +0200) are available in the Git repository at: https://git.launchpad.net/~bladernr/ubuntu/+source/linux/+git/focal 1855303-lpfc-updates for you to fetch changes up to ec8645c361df583b7efc54da7019935b2449161f: scsi: lpfc: add RDF registration and Link Integrity FPIN logging (2020-03-30 13:31:53 -0400) ---------------------------------------------------------------- Bart Van Assche (2): scsi: lpfc: Fix a kernel warning triggered by lpfc_sli4_enable_intr() scsi: lpfc: Fix lpfc_cpumask_of_node_init() James Smart (64): scsi: lpfc: Fix pt2pt discovery on SLI3 HBAs scsi: lpfc: Fix premature re-enabling of interrupts in lpfc_sli_host_down scsi: lpfc: Fix miss of register read failure check scsi: lpfc: Fix NVME io abort failures causing hangs scsi: lpfc: Fix device recovery errors after PLOGI failures scsi: lpfc: Fix GPF on scsi command completion scsi: lpfc: Fix NVMe ABTS in response to receiving an ABTS scsi: lpfc: Fix coverity errors on NULL pointer checks scsi: lpfc: Fix host hang at boot or slow boot scsi: lpfc: Update async event logging scsi: lpfc: Complete removal of FCoE T10 PI support on SLI-4 adapters scsi: lpfc: cleanup: remove unused fcp_txcmlpq_cnt scsi: lpfc: Update lpfc version to 12.4.0.1 scsi: lpfc: fix lpfc_nvmet_mrq to be bound by hdw queue count scsi: lpfc: Fix reporting of read-only fw error errors scsi: lpfc: Fix lockdep errors in sli_ringtx_put scsi: lpfc: fix coverity error of dereference after null check scsi: lpfc: Slight fast-path performance optimizations scsi: lpfc: Remove lock contention target write path scsi: lpfc: Revise interrupt coalescing for missing scenarios scsi: lpfc: Make FW logging dynamically configurable scsi: lpfc: Add log macros to allow print by serverity or verbosity setting scsi: lpfc: Add FA-WWN Async Event reporting scsi: lpfc: Add FC-AL support to lpe32000 models scsi: lpfc: Add additional discovery log messages scsi: lpfc: Update lpfc version to 12.6.0.0 scsi: lpfc: fix build error of lpfc_debugfs.c for vfree/vmalloc scsi: lpfc: fix spelling error in MAGIC_NUMER_xxx scsi: lpfc: Fix configuration of BB credit recovery in service parameters scsi: lpfc: Fix kernel crash at lpfc_nvme_info_show during remote port bounce scsi: lpfc: Fix dynamic fw log enablement check scsi: lpfc: Sync with FC-NVMe-2 SLER change to require Conf with SLER scsi: lpfc: Clarify FAWNN error message scsi: lpfc: Add registration for CPU Offline/Online events scsi: lpfc: Change default IRQ model on AMD architectures scsi: lpfc: Add enablement of multiple adapter dumps scsi: lpfc: Update lpfc version to 12.6.0.1 scsi: lpfc: fix inlining of lpfc_sli4_cleanup_poll_list() scsi: lpfc: Initialize cpu_map for not present cpus scsi: lpfc: revise nvme max queues to be hdwq count scsi: lpfc: Update lpfc version to 12.6.0.2 scsi: lpfc: size cpu map by last cpu id set scsi: lpfc: Fix incomplete NVME discovery when target scsi: lpfc: Fix missing check for CSF in Write Object Mbox Rsp scsi: lpfc: Fix Fabric hostname registration if system hostname changes scsi: lpfc: Fix ras_log via debugfs scsi: lpfc: Fix disablement of FC-AL on lpe35000 models scsi: lpfc: Fix unmap of dpp bars affecting next driver load scsi: lpfc: Fix MDS Latency Diagnostics Err-drop rates scsi: lpfc: Fix improper flag check for IO type scsi: lpfc: Update lpfc version to 12.6.0.3 scsi: lpfc: Fix RQ buffer leakage when no IOCBs available scsi: lpfc: Fix lpfc_io_buf resource leak in lpfc_get_scsi_buf_s4 error path scsi: lpfc: Fix broken Credit Recovery after driver load scsi: lpfc: Fix registration of ELS type support in fdmi scsi: lpfc: Fix release of hwq to clear the eq relationship scsi: lpfc: Fix compiler warning on frame size scsi: lpfc: Fix coverity errors in fmdi attribute handling scsi: lpfc: Remove handler for obsolete ELS - Read Port Status (RPS) scsi: lpfc: Clean up hba max_lun_queue_depth checks scsi: lpfc: Update lpfc version to 12.6.0.4 scsi: lpfc: Copyright updates for 12.6.0.4 patches scsi: fc: Update Descriptor definition and add RDF and Link Integrity FPINs scsi: lpfc: add RDF registration and Link Integrity FPIN logging Saurav Girepunje (3): scsi: lpfc: lpfc_attr: Fix Use plain integer as NULL pointer scsi: lpfc: lpfc_nvmet: Fix Use plain integer as NULL pointer scsi: lpfc: Fix NULL check before mempool_destroy is not needed YueHaibing (1): scsi: lpfc: Make lpfc_debugfs_ras_log_data static zhengbin (1): scsi: lpfc: Make function lpfc_defer_pt2pt_acc static drivers/scsi/lpfc/lpfc.h | 75 ++- drivers/scsi/lpfc/lpfc_attr.c | 304 +++++++++--- drivers/scsi/lpfc/lpfc_bsg.c | 18 +- drivers/scsi/lpfc/lpfc_crtn.h | 12 +- drivers/scsi/lpfc/lpfc_ct.c | 211 ++++---- drivers/scsi/lpfc/lpfc_debugfs.c | 125 ++++- drivers/scsi/lpfc/lpfc_els.c | 534 ++++++++++++-------- drivers/scsi/lpfc/lpfc_hbadisc.c | 160 ++++-- drivers/scsi/lpfc/lpfc_hw.h | 62 +-- drivers/scsi/lpfc/lpfc_hw4.h | 53 +- drivers/scsi/lpfc/lpfc_init.c | 980 ++++++++++++++++++++++++++++--------- drivers/scsi/lpfc/lpfc_logmsg.h | 17 + drivers/scsi/lpfc/lpfc_mbox.c | 1 + drivers/scsi/lpfc/lpfc_mem.c | 3 - drivers/scsi/lpfc/lpfc_nportdisc.c | 237 +++++++-- drivers/scsi/lpfc/lpfc_nvme.c | 85 ++-- drivers/scsi/lpfc/lpfc_nvmet.c | 103 ++-- drivers/scsi/lpfc/lpfc_nvmet.h | 2 - drivers/scsi/lpfc/lpfc_scsi.c | 39 +- drivers/scsi/lpfc/lpfc_sli.c | 351 +++++++++++-- drivers/scsi/lpfc/lpfc_sli4.h | 42 +- drivers/scsi/lpfc/lpfc_version.h | 4 +- include/uapi/scsi/fc/fc_els.h | 211 +++++++- 23 files changed, 2705 insertions(+), 924 deletions(-)