mbox series

[v6,0/8] mpi3mr: add BSG interface support for controller management

Message ID 20220425122334.368142-1-sumit.saxena@broadcom.com
Headers show
Series mpi3mr: add BSG interface support for controller management | expand

Message

Sumit Saxena April 25, 2022, 12:23 p.m. UTC
This patchset adds BSG interface support for controller
management. BSG layer facilitates communication/data exchange 
between application and driver/firmware through BSG device node.

v6:
-Fixed errors/warnings reported by kernel test robot <lkp@intel.com>.

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 pass-through
  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  |   28 -
 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  |  580 ++++++++++
 11 files changed, 2723 insertions(+), 129 deletions(-)
 create mode 100644 drivers/scsi/mpi3mr/mpi3mr_app.c
 create mode 100644 include/uapi/scsi/scsi_bsg_mpi3mr.h

Comments

Martin K. Petersen April 26, 2022, 10:59 p.m. UTC | #1
Sumit,

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

Applied to 5.19/scsi-staging, thanks!