Skip to content

cxlflash: Fixes, enhancements, cleanup and staging

Uma Krishnan linux-scsi linuxppc-dev 2 versions – Applied

Status from this message: Applied patches 1-4 to 4.10/scsi-queue. The remainder of the series

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest14 patches 13 repliesApplied
  2. v114 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- Incorporate comments from Matthew R. Ochs
- Updated command room violation patch to use a spin lock

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/14cxlflash: Set sg_tablesize to 1 instead of SG_NONEdrivers/scsi/cxlflash/main.c+1 -10 replies
2/14cxlflash: Fix crash in cxlflash_restore_luntable()drivers/scsi/cxlflash/lunmgt.c+6 -00 replies
3/14cxlflash: Improve context_reset() logicdrivers/scsi/cxlflash/main.c+5 -180 replies
4/14cxlflash: Avoid command room violationdrivers/scsi/cxlflash/common.h drivers/scsi/cxlflash/main.c+20 -501 reply
5/14cxlflash: Remove unused buffer from AFU commanddrivers/scsi/cxlflash/common.h drivers/scsi/cxlflash/main.c+2 -271 reply
6/14cxlflash: Allocate memory instead of using command pool for AFU syncdrivers/scsi/cxlflash/main.c+12 -131 reply
7/14cxlflash: Use cmd_size for private commandsdrivers/scsi/cxlflash/common.h drivers/scsi/cxlflash/main.c+25 -541 reply
8/14cxlflash: Remove private command pooldrivers/scsi/cxlflash/common.h drivers/scsi/cxlflash/main.c+0 -751 reply
9/14cxlflash: Wait for active AFU commands to timeout upon tear downdrivers/scsi/cxlflash/common.h drivers/scsi/cxlflash/main.c+6 -11 reply
10/14cxlflash: Remove AFU command lockdrivers/scsi/cxlflash/common.h drivers/scsi/cxlflash/main.c+16 -381 reply
11/14cxlflash: Cleanup send_tmf()drivers/scsi/cxlflash/main.c+7 -151 reply
12/14cxlflash: Cleanup queuecommand()drivers/scsi/cxlflash/main.c+20 -301 reply
13/14cxlflash: Migrate IOARRIN specific routines to function pointersdrivers/scsi/cxlflash/common.h drivers/scsi/cxlflash/main.c+14 -101 reply
14/14cxlflash: Migrate scsi command pointer to AFU commanddrivers/scsi/cxlflash/common.h drivers/scsi/cxlflash/main.c drivers/scsi/cxlflash/sislite.h+7 -61 reply

Reviews trailers per patch

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

PatchMatthew R. OchsUma Krishnan
1/14A-b
2/14A-b
3/14A-b
4/14A-b
5/14A-b
6/14A-b
7/14A-b
8/14A-b
9/14A-b
10/14A-b
11/14A-b
12/14A-b
13/14A-b
14/14A-b

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

Read the v2 thread

Cover letter [PATCH v2 00/14] cxlflash: Fixes, enhancements, cleanup and staging

The first four patches in this patch series include fixes for command room violation and lun table management.

The remaining patches remove the reliance upon an internally maintained private command pool in favor of private commands being allocated alongside the SCSI commands. Several cleanup opportunities were noticed while removing the private command pool infrastructure and have been included as well. Lastly, the final two patches provide staging for supporting hardware with a different queuing model.

The series is based upon 4.9-rc5, intended for 4.10 and is bisectable.

v2 Changes:
- Incorporate comments from Matthew R. Ochs
- Updated command room violation patch to use a spin lock

Matthew R. Ochs (10):
cxlflash: Remove unused buffer from AFU command
cxlflash: Allocate memory instead of using command pool for AFU sync
cxlflash: Use cmd_size for private commands
cxlflash: Remove private command pool
cxlflash: Wait for active AFU commands to timeout upon tear down
cxlflash: Remove AFU command lock
cxlflash: Cleanup send_tmf()
cxlflash: Cleanup queuecommand()
cxlflash: Migrate IOARRIN specific routines to function pointers
cxlflash: Migrate scsi command pointer to AFU command

Uma Krishnan (4):
cxlflash: Set sg_tablesize to 1 instead of SG_NONE
cxlflash: Fix crash in cxlflash_restore_luntable()
cxlflash: Improve context_reset() logic
cxlflash: Avoid command room violation

 drivers/scsi/cxlflash/common.h  |  39 ++--
 drivers/scsi/cxlflash/lunmgt.c  |   6 +
 drivers/scsi/cxlflash/main.c    | 410 ++++++++++------------------------------
 drivers/scsi/cxlflash/sislite.h |   2 +-
 4 files changed, 130 insertions(+), 327 deletions(-)
Signature · 1 line
2.1.0