mbox series

[0/7] mpt3sas: Enhancements and bug fixes

Message ID 1596096229-3341-1-git-send-email-suganath-prabu.subramani@broadcom.com (mailing list archive)
Headers show
Series mpt3sas: Enhancements and bug fixes | expand

Message

Suganath Prabu S July 30, 2020, 8:03 a.m. UTC
This patch set has below bug fixes and enhancements.

Dump IOC system interface register set when IOC fails to
transit to READY state during initialization.

During controller reset, cancel the running work along
with the queued works. This avoids processing the expired event after
the controller reset.

Before returning the target/lun reset with failure status
to SML, poll all the reply descriptor pools looking for the reply of
timed out SCSI command. Due to interrupt latency issues it is possible
that interrupt for timed out command might have been delayed. So poll
all the reply descriptor pools looking for the reply of timed out SCSI
command, if the timed out command 's reply is found then return
success status other return failure status.

Memset the config command reply buffer before issuing the
config request.

Suganath Prabu S (7):
  mpt3sas: Memset config_cmds.reply buffer with zeros
  mpt3sas: Dump system registers for debugging.
  mpt3sas: Cancel the running work during host reset.
  mpt3sas: Rename and export interrupt mask/unmask fn's.
  mpt3sas: Added support functions to find target and luns.
  mpt3sas: Postprocessing of target and LUN reset.
  mpt3sas: Update driver version to 35.100.00.00

 drivers/scsi/mpt3sas/compile.sh       |   6 +-
 drivers/scsi/mpt3sas/mpt3sas_base.c   |  50 ++++--
 drivers/scsi/mpt3sas/mpt3sas_base.h   |  21 ++-
 drivers/scsi/mpt3sas/mpt3sas_config.c |   2 +-
 drivers/scsi/mpt3sas/mpt3sas_ctl.c    |   6 +-
 drivers/scsi/mpt3sas/mpt3sas_scsih.c  | 245 +++++++++++++++++++++++---
 6 files changed, 282 insertions(+), 48 deletions(-)

Comments

Martin K. Petersen Aug. 13, 2020, 2:36 a.m. UTC | #1
Suganath,

> This patch set has below bug fixes and enhancements.

Applied to my staging tree. You'll get a formal merge message once 5.10
opens.

A few asks for the next submission:

 - Please revisit Documentation/process/submitting-patches.rst section 2
   about how to write commit messages.

 - Please don't include outbox driver files in the submitted patches.

 - Please build with C=1/W=1. Lots of warnings in this code.
Martin K. Petersen Aug. 18, 2020, 3:11 a.m. UTC | #2
On Thu, 30 Jul 2020 13:33:42 +0530, Suganath Prabu S wrote:

> This patch set has below bug fixes and enhancements.
> 
> Dump IOC system interface register set when IOC fails to
> transit to READY state during initialization.
> 
> During controller reset, cancel the running work along
> with the queued works. This avoids processing the expired event after
> the controller reset.
> 
> [...]

Applied to 5.10/scsi-queue, thanks!

[1/7] scsi: mpt3sas: Memset config_cmds.reply buffer with zeros
      https://git.kernel.org/mkp/scsi/c/01348b76fa82
[2/7] scsi: mpt3sas: Dump system registers for debugging
      https://git.kernel.org/mkp/scsi/c/7f3cca0f1f54
[3/7] scsi: mpt3sas: Cancel the running work during host reset
      https://git.kernel.org/mkp/scsi/c/b5f025c3f702
[4/7] scsi: mpt3sas: Rename and export interrupt mask/unmask functions
      https://git.kernel.org/mkp/scsi/c/87a1cbcfe55b
[5/7] scsi: mpt3sas: Add functions to check if any cmd is outstanding on Target and LUN
      https://git.kernel.org/mkp/scsi/c/844b4f05661e
[6/7] scsi: mpt3sas: Postprocessing of target and LUN reset
      https://git.kernel.org/mkp/scsi/c/caa596babea7
[7/7] scsi: mpt3sas: Update driver version to 35.100.00.00
      https://git.kernel.org/mkp/scsi/c/d2101b4ee8f8