mbox series

[v4,0/5] mpi3mr: Host diag buffer support

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

Message

Ranjan Kumar June 5, 2024, 9:48 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

Ranjan Kumar (5):
  mpi3mr: HDB allocation and posting for hardware and Firmware buffers
  mpi3mr: Driver buffer allocation and posting
  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 |   57 ++
 drivers/scsi/mpi3mr/mpi3mr.h         |  157 +++-
 drivers/scsi/mpi3mr/mpi3mr_app.c     | 1080 ++++++++++++++++++++++++++
 drivers/scsi/mpi3mr/mpi3mr_fw.c      |  426 +++++++++-
 drivers/scsi/mpi3mr/mpi3mr_os.c      |  113 +++
 include/uapi/scsi/scsi_bsg_mpi3mr.h  |    3 +-
 6 files changed, 1825 insertions(+), 11 deletions(-)
 create mode 100644 drivers/scsi/mpi3mr/mpi/mpi30_tool.h