scsi: mpt3sas: Fail reset operation if config request timed out
authorSreekanth Reddy <sreekanth.reddy@broadcom.com>
Tue, 5 Apr 2022 12:06:37 +0000 (17:36 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Apr 2022 07:34:17 +0000 (09:34 +0200)
commit389f37e46bddbcba6d2b1d0b542f382e4eca1acf
tree0776220c619ec3320233fda91939f4638adf6695
parent184b4fad0872ee5b41716ffcd26f1f64d20f9fc2
scsi: mpt3sas: Fail reset operation if config request timed out

[ Upstream commit f61eb1216c959f93ffabd3b8781fa5b2b22f8907 ]

As part of controller reset operation the driver issues a config request
command. If this command gets times out, then fail the controller reset
operation instead of retrying it.

Link: https://lore.kernel.org/r/20220405120637.20528-1-sreekanth.reddy@broadcom.com
Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/scsi/mpt3sas/mpt3sas_config.c