Skip to content

ibmvfc: hard reset fixes

Tyrel Datwyler linux-scsi linuxppc-dev lkml 5 versions – Applied

Status from this message: Applied to 5.12/scsi-fixes, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest5 patches 1 replyApplied
  2. v45 patches 2 repliesSuperseded
  3. v35 patches 2 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v25 patches3 repliesSuperseded
v14 patches5 repliesSuperseded

Changes in v5 from the cover letter

Patches 2-5: Corrected upstream commit ids for Fixes: tags

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/5ibmvfc: simplify handling of sub-CRQ initializationdrivers/scsi/ibmvscsi/ibmvfc.c+10 -110 replies
2/5ibmvfc: fix invalid sub-CRQ handles after hard resetdrivers/scsi/ibmvscsi/ibmvfc.c+9 -120 replies
3/5ibmvfc: treat H_CLOSED as success during sub-CRQ registrationdrivers/scsi/ibmvscsi/ibmvfc.c+2 -10 replies
4/5ibmvfc: store return code of H_FREE_SUB_CRQ during cleanupdrivers/scsi/ibmvscsi/ibmvfc.c+3 -20 replies
5/5ibmvfc: reinitialize sub-CRQs and perform channel enquiry after LPMdrivers/scsi/ibmvscsi/ibmvfc.c+12 -00 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchBrian King
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/5] ibmvfc: hard reset fixes

This series contains a minor simplification of ibmvfc_init_sub_crqs() followed by a couple fixes for sub-CRQ handling which effect hard reset of the client/host adapter CRQ pair.

changes in v5:
Patches 2-5: Corrected upstream commit ids for Fixes: tags

changes in v4:
Patch 2: dropped Reviewed-by tag and moved sub-crq init to after locked region Patch 5: moved sub-crq init to after locked region

changes in v3:
* Patch 1 & 5: moved ibmvfc_init_sub_crqs out of locked patch

changes in v2:
* added Reviewed-by tags for patches 1-3
* Patch 4: use rtas_busy_delay to test rc and delay correct amount of time
* Patch 5: (new) similar fix for LPM case where CRQ pair needs re-enablement

Tyrel Datwyler (5):
powerpc/pseries: extract host bridge from pci_bus prior to bus removal
ibmvfc: simplify handling of sub-CRQ initialization
ibmvfc: fix invalid sub-CRQ handles after hard reset
ibmvfc: treat H_CLOSED as success during sub-CRQ registration
ibmvfc: store return code of H_FREE_SUB_CRQ during cleanup

 arch/powerpc/platforms/pseries/pci_dlpar.c |  4 +-
 drivers/scsi/ibmvscsi/ibmvfc.c             | 49 ++++++++++------------
 2 files changed, 26 insertions(+), 27 deletions(-)
Signature · 1 line
2.27.0