[SRU][PULL REQUEST][J][PATCH V2 00/17][mpi3mr: Add management application interface(BSG) support

Michael Reed michael.reed at canonical.com
Thu Feb 23 02:44:41 UTC 2023


From: Michael Reed <Michael.Reed at canonical.com>

SRU Justification:

[Impact]

Request to include below mpi3mr driver bug fix patches in Ubuntu 22.04.1(5.15 kernel). These patches got accepted by the upstream and please find the corresponding commit IDs as below:

f304d35e5995 scsi: mpi3mr: Update driver version to 8.0.0.69.0
7dbd0dd8cde3 scsi: mpi3mr: Add support for NVMe passthrough
986d6bad2103 scsi: mpi3mr: Expose adapter state to sysfs
43ca11005098 scsi: mpi3mr: Add support for PEL commands
506bc1a0d6ba scsi: mpi3mr: Add support for MPT commands
f3de4706c1e0 scsi: mpi3mr: Move data structures/definitions from MPI headers to uapi header
f5e6d5a34376 scsi: mpi3mr: Add support for driver commands
4268fa751365 scsi: mpi3mr: Add bsg device support
1fcbe4c49039 scsi: mpi3mr: Fix kernel-doc
4094981db7b6 scsi: mpi3mr: Rework mrioc->bsg_device model to fix warnings
9feb5c4c3f95 scsi: mpi3mr: Add target device related sysfs attributes
e51e76edddb1 scsi: mpi3mr: Add shost related sysfs attributes
bc7896d31a92 scsi: mpi3mr: Return error if dma_alloc_coherent() fails
a25eafd13e5f scsi: mpi3mr: Fix a NULL vs IS_ERR() bug in mpi3mr_bsg_init()
256bd4f23d9c scsi: mpi3mr: Return I/Os to an unrecoverable HBA with DID_ERROR
2dd8389f96d6 scsi: mpi3mr: Hidden drives not removed during soft reset
1aa529d40025 scsi: mpi3mr: Increase I/O timeout value to 60s

[Test Plan]

1. Install and boot kernel
2. Run basic I/O tests

[Where problems could occur]
Moderate to low regression risk for the kernel as most changes are in the driver

[Other Info]
https://code.launchpad.net/~mreed8855/ubuntu/+source/linux/+git/jammy/+ref/mpi3mr_bsg_support_3

 

The following changes since commit bba7582dd55251dceb8ecba87aeb829431c31f5d:

  scsi: mpi3mr: Add bsg device support (2023-02-22 16:11:09 -0600)

are available in the Git repository at:

  https://code.launchpad.net/~mreed8855/ubuntu/+source/linux/+git/jammy/+ref/mpi3mr_bsg_support_3 

for you to fetch changes up to cd881d76543c55f0b0443524d96737bcfd29842b:

  scsi: mpi3mr: Fix kernel-doc (2023-02-22 18:55:41 -0600)

----------------------------------------------------------------
Dan Carpenter (2):
      scsi: mpi3mr: Fix a NULL vs IS_ERR() bug in mpi3mr_bsg_init()
      scsi: mpi3mr: Return error if dma_alloc_coherent() fails

Jiapeng Chong (1):
      scsi: mpi3mr: Fix kernel-doc

Sreekanth Reddy (5):
      scsi: mpi3mr: Increase I/O timeout value to 60s
      scsi: mpi3mr: Hidden drives not removed during soft reset
      scsi: mpi3mr: Return I/Os to an unrecoverable HBA with DID_ERROR
      scsi: mpi3mr: Add shost related sysfs attributes
      scsi: mpi3mr: Add target device related sysfs attributes

Sumit Saxena (8):
      scsi: mpi3mr: Add support for driver commands
      scsi: mpi3mr: Move data structures/definitions from MPI headers to uapi header
      scsi: mpi3mr: Add support for MPT commands
      scsi: mpi3mr: Add support for PEL commands
      scsi: mpi3mr: Expose adapter state to sysfs
      scsi: mpi3mr: Add support for NVMe passthrough
      scsi: mpi3mr: Update driver version to 8.0.0.69.0
      scsi: mpi3mr: Rework mrioc->bsg_device model to fix warnings

 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         |  119 ++-
 drivers/scsi/mpi3mr/mpi3mr_app.c     | 1807 +++++++++++++++++++++++++++++++++-
 drivers/scsi/mpi3mr/mpi3mr_debug.h   |   37 +-
 drivers/scsi/mpi3mr/mpi3mr_fw.c      |  335 ++++++-
 drivers/scsi/mpi3mr/mpi3mr_os.c      |   68 +-
 include/uapi/scsi/scsi_bsg_mpi3mr.h  |  582 +++++++++++
 9 files changed, 2901 insertions(+), 158 deletions(-)
 create mode 100644 include/uapi/scsi/scsi_bsg_mpi3mr.h



More information about the kernel-team mailing list