]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit838af9f7885c920befcf970dcfd0e0e761bdf1dc
tree8630702dade1a72e70821ae334e347a02becd422
parent7b520adce4c5cf90a25551929cee7beaf26ddf90
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