mbox series

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

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

Message

Suganath Prabu S Nov. 26, 2020, 9:43 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 |  94 +++
 4 files changed, 1333 insertions(+), 7 deletions(-)
 create mode 100644 drivers/scsi/mpt3sas/mpt3sas_trigger_pages.h

Comments

Martin K. Petersen Dec. 8, 2020, 3:28 a.m. UTC | #1
Suganath,

> 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


Applied to 5.11/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering
Martin K. Petersen Dec. 9, 2020, 5:23 p.m. UTC | #2
On Thu, 26 Nov 2020 15:13:03 +0530, Suganath Prabu S wrote:

> 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.

> 

> [...]


Applied to 5.11/scsi-queue, thanks!

[1/8] mpt3sas: Sync time stamp periodically between Driver and FW
      https://git.kernel.org/mkp/scsi/c/f98790c00375
[2/8] mpt3sas: Add persistent trigger pages support
      https://git.kernel.org/mkp/scsi/c/aec93e8e2385
[3/8] mpt3sas: Add master triggers persistent Trigger Page
      https://git.kernel.org/mkp/scsi/c/bb855f2a5d7e
[4/8] mpt3sas: Add Event triggers persistent Trigger Page2
      https://git.kernel.org/mkp/scsi/c/71b3fb8fe6dd
[5/8] mpt3sas: Add SCSI sense triggers persistent Trigger
      https://git.kernel.org/mkp/scsi/c/2a5c3a35c156
[6/8] mpt3sas: Add MPI triggers persistent Trigger Page4
      https://git.kernel.org/mkp/scsi/c/0e17a87c5950
[7/8] mpt3sas: Handle trigger page support after reset.
      https://git.kernel.org/mkp/scsi/c/9b271c69128b
[8/8] mpt3sas: Update driver version to 36.100.00.00
      https://git.kernel.org/mkp/scsi/c/be1b50021254

-- 
Martin K. Petersen	Oracle Linux Engineering