linux/drivers/scsi/mpi3mr
Chandrakanth Patil d4375909d8 scsi: mpi3mr: Fix controller init failure on fault during queue creation
[ Upstream commit 829fa1582b ]

Firmware can enter a transient fault while creating operational queues.
The driver fails the load immediately.

Add a retry loop that checks controller status and history bit after
queue creation. If either indicates a fault, retry init up to a set
limit before failing.

Signed-off-by: Chandrakanth Patil <chandrakanth.patil@broadcom.com>
Link: https://lore.kernel.org/r/20250820084138.228471-3-chandrakanth.patil@broadcom.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-11-13 15:34:15 -05:00
..
mpi scsi: mpi3mr: Update MPI Headers to revision 34 2024-09-12 21:10:13 -04:00
Kconfig scsi: mpi3mr: Select CONFIG_SCSI_SAS_ATTRS 2022-10-22 03:14:51 +00:00
Makefile scsi: mpi3mr: Refer CONFIG_SCSI_MPI3MR in Makefile 2022-12-14 03:01:38 +00:00
mpi3mr.h scsi: mpi3mr: Serialize admin queue BAR writes on 32-bit systems 2025-08-28 16:31:07 +02:00
mpi3mr_app.c scsi: mpi3mr: Avoid reply queue full condition 2025-04-20 10:15:16 +02:00
mpi3mr_debug.h scsi: mpi3mr: Update copyright year 2023-03-16 23:54:29 -04:00
mpi3mr_fw.c scsi: mpi3mr: Fix controller init failure on fault during queue creation 2025-11-13 15:34:15 -05:00
mpi3mr_os.c scsi: mpi3mr: Fix I/O failures during controller reset 2025-11-13 15:34:15 -05:00
mpi3mr_transport.c scsi: mpi3mr: Validate SAS port assignments 2024-10-15 22:17:17 -04:00