[PATCH v2 0/6] mpt3sas: Improve device readiness handling and event recovery

Ranjan Kumar
2025-11-13T15:43:08Z

This patch series enhances the mpt3sas driver’s device bring-up,
readiness detection, and event recovery mechanisms to improve
robustness in environments with slow-responding or transient
SAS/PCIe devices.

The series introduces optional control over issuing TEST UNIT READY
(TUR) commands during device unblocking, configurable retry limits,
and a mechanism to requeue firmware topology events when devices are
temporarily busy. Together, these updates reduce discovery failures
and improve recovery reliability following firmware or link events.

Change since v1:
- Fixed test robot build warnings
- Fixed W=1 compilation warnings

Ranjan Kumar (6):
mpt3sas: Added no_turs flag to device unblock logic
mpt3sas: Added issue_scsi_cmd_to_bringup_drive module parameter part-1
mpt3sas: improve device discovery and readiness handling for slow
devices part-2
mpt3sas: Add firmware event requeue support for busy devices
mpt3sas: Add configurable command retry limit for slow-to-respond
devices
mpt3sas: Fixed the W=1 compilation warning

drivers/scsi/mpt3sas/mpt3sas_base.c | 14 +-
drivers/scsi/mpt3sas/mpt3sas_base.h | 4 +
drivers/scsi/mpt3sas/mpt3sas_scsih.c | 1458 ++++++++++++++++++++++++--
3 files changed, 1376 insertions(+), 100 deletions(-)

--
2.47.3