Skip to content

mpi3mr: add BSG interface support for controller management

Sumit Saxena linux-scsi 7 versions – Applied

Status from this message: Applied to 5.19/scsi-staging, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest8 patches 2 repliesApplied
  2. v68 patches 1 replyApplied
  3. v58 patches 0 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v48 patches6 repliesSuperseded
v38 patches9 repliesSuperseded
v27 patches4 repliesSuperseded
v17 patches2 repliesSuperseded

Changes in v7 from the cover letter

-Fix build errors reported during x86_64 allmodconfig along with
some spaces to tabs conversions.

Patches in v7 Applied

#Subject and filesSizeRepliesApplied
1/8mpi3mr: Add bsg device supportdrivers/scsi/mpi3mr/Kconfig drivers/scsi/mpi3mr/Makefile drivers/scsi/mpi3mr/mpi3mr.h +2 more+129 -00 replies
2/8mpi3mr: Add support for driver commandsdrivers/scsi/mpi3mr/mpi/mpi30_ioc.h drivers/scsi/mpi3mr/mpi3mr.h drivers/scsi/mpi3mr/mpi3mr_app.c +4 more+887 -220 replies
3/8mpi3mr: Move data structures/definitions from MPI headers to uapi headerdrivers/scsi/mpi3mr/mpi/mpi30_init.h drivers/scsi/mpi3mr/mpi/mpi30_ioc.h drivers/scsi/mpi3mr/mpi/mpi30_pci.h +2 more+119 -1000 replies
4/8mpi3mr: Add support for MPT commandsdrivers/scsi/mpi3mr/mpi3mr.h drivers/scsi/mpi3mr/mpi3mr_app.c drivers/scsi/mpi3mr/mpi3mr_debug.h +1 more+574 -30 replies
5/8mpi3mr: Add support for PEL commandsdrivers/scsi/mpi3mr/mpi3mr.h drivers/scsi/mpi3mr/mpi3mr_app.c drivers/scsi/mpi3mr/mpi3mr_fw.c +1 more+592 -10 replies
6/8mpi3mr: Expose adapter state to sysfsdrivers/scsi/mpi3mr/mpi3mr.h drivers/scsi/mpi3mr/mpi3mr_app.c drivers/scsi/mpi3mr/mpi3mr_os.c+48 -10 replies
7/8mpi3mr: Add support for NVMe passthroughdrivers/scsi/mpi3mr/mpi3mr.h drivers/scsi/mpi3mr/mpi3mr_app.c include/uapi/scsi/scsi_bsg_mpi3mr.h+378 -30 replies
8/8mpi3mr: Update driver version to 8.0.0.69.0drivers/scsi/mpi3mr/mpi3mr.h+2 -20 replies

Reviews trailers per patch

7 of 8 patches have a Reviewed-by or Acked-by.

PatchHannes ReineckeHimanshu Madhani
1/8R-b R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8R-b
8/8

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

Read the v7 thread

Cover letter [PATCH v7 0/8] mpi3mr: add BSG interface support for controller management

This patchset adds BSG interface support for controller management. BSG layer facilitates communication/data exchange between application and driver/firmware through BSG device node.

v7:
-Fix build errors reported during x86_64 allmodconfig along with
some spaces to tabs conversions.

v6:
-Fixed errors/warnings reported by kernel test robot <[email protected]>.

v5:
-Addressed review comments from Himanshu for patch#2 and added
reviewed-by tags.

v4:
-Restored MPI headers to driver source directory(drivers/scsi/mpi3mr). -Moved data structures/definitions used by user space applications
from MPI headers to uapi header(uapi/scsi/scsi_bsg_mpi3mr.h).
-Addressed review comments from Bart Van Assche and Himanshu Madhani.

v3:
-Moved MPI headers to /include/uapi/scsi/mpi3mr -As Bart suggested, moved struct mpi3mr_nvme_pt_sge from
uapi header to driver header.

v2:
-Moved definitions to be used by user space applications to
header scsi_bsg_mpi3mr.h in /include/upai/scsi

Sumit Saxena (8):
mpi3mr: Add bsg device support
mpi3mr: Add support for driver commands
mpi3mr: Move data structures/definitions from MPI headers to uapi
header
mpi3mr: Add support for MPT commands
mpi3mr: Add support for PEL commands
mpi3mr: Expose adapter state to sysfs
mpi3mr: Add support for NVMe passthrough
mpi3mr: Update driver version to 8.0.0.69.0

 drivers/scsi/mpi3mr/Kconfig          |    1 +
 drivers/scsi/mpi3mr/Makefile         |    1 +
 drivers/scsi/mpi3mr/mpi/mpi30_init.h |   53 -
 drivers/scsi/mpi3mr/mpi/mpi30_ioc.h  |   27 -
 drivers/scsi/mpi3mr/mpi/mpi30_pci.h  |   31 +-
 drivers/scsi/mpi3mr/mpi3mr.h         |  133 ++-
 drivers/scsi/mpi3mr/mpi3mr_app.c     | 1605 ++++++++++++++++++++++++++
 drivers/scsi/mpi3mr/mpi3mr_debug.h   |   37 +-
 drivers/scsi/mpi3mr/mpi3mr_fw.c      |  331 +++++-
 drivers/scsi/mpi3mr/mpi3mr_os.c      |   52 +-
 include/uapi/scsi/scsi_bsg_mpi3mr.h  |  582 ++++++++++
 11 files changed, 2725 insertions(+), 128 deletions(-)
 create mode 100644 drivers/scsi/mpi3mr/mpi3mr_app.c
 create mode 100644 include/uapi/scsi/scsi_bsg_mpi3mr.h
Signature · 1 line
2.27.0