OpenCloudOS-Kernel/drivers/scsi/qla2xxx
Quinn Tran 24c796098f scsi: qla2xxx: edif: Fix no login after app start
The scenario is this: User loaded driver but has not started authentication
app. All sessions to secure device will exhaust all login attempts, fail,
and in stay in deleted state. Then some time later the app is started. The
driver will replenish the login retry count, trigger delete to prepare for
secure login. After deletion, relogin is triggered.

For the session that is already deleted, the delete trigger is a no-op. If
none of the sessions trigger a relogin, no progress is made.

Add a relogin trigger.

Link: https://lore.kernel.org/r/20220608115849.16693-5-njavali@marvell.com
Fixes: 7ebb336e45 ("scsi: qla2xxx: edif: Add start + stop bsgs")
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Quinn Tran <qutran@marvell.com>
Signed-off-by: Nilesh Javali <njavali@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2022-06-10 13:04:04 -04:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile scsi: qla2xxx: edif: Add start + stop bsgs 2021-07-27 00:06:42 -04:00
qla_attr.c scsi: qla2xxx: edif: Remove old doorbell interface 2022-06-07 21:50:10 -04:00
qla_bsg.c scsi: qla2xxx: Implement ref count for SRB 2022-01-24 23:57:30 -05:00
qla_bsg.h treewide: Replace zero-length arrays with flexible-array members 2022-02-17 07:00:39 -06:00
qla_dbg.c scsi: qla2xxx: Format log strings only if needed 2021-12-06 22:38:17 -05:00
qla_dbg.h scsi: qla2xxx: edif: Add bsg interface to read doorbell events 2022-06-07 21:50:10 -04:00
qla_def.h scsi: qla2xxx: edif: Wait for app to ack on sess down 2022-06-07 21:50:10 -04:00
qla_devtbl.h
qla_dfs.c scsi: qla2xxx: Remove unnecessary NULL check 2021-01-22 22:04:16 -05:00
qla_dsd.h scsi: qla2xxx: Include the <asm/unaligned.h> header file from qla_dsd.h 2019-08-12 21:34:04 -04:00
qla_edif.c scsi: qla2xxx: edif: Fix no login after app start 2022-06-10 13:04:04 -04:00
qla_edif.h scsi: qla2xxx: edif: Add bsg interface to read doorbell events 2022-06-07 21:50:10 -04:00
qla_edif_bsg.h scsi: qla2xxx: edif: Synchronize NPIV deletion with authentication application 2022-06-07 21:50:10 -04:00
qla_fw.h scsi: qla2xxx: edif: Send LOGO for unexpected IKE message 2022-06-10 13:04:03 -04:00
qla_gbl.h scsi: qla2xxx: edif: Remove old doorbell interface 2022-06-07 21:50:10 -04:00
qla_gs.c scsi: qla2xxx: edif: Reduce Initiator-Initiator thrashing 2022-06-07 21:50:09 -04:00
qla_init.c scsi: qla2xxx: edif: Fix n2n login retry for secure device 2022-06-07 21:50:10 -04:00
qla_inline.h scsi: qla2xxx: Implement ref count for SRB 2022-01-24 23:57:30 -05:00
qla_iocb.c scsi: qla2xxx: edif: Reduce Initiator-Initiator thrashing 2022-06-07 21:50:09 -04:00
qla_isr.c scsi: qla2xxx: Fix incorrect reporting of task management failure 2022-03-15 00:29:13 -04:00
qla_mbx.c scsi: qla2xxx: Add devids and conditionals for 28xx 2022-01-24 23:57:32 -05:00
qla_mid.c scsi: qla2xxx: edif: Synchronize NPIV deletion with authentication application 2022-06-07 21:50:10 -04:00
qla_mr.c scsi: qla2xxx: Implement ref count for SRB 2022-01-24 23:57:30 -05:00
qla_mr.h scsi: qla2xxx: Suppress Coverity complaints about dseg_r* 2021-03-24 21:47:20 -04:00
qla_nvme.c scsi: qla2xxx: Increase max limit of ql2xnvme_queues 2022-03-15 00:29:15 -04:00
qla_nvme.h scsi: qla2xxx: Increase max limit of ql2xnvme_queues 2022-03-15 00:29:15 -04:00
qla_nx.c scsi: qla2xxx: Use named initializers for q_dev_state 2022-02-22 21:11:07 -05:00
qla_nx.h scsi: qla2xxx: Use named initializers for q_dev_state 2022-02-22 21:11:07 -05:00
qla_nx2.c scsi: qla2xxx: Use named initializers for q_dev_state 2022-02-22 21:11:07 -05:00
qla_nx2.h scsi/qla2xxx: Convert to SPDX license identifiers 2020-09-16 14:31:50 +02:00
qla_os.c scsi: qla2xxx: edif: Add retry for ELS passthrough 2022-06-07 21:50:10 -04:00
qla_settings.h scsi/qla2xxx: Convert to SPDX license identifiers 2020-09-16 14:31:50 +02:00
qla_sup.c scsi: qla2xxx: Add devids and conditionals for 28xx 2022-01-24 23:57:32 -05:00
qla_target.c scsi: qla2xxx: edif: Wait for app to ack on sess down 2022-06-07 21:50:10 -04:00
qla_target.h scsi: qla2xxx: Remove free_sg command flag 2022-04-25 22:26:15 -04:00
qla_tmpl.c scsi: qla2xxx: Fix premature hw access after PCI error 2022-01-24 23:57:30 -05:00
qla_tmpl.h scsi: qla2xxx: Fix crash during driver load on big endian machines 2020-12-09 11:34:17 -05:00
qla_version.h scsi: qla2xxx: Update version to 10.02.07.500-k 2022-06-07 21:50:11 -04:00
tcm_qla2xxx.c scsi: target: qla2xxx: Replace enable attr with ops.enable 2021-10-04 23:27:38 -04:00
tcm_qla2xxx.h