mbox series

[v6,0/4] mpi3mr: Host diag buffer support

Message ID 20240626102646.14298-1-ranjan.kumar@broadcom.com (mailing list archive)
Headers show
Series mpi3mr: Host diag buffer support | expand

Message

Ranjan Kumar June 26, 2024, 10:26 a.m. UTC
The controllers managed by mpi3mr driver requires system memory to
save hardware and firmware diagnostic information, this patch set
enhances the drivers to provide host memory to the controller for
diagnostic information.  This patch set also provides driver changes
to push kernel messages into the diagnostic buffers reserved for the
driver, so that the information will be available as part of debug
data fetched from the controller.  In addition, support for
configuring automatic diagnostic information is added in the driver.

Change since v1:
- Fixed test robot build warnings

Change since v2:
- Fixed test robot build warnings

Change since v3:
- Dropped mpi3mr-Dump-driver-and-dmesg-logs-into-driver-dia.patch based
  on Martin Petersen comment

Change since v4:
- Dropped mpi3mr-Driver-buffer-allocation-and-posting.patch

Change since v5:
- Updated Patch description 

Ranjan Kumar (4):
  mpi3mr: HDB allocation and posting for hardware and Firmware buffers
  mpi3mr: Trigger support
  mpi3mr: Ioctl support for HDB
  mpi3mr: Update driver version to 8.9.1.0.50


Ranjan Kumar (4):
  mpi3mr: HDB allocation and posting for hardware and Firmware buffers
  mpi3mr: Trigger support
  mpi3mr: ioctl support for HDB
  mpi3mr: Update driver version to 8.9.1.0.50

 drivers/scsi/mpi3mr/mpi/mpi30_tool.h |   44 ++
 drivers/scsi/mpi3mr/mpi3mr.h         |  133 +++-
 drivers/scsi/mpi3mr/mpi3mr_app.c     | 1080 ++++++++++++++++++++++++++
 drivers/scsi/mpi3mr/mpi3mr_fw.c      |  272 ++++++-
 drivers/scsi/mpi3mr/mpi3mr_os.c      |  113 +++
 include/uapi/scsi/scsi_bsg_mpi3mr.h  |    3 +-
 6 files changed, 1634 insertions(+), 11 deletions(-)
 create mode 100644 drivers/scsi/mpi3mr/mpi/mpi30_tool.h

Comments

Martin K. Petersen June 27, 2024, 3:31 a.m. UTC | #1
Ranjan,

> The controllers managed by mpi3mr driver requires system memory to
> save hardware and firmware diagnostic information, this patch set
> enhances the drivers to provide host memory to the controller for
> diagnostic information.  This patch set also provides driver changes
> to push kernel messages into the diagnostic buffers reserved for the
> driver, so that the information will be available as part of debug
> data fetched from the controller.  In addition, support for
> configuring automatic diagnostic information is added in the driver.

Applied to 6.11/scsi-staging, thanks!
Martin K. Petersen July 5, 2024, 3:53 a.m. UTC | #2
On Wed, 26 Jun 2024 15:56:42 +0530, Ranjan Kumar wrote:

> The controllers managed by mpi3mr driver requires system memory to
> save hardware and firmware diagnostic information, this patch set
> enhances the drivers to provide host memory to the controller for
> diagnostic information.  This patch set also provides driver changes
> to push kernel messages into the diagnostic buffers reserved for the
> driver, so that the information will be available as part of debug
> data fetched from the controller.  In addition, support for
> configuring automatic diagnostic information is added in the driver.
> 
> [...]

Applied to 6.11/scsi-queue, thanks!

[1/4] mpi3mr: HDB allocation and posting for hardware and Firmware buffers
      https://git.kernel.org/mkp/scsi/c/fc4444941140
[2/4] mpi3mr: Trigger support
      https://git.kernel.org/mkp/scsi/c/d8d08d1638ce
[3/4] mpi3mr: ioctl support for HDB
      https://git.kernel.org/mkp/scsi/c/78b506984ebe
[4/4] mpi3mr: Update driver version to 8.9.1.0.50
      https://git.kernel.org/mkp/scsi/c/3f7e469987f8