mbox series

[0/2] Additional Diagnostic Buffer Query IOCTL

Message ID 20210204033724.1345-1-suganath-prabu.subramani@broadcom.com (mailing list archive)
Headers show
Series Additional Diagnostic Buffer Query IOCTL | expand

Message

Suganath Prabu S Feb. 4, 2021, 3:37 a.m. UTC
* When a host trace buffer is released, applications never know for what
reason the buffer is released.
* Add new ioctl interface to pass more intelligent data to the
applications along with information like what causes or triggers the
buffer release. An Additional Query Command is issued before reading
the buffer and applications would also come to know whether the buffer
is released or not.

* Update the driver version.

Suganath Prabu S (2):
  mpt3sas: Additional Diagnostic Buffer Query IOCTL interface.
  mpt3sas: Update driver version to 37.100.00.00

 drivers/scsi/mpt3sas/mpt3sas_base.c         |  5 +-
 drivers/scsi/mpt3sas/mpt3sas_base.h         | 51 +++++++++++++++-
 drivers/scsi/mpt3sas/mpt3sas_ctl.c          | 67 ++++++++++++++++++++-
 drivers/scsi/mpt3sas/mpt3sas_ctl.h          | 22 +++++++
 drivers/scsi/mpt3sas/mpt3sas_scsih.c        |  2 +
 drivers/scsi/mpt3sas/mpt3sas_trigger_diag.c | 38 +++++++++++-
 6 files changed, 179 insertions(+), 6 deletions(-)

Comments

Martin K. Petersen Feb. 9, 2021, 3:02 a.m. UTC | #1
Suganath,

> * When a host trace buffer is released, applications never know for
> what reason the buffer is released.

Applied to 5.12/scsi-staging, thanks!