mbox series

[FOCAL,PULL,v2] Update Broadcom Emulex lpfc driver in 5.4 to 12.6.0.x

Message ID 20200403222622.22695-1-jeffrey.lane@canonical.com
State New
Headers show
Series [FOCAL,PULL,v2] Update Broadcom Emulex lpfc driver in 5.4 to 12.6.0.x | expand

Pull-request

https://git.launchpad.net/~bladernr/ubuntu/+source/linux/+git/focal 1855303-lpfc-updates

Message

Jeff Lane April 3, 2020, 10:26 p.m. UTC
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(-)

Comments

Seth Forshee April 7, 2020, 7:42 p.m. UTC | #1
On Fri, Apr 03, 2020 at 06:26:22PM -0400, Jeff Lane wrote:
> 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.

Applied to focal/master-next. Also applied linux-next commits to
unstable/master. Thanks!