From patchwork Fri Apr 3 22:26:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Lane X-Patchwork-Id: 1266262 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 48vF0C3Gr2z9sSg; Sat, 4 Apr 2020 09:26:35 +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 1jKUlj-0006Qt-9l; Fri, 03 Apr 2020 22:26:31 +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 1jKUlh-0006Qe-BJ for kernel-team@lists.ubuntu.com; Fri, 03 Apr 2020 22:26:29 +0000 Received: from mail-qt1-f197.google.com ([209.85.160.197]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1jKUlh-0003o3-0T for kernel-team@lists.ubuntu.com; Fri, 03 Apr 2020 22:26:29 +0000 Received: by mail-qt1-f197.google.com with SMTP id w1so7938239qte.6 for ; Fri, 03 Apr 2020 15:26:28 -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=C6rghP/vlNsvoouXiZc5HZ9kz00uKQplFQ1yW5h+Cic=; b=CzYcnYqX+iRBoSVnApi3hJUfdPsqX2Cdg/jv0mLludt2On18UW/E2nIju1CezfTwDk uobhddRT1UNRfuzhBsXA1LoHlsVTXlhNP6upWSZE3yiqL+DoYNCoBHrXTJUmu0niQEu7 0gg2tPENiNFjOzVvT4ja6bfjA14PYkYaqaxQftWaEjTRs0FIYZHpRRXpWp2Mt0hXnr0l bon5Q7gDBc0/pI+78W+KswmDG7TbNYA4bHfVUBdkysMOTjWGaaMavRWg0WJWcsQBslNh XLQcmwR6luXvu02DU8OZYgm+SxoC1EUeEYbUBU/sm3GFJ9YXlj4JKzYYkuGd8Kfna3Gr dcKA== X-Gm-Message-State: AGi0Pua4Z3Pd8VCvDU6OQsWGNIpMzEE168INjOjJknR9oMiD+NylcKD3 TiJ5gKGCx/qz92Cm+V4ITfcC0dS0TjnGeijA4IPUJYj+KSiypUEWdiqJZvFuJ6lZQQ3c9IH+6+k T9r3v9FZoOJi0w7liWqzlpEJhM0ZkR+EfFQhm+bR5LA== X-Received: by 2002:a37:4548:: with SMTP id s69mr11582406qka.63.1585952787482; Fri, 03 Apr 2020 15:26:27 -0700 (PDT) X-Google-Smtp-Source: APiQypJ3fDR644Zwt14XJH7Y7FOogHW2e3txcZvKn5LJqePpNhQOpst5SFaxJN7mhxX9ANq2L4GH6A== X-Received: by 2002:a37:4548:: with SMTP id s69mr11582373qka.63.1585952786926; Fri, 03 Apr 2020 15:26:26 -0700 (PDT) Received: from localhost.localdomain ([174.24.180.217]) by smtp.gmail.com with ESMTPSA id f16sm2300452qto.59.2020.04.03.15.26.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Apr 2020 15:26:25 -0700 (PDT) From: Jeff Lane To: kernel-team@lists.ubuntu.com Subject: [FOCAL][PULL v2] Update Broadcom Emulex lpfc driver in 5.4 to 12.6.0.x Date: Fri, 3 Apr 2020 18:26:22 -0400 Message-Id: <20200403222622.22695-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. All but the final few are cherry picked from mainline, the remaining 13 patches are cherry picked from linux-next and are marked as such in the cherry-pick line. 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 a6a45d612c834cacc8b53e5d313c60fdf9574615: scsi: lpfc: add RDF registration and Link Integrity FPIN logging (2020-04-03 18:15:59 -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(-)