mbox series

[00/22] lpfc: Update lpfc to revision 12.8.0.8

Message ID 20210211234443.3107-1-jsmart2021@gmail.com
Headers show
Series lpfc: Update lpfc to revision 12.8.0.8 | expand

Message

James Smart Feb. 11, 2021, 11:44 p.m. UTC
Update lpfc to revision 12.8.0.8

This patch set contains fixes and a cleanup patches.

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

James Smart (22):
  lpfc: Fix incorrect dbde assignment when building target abts wqe
  lpfc: Fix vport indices in lpfc_find_vport_by_vpid()
  lpfc: Fix reftag generation sizing errors
  lpfc: Fix stale node accesses on stale RRQ request
  lpfc: Fix FLOGI failure due to accessing a freed node
  lpfc: Fix lpfc_els_retry() possible null pointer dereference
  lpfc: Fix pt2pt connection does not recover after LOGO
  lpfc: Fix unnecessary null check in lpfc_release_scsi_buf
  lpfc: Fix null pointer dereference in lpfc_prep_els_iocb()
  lpfc: Fix use after free in lpfc_els_free_iocb
  lpfc: Fix status returned in lpfc_els_retry() error exit path
  lpfc: Fix dropped FLOGI during pt2pt discovery recovery
  lpfc: Fix PLOGI ACC to be transmit after REG_LOGIN
  lpfc: Fix ADISC handling that never frees nodes
  lpfc: Fix nodeinfo debugfs output
  lpfc: Fix pt2pt state transition causing rmmod hang
  lpfc: Fix crash caused by switch reboot
  lpfc: Change wording of invalid pci reset log message
  lpfc: Reduce LOG_TRACE_EVENT logging for vports
  lpfc: Correct function header comments related to ndlp reference
    counting
  lpfc: Update lpfc version to 12.8.0.8
  lpfc: update copyrights for 12.8.0.7 and 12.8.0.8 changes

 drivers/scsi/lpfc/lpfc.h           |   3 +-
 drivers/scsi/lpfc/lpfc_attr.c      |   2 +-
 drivers/scsi/lpfc/lpfc_crtn.h      |   4 +-
 drivers/scsi/lpfc/lpfc_debugfs.c   |  13 +-
 drivers/scsi/lpfc/lpfc_disc.h      |   3 +-
 drivers/scsi/lpfc/lpfc_els.c       | 639 ++++++++++++++---------------
 drivers/scsi/lpfc/lpfc_hbadisc.c   |   6 +-
 drivers/scsi/lpfc/lpfc_init.c      |   2 +-
 drivers/scsi/lpfc/lpfc_nportdisc.c | 272 +++++-------
 drivers/scsi/lpfc/lpfc_nvme.c      |   2 +-
 drivers/scsi/lpfc/lpfc_nvmet.c     |   5 +-
 drivers/scsi/lpfc/lpfc_scsi.c      | 117 ++++--
 drivers/scsi/lpfc/lpfc_sli.c       |  29 +-
 drivers/scsi/lpfc/lpfc_version.h   |   6 +-
 drivers/scsi/lpfc/lpfc_vport.c     |  10 +-
 15 files changed, 516 insertions(+), 597 deletions(-)

Comments

Martin K. Petersen Feb. 26, 2021, 3:08 a.m. UTC | #1
James,

> +static u32

> +lpfc_scsi_get_reftag(struct scsi_cmnd *sc)

> +{

> +	sector_t lba;

> +

> +	lba = scsi_get_lba(sc);

> +

> +	/* Now truncate the LBA to 4 bytes, reftag size */

> +	return (u32)(lba & 0xffffffff);

> +}

> +


ref_tag = t10_pi_ref_tag(sc->request);

-- 
Martin K. Petersen	Oracle Linux Engineering