mbox series

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

Message ID 20200402201435.27910-1-jeffrey.lane@canonical.com
State New
Headers show
Series [FOCAL,PULL] 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 2, 2020, 8:14 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.

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(-)

Comments

Seth Forshee April 2, 2020, 8:56 p.m. UTC | #1
On Thu, Apr 02, 2020 at 04:14:35PM -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.
> 
> 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)

You have a number of commits here which indicate they were cherry picked
from upstream, but the sha1's don't exist in upstream. These are the
"upstream" sha1's:

 39c4f1a965a9244c3ba60695e8ff8da065ec6ac4
 0ab384a49c548baf132ccef249f78d9c6c506380
 835214f5d5f516a38069bc077c879c7da00d6108
 792f3b90be2aeedf5e076bbe6c5808e693f51c23
 821bc882accaaaf1bbecf5c0ecef659443e3e8cb
 a99c80742af4b58bfd2d16cada8ee73cb9618649
 4cb9e1ddaa145be9ed67b6a7de98ca705a43f998
 6cde2e3e2813f598a39c8e5688480b76b2f40b10
 f6770e7d2329f0b05223fffea9eb821fd2dd038a
 ad6203f975263752e9738a33eacbc92f5bb6f636
 145e5a8a5cbd0c608dfe653c92edb70a580bdbf6
 73ec6d2748dc35db2b32cf3c182a27c4a0837b9b
 df3fe76658ed47617741819a501e2bd2ae446962

If these commits are in linux-next, you need to indicate this in the
"cherry picked from ..." line, like so:

 (cherry picked from commit ... linux-next)

Otherwise you need to indicate what repository they were cherry picked
from, and they should be marked as SAUCE, e.g.:

 (cherry picked from commit ...
  git://...)

Thanks,
Seth