scsi: qla2xxx: Force semaphore on flash validation failure
authorQuinn Tran <qutran@marvell.com>
Wed, 26 Feb 2020 22:40:15 +0000 (14:40 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 29 Feb 2020 01:32:34 +0000 (20:32 -0500)
commitcad9c2d28ec69f1d0370b2ba5abe309b0b709be4
tree8630702dade1a72e70821ae334e347a02becd422
parenta82c307e69c465e4d80cc15fde3c00f5b95832d6
scsi: qla2xxx: Force semaphore on flash validation failure

For single port 28XX adapter, the second core can still run in the
background.  The flash semaphore can be held by the non-active core.
This patch tell MPI FW to check for this case and clear the semaphore
from the non-active core.

Link: https://lore.kernel.org/r/20200226224022.24518-12-hmadhani@marvell.com
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Quinn Tran <qutran@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_mbx.c