linux/drivers/scsi/mpi3mr/mpi
Ranjan Kumar fc44449411 scsi: mpi3mr: HDB allocation and posting for hardware and firmware buffers
To be able to debug controller problems it is beneficial to allocate and
configure system/host memory buffers which can be used to capture hardware
and firmware diagnostic information.

Add functions required to allocate and post firmware and hardware
diagnostic buffers to the controller and to set up automatic diagnostic
capture triggers.

Captures will be triggered under the following circumstances:

 1. Firmware is in FAULT state.

 2. Admin commands time out.

 3. Controller reset caused due to I/O timeout

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202405151758.7xrJz6rp-lkp@intel.com/
Co-developed-by: Sathya Prakash <sathya.prakash@broadcom.com>
Signed-off-by: Sathya Prakash <sathya.prakash@broadcom.com>
Signed-off-by: Ranjan Kumar <ranjan.kumar@broadcom.com>
Link: https://lore.kernel.org/r/20240626102646.14298-2-ranjan.kumar@broadcom.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2024-06-26 23:30:09 -04:00
..
mpi30_cnfg.h scsi: mpi3mr: Update MPI Headers to revision 31 2024-03-25 18:14:33 -04:00
mpi30_image.h scsi: mpi3mr: Update MPI Headers to revision 31 2024-03-25 18:14:33 -04:00
mpi30_init.h scsi: mpi3mr: Update copyright year 2023-03-16 23:54:29 -04:00
mpi30_ioc.h scsi: mpi3mr: Update MPI Headers to revision 31 2024-03-25 18:14:33 -04:00
mpi30_pci.h scsi: mpi3mr: Update copyright year 2023-03-16 23:54:29 -04:00
mpi30_sas.h scsi: mpi3mr: Update copyright year 2023-03-16 23:54:29 -04:00
mpi30_tool.h scsi: mpi3mr: HDB allocation and posting for hardware and firmware buffers 2024-06-26 23:30:09 -04:00
mpi30_transport.h scsi: mpi3mr: Update MPI Headers to revision 31 2024-03-25 18:14:33 -04:00