mbox series

[0/8] mpt3sas: Features to enhance driver debugging.

Message ID 20201124035019.27975-1-suganath-prabu.subramani@broadcom.com
Headers show
Series mpt3sas: Features to enhance driver debugging. | expand

Message

Suganath Prabu S Nov. 24, 2020, 3:50 a.m. UTC
1. Periodic Time Sync b/w driver and FW.
Periodic time sync sets the time of the FW to be the same as
the time of the Driver (HOST). With Existing driver, time stamp
synchronization occurs only during Driver load and controller
reset. With Patch1 - Period time sync implementation facilitates
driver to sync time stamp periodically with IO_UNIT_CONTROL
request.

2. Persistent support for diag triggers.
mpt3sas driver support Automatic Firmware Diagnostic Buffer
feature. As part of this feature, drivers provide Trigger
from IOCTL and SysFS interface using which user can set/get/
clear triggers. Driver releases Diagnostic buffer registered
with firmware if any trigger gets hit. The triggers set by
user are not persistent across system reboots. As a result
triggers set by user will be lost after each reboot. This
patch set uses Persistent Trigger Pages so that triggers set
by user will not be lost across system reboots.

Suganath Prabu S (8):
  mpt3sas: Sync time stamp periodically between Driver and FW
  mpt3sas: Add persistent trigger pages support
  mpt3sas: Add master triggers persistent Trigger Page
  mpt3sas: Add Event triggers persistent Trigger Page2
  mpt3sas: Add SCSI sense triggers persistent Trigger Page3
  mpt3sas: Add MPI triggers persistent Trigger Page4
  mpt3sas: Handle trigger page support after reset.
  mpt3sas: Update driver version to 36.100.00.00

 drivers/scsi/mpt3sas/mpt3sas_base.c          | 437 ++++++++++-
 drivers/scsi/mpt3sas/mpt3sas_base.h          |  49 +-
 drivers/scsi/mpt3sas/mpt3sas_config.c        | 760 +++++++++++++++++++
 drivers/scsi/mpt3sas/mpt3sas_trigger_pages.h |  95 +++
 4 files changed, 1334 insertions(+), 7 deletions(-)
 create mode 100644 drivers/scsi/mpt3sas/mpt3sas_trigger_pages.h