kernel_samsung_a53x/drivers/scsi/mpt3sas
Ranjan Kumar 08d75cdebb scsi: mpt3sas: Prevent sending diag_reset when the controller is ready
[ Upstream commit ee0017c3ed8a8abfa4d40e42f908fb38c31e7515 ]

If the driver detects that the controller is not ready before sending the
first IOC facts command, it will wait for a maximum of 10 seconds for it to
become ready. However, even if the controller becomes ready within 10
seconds, the driver will still issue a diagnostic reset.

Modify the driver to avoid sending a diag reset if the controller becomes
ready within the 10-second wait time.

Signed-off-by: Ranjan Kumar <ranjan.kumar@broadcom.com>
Link: https://lore.kernel.org/r/20240221071724.14986-1-ranjan.kumar@broadcom.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 08:44:36 +01:00
..
mpi Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mpt3sas_base.c scsi: mpt3sas: Prevent sending diag_reset when the controller is ready 2024-11-19 08:44:36 +01:00
mpt3sas_base.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mpt3sas_config.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mpt3sas_ctl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mpt3sas_ctl.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mpt3sas_debug.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mpt3sas_debugfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mpt3sas_scsih.c scsi: mpt3sas: Fix in error path 2024-11-18 10:58:46 +01:00
mpt3sas_transport.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mpt3sas_trigger_diag.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mpt3sas_trigger_diag.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mpt3sas_warpdrive.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00