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

Sumit Saxena
2022-04-29T21:17:21Z

[-- Attachment #1: Type: text/plain, Size: 2103 bytes --]

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 <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 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