scsi: qla2xxx: Check for MB timeout while capturing ISP27/28xx FW dump
authorQuinn Tran <qutran@marvell.com>
Thu, 12 Sep 2019 18:09:15 +0000 (11:09 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 10 Oct 2019 02:26:35 +0000 (22:26 -0400)
commitc55474197a2e29fd0858fb9678db1628f4a39861
tree9bde75b47d00aa801ac6f0366b25976ce31f6ebe
parent6997db98d00a659d05cda23bd33c34aff546635b
scsi: qla2xxx: Check for MB timeout while capturing ISP27/28xx FW dump

Add mailbox timeout checkout for ISP 27xx/28xx during FW dump procedure.
Without the timeout check, hardware lock can be held for long period. This
patch would shorten the dump procedure if a timeout condition is
encountered.

Link: https://lore.kernel.org/r/20190912180918.6436-12-hmadhani@marvell.com
Reviewed-by: Laurence Oberman <loberman@redhat.com>
Signed-off-by: Quinn Tran <qutran@marvell.com>
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_tmpl.c