~mreed8855/ubuntu/+source/linux/+git/jammy:test_64_with_revert

Last commit made on 2023-06-15
Get this branch:
git clone -b test_64_with_revert https://git.launchpad.net/~mreed8855/ubuntu/+source/linux/+git/jammy
Only Michael Reed can upload to this branch. If you are Michael Reed please log in for upload directions.

Branch merges

Branch information

Name:
test_64_with_revert
Repository:
lp:~mreed8855/ubuntu/+source/linux/+git/jammy

Recent commits

a0fad12... by James Smart <email address hidden>

Revert "scsi: lpfc: SLI path split: Refactor lpfc_iocbq"

BugLink: https://bugs.launchpad.net/bugs/1988711

This reverts commit 1c5e670d6a5a8e7e99b51f45e79879f7828bd2ec.

LTS 5.15 pulled in several lpfc "SLI Path split" patches. The Path
Split mods were a 14-patch set, which refactors the driver from
to split the sli-3 hw (now eol) from the sli-4 hw and use sli4
structures natively. The patches are highly inter-related.

Given only some of the patches were included, it created a situation
where FLOGI's fail, thus SLI Ports can't start communication.

Reverting this patch as its one of the partial Path Split patches
that was included.

Signed-off-by: James Smart <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
(backported from commit 0b0d169723f41bee4586384430f13435cb35b979)
Signed-off-by: Michael Reed <email address hidden>
[Michael Reed - Reverted instances of struct member cmd_cmpl to iocb_cmpl]

096eecf... by James Smart <email address hidden>

Revert "scsi: lpfc: SLI path split: Refactor fast and slow paths to native SLI4"

BugLink: https://bugs.launchpad.net/bugs/1988711

This reverts commit c56cc7fefc3159049f94fb1318e48aa60cabf703.

LTS 5.15 pulled in several lpfc "SLI Path split" patches. The Path
Split mods were a 14-patch set, which refactors the driver from
to split the sli-3 hw (now eol) from the sli-4 hw and use sli4
structures natively. The patches are highly inter-related.

Given only some of the patches were included, it created a situation
where FLOGI's fail, thus SLI Ports can't start communication.

Reverting this patch as its one of the partial Path Split patches
that was included.

Signed-off-by: James Smart <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
(backported from commit 7a0fce24de60b439c523ae1cd5182272e4e5fa4f)
Signed-off-by: Michael Reed <email address hidden>
[Michael Reed - Resolved cherry picks]

bfb9da5... by James Smart <email address hidden>

Revert "scsi: lpfc: SLI path split: Refactor SCSI paths"

BugLink: https://bugs.launchpad.net/bugs/1988711

This reverts commit b4543dbea84c8b64566dd0d626d63f8cbe977f61.

LTS 5.15 pulled in several lpfc "SLI Path split" patches. The Path
Split mods were a 14-patch set, which refactors the driver from
to split the sli-3 hw (now eol) from the sli-4 hw and use sli4
structures natively. The patches are highly inter-related.

Given only some of the patches were included, it created a situation
where FLOGI's fail, thus SLI Ports can't start communication.

Reverting this patch as its one of the partial Path Split patches
that was included.

NOTE: fixed a git revert error which caused a new line to be inserted:
  line 5755 of lpfc_scsi.c in lpfc_queuecommand
      + atomic_inc(&ndlp->cmd_pending);
  Removed the line

Signed-off-by: James Smart <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
(backported from commit 7a36c9de4324044258d595ce25c6a2bde02e0b47)
Signed-off-by: Michael Reed <email address hidden>
[Michael Reed - Resolved conflicts from cherry pick]

d89bccc... by James Smart <email address hidden>

Revert "scsi: lpfc: Fix locking for lpfc_sli_iocbq_lookup()"

BugLink: https://bugs.launchpad.net/bugs/1988711

This reverts commit 9a570069cdbbc28c4b5b4632d5c9369371ec739c.

LTS 5.15 pulled in several lpfc "SLI Path split" patches. The Path
Split mods were a 14-patch set, which refactors the driver from
to split the sli-3 hw (now eol) from the sli-4 hw and use sli4
structures natively. The patches are highly inter-related.

Given only some of the patches were included, it created a situation
where FLOGI's fail, thus SLI Ports can't start communication.

Reverting this patch as its a fix specific to the Path Split patches,
which were partially included and now being pulled from 5.15.

Signed-off-by: James Smart <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
(cherry picked from commit eb8be2dbfbb453a33f056df9e13fc878afa41c7d)
Signed-off-by: Michael Reed <email address hidden>

5a1b304... by James Smart <email address hidden>

Revert "scsi: lpfc: Fix element offset in __lpfc_sli_release_iocbq_s4()"

BugLink: https://bugs.launchpad.net/bugs/1988711

This reverts commit 6e99860de6f4e286c386f533c4d35e7e283803d4.

LTS 5.15 pulled in several lpfc "SLI Path split" patches. The Path
Split mods were a 14-patch set, which refactors the driver from
to split the sli-3 hw (now eol) from the sli-4 hw and use sli4
structures natively. The patches are highly inter-related.

Given only some of the patches were included, it created a situation
where FLOGI's fail, thus SLI Ports can't start communication.

Reverting this patch as its a fix specific to the Path Split patches,
which were partially included and now being pulled from 5.15.

Signed-off-by: James Smart <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
(cherry picked from commit 065bf71a8a53f566701387f99fa95a73e907869e)
Signed-off-by: Michael Reed <email address hidden>

086d1f3... by James Smart <email address hidden>

Revert "scsi: lpfc: Resolve some cleanup issues following SLI path refactoring"

BugLink: https://bugs.launchpad.net/bugs/1988711

This reverts commit 17bf429b913b9e7f8d2353782e24ed3a491bb2d8.

LTS 5.15 pulled in several lpfc "SLI Path split" patches. The Path
Split mods were a 14-patch set, which refactors the driver from
to split the sli-3 hw (now eol) from the sli-4 hw and use sli4
structures natively. The patches are highly inter-related.

Given only some of the patches were included, it created a situation
where FLOGI's fail, thus SLI Ports can't start communication.

Reverting this patch as its a fix specific to the Path Split patches,
which were partially included and now being pulled from 5.15.

Signed-off-by: James Smart <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
(cherry picked from commit 97dc9076ea5ee0a5622fc10ce468056da24d2c7b)
Signed-off-by: Michael Reed <email address hidden>

869fea2... by James Smart <email address hidden>

scsi: lpfc: Copyright updates for 14.2.0.5 patches

BugLink: https://bugs.launchpad.net/bugs/1988711

Update copyrights to 2022 for files modified in the 14.2.0.5 patch set.

Link: https://<email address hidden>
Co-developed-by: Justin Tee <email address hidden>
Signed-off-by: Justin Tee <email address hidden>
Signed-off-by: James Smart <email address hidden>
Signed-off-by: Martin K. Petersen <email address hidden>
(cherry picked from commit b3d11f195cbbe665c100b964f6837984b4226cd1)
Signed-off-by: Michael Reed <email address hidden>

5da0f21... by James Smart <email address hidden>

scsi: lpfc: Update lpfc version to 14.2.0.5

BugLink: https://bugs.launchpad.net/bugs/1988711

Update lpfc version to 14.2.0.5

Link: https://<email address hidden>
Co-developed-by: Justin Tee <email address hidden>
Signed-off-by: Justin Tee <email address hidden>
Signed-off-by: James Smart <email address hidden>
Signed-off-by: Martin K. Petersen <email address hidden>
(cherry picked from commit 71faf8d30fdb7c0ea88caa785e97ed697f048f14)
Signed-off-by: Michael Reed <email address hidden>

398b989... by James Smart <email address hidden>

scsi: lpfc: Refactor lpfc_nvmet_prep_abort_wqe() into lpfc_sli_prep_abort_xri()

BugLink: https://bugs.launchpad.net/bugs/1988711

lpfc_nvmet_prep_abort_wqe() has a lot of common code with
lpfc_sli_prep_abort_xri().

Delete lpfc_nvmet_prep_abort_wqe() as the wqe can be filled out using the
generic lpfc_sli_prep_abort_xri routine(). Add the wqec option to
lpfc_sli_prep_abort_xri() for lpfc_nvmet_prep_abort_wqe().

Link: https://<email address hidden>
Co-developed-by: Justin Tee <email address hidden>
Signed-off-by: Justin Tee <email address hidden>
Signed-off-by: James Smart <email address hidden>
Signed-off-by: Martin K. Petersen <email address hidden>
(cherry picked from commit b21c9deb1479bcbeea8b06c490a815690c7c86e9)
Signed-off-by: Michael Reed <email address hidden>

fabee7b... by James Smart <email address hidden>

scsi: lpfc: Revert RSCN_MEMENTO workaround for misbehaved configuration

BugLink: https://bugs.launchpad.net/bugs/1988711

The RSCN_MEMENTO logic was to workaround a target that does not register
both FCP and NVMe FC4 types at the same time. This caused the
configuration to not produce a second RSCN for the NVMe FC4 type
registration in a timely manner. The intention of the RSCN_MEMENTO flag
was to always signal to try NVMe PRLI.

However, there are other FCP-only target arrays in correctly behaved
configurations that reject the NVMe PRLI followed by a LOGO leading to
never rediscovering the target after an issue_lip (as LOGO causes a repeat
of PLOGI/PRLIs).

Revert the RSCN_MEMENTO patch as it is causing correctly behaved configs to
fail while it exists only to succeed on a misbehaved config.

Link: https://<email address hidden>
Fixes: 1045592fc968 ("scsi: lpfc: Introduce FC_RSCN_MEMENTO flag for tracking post RSCN completion")
Co-developed-by: Justin Tee <email address hidden>
Signed-off-by: Justin Tee <email address hidden>
Signed-off-by: James Smart <email address hidden>
Signed-off-by: Martin K. Petersen <email address hidden>
(cherry picked from commit ffc566411aded3c12c63e1310fb23830e9608c59)
Signed-off-by: Michael Reed <email address hidden>