mbox series

[v2,00/17] Update lpfc to revision 14.4.0.0

Message ID 20240131185112.149731-1-justintee8345@gmail.com (mailing list archive)
Headers show
Series Update lpfc to revision 14.4.0.0 | expand

Message

Justin Tee Jan. 31, 2024, 6:50 p.m. UTC
Update lpfc to revision 14.4.0.0

This patch set contains fixes identified by static code analyzers, updates
to log messaging, bug fixes related to discovery and congestion management,
and clean up patches regarding the abuse of shost lock in the driver.

The patches were cut against Martin's 6.9/scsi-queue tree.

Justin Tee (17):
  lpfc: Initialize status local variable in lpfc_sli4_repost_sgl_list
  lpfc: Fix possible memory leak in lpfc_rcv_padisc
  lpfc: Use sg_dma_len API to get struct scatterlist's length
  lpfc: Remove D_ID swap log message from trace event logger
  lpfc: Allow lpfc_plogi_confirm_nport logic to execute for Fabric nodes
  lpfc: Remove NLP_RCV_PLOGI early return during RSCN processing for
    ndlps
  lpfc: Fix failure to delete vports when discovery is in progress
  lpfc: Add condition to delete ndlp object after sending BLS_RJT to an
    ABTS
  lpfc: Save FPIN frequency statistics upon receipt of peer cgn
    notifications
  lpfc: Move handling of reset congestion statistics events
  lpfc: Remove shost_lock protection for fc_host_port shost APIs
  lpfc: Change nlp state statistic counters into atomic_t
  lpfc: Protect vport fc_nodes list with an explicit spin lock
  lpfc: Change lpfc_vport fc_flag member into a bitmask
  lpfc: Change lpfc_vport load_flag member into a bitmask
  lpfc: Update lpfc version to 14.4.0.0
  lpfc: Copyright updates for 14.4.0.0 patches

 drivers/scsi/lpfc/lpfc.h           |  94 +++---
 drivers/scsi/lpfc/lpfc_attr.c      | 107 +++----
 drivers/scsi/lpfc/lpfc_bsg.c       |   8 +-
 drivers/scsi/lpfc/lpfc_ct.c        | 154 +++++-----
 drivers/scsi/lpfc/lpfc_debugfs.c   |  14 +-
 drivers/scsi/lpfc/lpfc_els.c       | 446 +++++++++++++----------------
 drivers/scsi/lpfc/lpfc_hbadisc.c   | 350 ++++++++++------------
 drivers/scsi/lpfc/lpfc_hw4.h       |   4 +-
 drivers/scsi/lpfc/lpfc_init.c      | 137 +++++----
 drivers/scsi/lpfc/lpfc_mbox.c      |  10 +-
 drivers/scsi/lpfc/lpfc_nportdisc.c |  91 +++---
 drivers/scsi/lpfc/lpfc_nvme.c      |  20 +-
 drivers/scsi/lpfc/lpfc_nvmet.c     |  14 +-
 drivers/scsi/lpfc/lpfc_scsi.c      |  10 +-
 drivers/scsi/lpfc/lpfc_sli.c       |  56 ++--
 drivers/scsi/lpfc/lpfc_version.h   |   6 +-
 drivers/scsi/lpfc/lpfc_vport.c     |  69 ++---
 17 files changed, 717 insertions(+), 873 deletions(-)

Comments

Himanshu Madhani Jan. 31, 2024, 10:38 p.m. UTC | #1
> On Jan 31, 2024, at 10:50, Justin Tee <justintee8345@gmail.com> wrote:
> 
> Update lpfc to revision 14.4.0.0
> 
> This patch set contains fixes identified by static code analyzers, updates
> to log messaging, bug fixes related to discovery and congestion management,
> and clean up patches regarding the abuse of shost lock in the driver.
> 
> The patches were cut against Martin's 6.9/scsi-queue tree.
> 
> Justin Tee (17):
>  lpfc: Initialize status local variable in lpfc_sli4_repost_sgl_list
>  lpfc: Fix possible memory leak in lpfc_rcv_padisc
>  lpfc: Use sg_dma_len API to get struct scatterlist's length
>  lpfc: Remove D_ID swap log message from trace event logger
>  lpfc: Allow lpfc_plogi_confirm_nport logic to execute for Fabric nodes
>  lpfc: Remove NLP_RCV_PLOGI early return during RSCN processing for
>    ndlps
>  lpfc: Fix failure to delete vports when discovery is in progress
>  lpfc: Add condition to delete ndlp object after sending BLS_RJT to an
>    ABTS
>  lpfc: Save FPIN frequency statistics upon receipt of peer cgn
>    notifications
>  lpfc: Move handling of reset congestion statistics events
>  lpfc: Remove shost_lock protection for fc_host_port shost APIs
>  lpfc: Change nlp state statistic counters into atomic_t
>  lpfc: Protect vport fc_nodes list with an explicit spin lock
>  lpfc: Change lpfc_vport fc_flag member into a bitmask
>  lpfc: Change lpfc_vport load_flag member into a bitmask
>  lpfc: Update lpfc version to 14.4.0.0
>  lpfc: Copyright updates for 14.4.0.0 patches
> 
> drivers/scsi/lpfc/lpfc.h           |  94 +++---
> drivers/scsi/lpfc/lpfc_attr.c      | 107 +++----
> drivers/scsi/lpfc/lpfc_bsg.c       |   8 +-
> drivers/scsi/lpfc/lpfc_ct.c        | 154 +++++-----
> drivers/scsi/lpfc/lpfc_debugfs.c   |  14 +-
> drivers/scsi/lpfc/lpfc_els.c       | 446 +++++++++++++----------------
> drivers/scsi/lpfc/lpfc_hbadisc.c   | 350 ++++++++++------------
> drivers/scsi/lpfc/lpfc_hw4.h       |   4 +-
> drivers/scsi/lpfc/lpfc_init.c      | 137 +++++----
> drivers/scsi/lpfc/lpfc_mbox.c      |  10 +-
> drivers/scsi/lpfc/lpfc_nportdisc.c |  91 +++---
> drivers/scsi/lpfc/lpfc_nvme.c      |  20 +-
> drivers/scsi/lpfc/lpfc_nvmet.c     |  14 +-
> drivers/scsi/lpfc/lpfc_scsi.c      |  10 +-
> drivers/scsi/lpfc/lpfc_sli.c       |  56 ++--
> drivers/scsi/lpfc/lpfc_version.h   |   6 +-
> drivers/scsi/lpfc/lpfc_vport.c     |  69 ++---
> 17 files changed, 717 insertions(+), 873 deletions(-)
> 
> -- 
> 2.38.0
> 

For the series 

Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com <mailto:himanshu.madhani@oracle.com>>
Martin K. Petersen Feb. 6, 2024, 1:53 a.m. UTC | #2
Justin,

> Update lpfc to revision 14.4.0.0
>
> This patch set contains fixes identified by static code analyzers, updates
> to log messaging, bug fixes related to discovery and congestion management,
> and clean up patches regarding the abuse of shost lock in the driver.

Applied to 6.9/scsi-staging, thanks!
Martin K. Petersen Feb. 13, 2024, 1:57 a.m. UTC | #3
On Wed, 31 Jan 2024 10:50:55 -0800, Justin Tee wrote:

> Update lpfc to revision 14.4.0.0
> 
> This patch set contains fixes identified by static code analyzers, updates
> to log messaging, bug fixes related to discovery and congestion management,
> and clean up patches regarding the abuse of shost lock in the driver.
> 
> The patches were cut against Martin's 6.9/scsi-queue tree.
> 
> [...]

Applied to 6.9/scsi-queue, thanks!

[01/17] lpfc: Initialize status local variable in lpfc_sli4_repost_sgl_list
        https://git.kernel.org/mkp/scsi/c/3d0f9342ae20
[02/17] lpfc: Fix possible memory leak in lpfc_rcv_padisc
        https://git.kernel.org/mkp/scsi/c/2ae917d4bcab
[03/17] lpfc: Use sg_dma_len API to get struct scatterlist's length
        https://git.kernel.org/mkp/scsi/c/aa7674bd8da5
[04/17] lpfc: Remove D_ID swap log message from trace event logger
        https://git.kernel.org/mkp/scsi/c/b76beac1a4f5
[05/17] lpfc: Allow lpfc_plogi_confirm_nport logic to execute for Fabric nodes
        https://git.kernel.org/mkp/scsi/c/e1b3acad0d7b
[06/17] lpfc: Remove NLP_RCV_PLOGI early return during RSCN processing for ndlps
        https://git.kernel.org/mkp/scsi/c/a801d57a110d
[07/17] lpfc: Fix failure to delete vports when discovery is in progress
        https://git.kernel.org/mkp/scsi/c/7bb6cb7bb21c
[08/17] lpfc: Add condition to delete ndlp object after sending BLS_RJT to an ABTS
        https://git.kernel.org/mkp/scsi/c/900db34ad265
[09/17] lpfc: Save FPIN frequency statistics upon receipt of peer cgn notifications
        https://git.kernel.org/mkp/scsi/c/6ca396c5e3c4
[10/17] lpfc: Move handling of reset congestion statistics events
        https://git.kernel.org/mkp/scsi/c/140bd888ed0d
[11/17] lpfc: Remove shost_lock protection for fc_host_port shost APIs
        https://git.kernel.org/mkp/scsi/c/4be4ad6cd237
[12/17] lpfc: Change nlp state statistic counters into atomic_t
        https://git.kernel.org/mkp/scsi/c/0dfd9cbc187c
[13/17] lpfc: Protect vport fc_nodes list with an explicit spin lock
        https://git.kernel.org/mkp/scsi/c/9bb36777d0a2
[14/17] lpfc: Change lpfc_vport fc_flag member into a bitmask
        https://git.kernel.org/mkp/scsi/c/a645b8c1f5bc
[15/17] lpfc: Change lpfc_vport load_flag member into a bitmask
        https://git.kernel.org/mkp/scsi/c/e39811bec6b1
[16/17] lpfc: Update lpfc version to 14.4.0.0
        https://git.kernel.org/mkp/scsi/c/5b22878daf48
[17/17] lpfc: Copyright updates for 14.4.0.0 patches
        https://git.kernel.org/mkp/scsi/c/ea4044e4dd0d