OpenCloudOS-Kernel/drivers/scsi/qla2xxx
Anastasia Kovaleva fcb16d9a8e scsi: qla2xxx: Prevent PRLI in target mode
In a case when the initiator in P2P mode by some circumstances does not
send PRLI, the target, in a case when the target port's WWPN is less than
initiator's, changes the discovery state in DSC_GNL. When gnl completes it
sends PRLI to the initiator.

Usually the initiator in P2P mode always sends PRLI. We caught this issue
on Linux stable v5.4.6 https://www.spinics.net/lists/stable/msg458515.html.

Fix this particular corner case in the behaviour of the P2P mod target
login state machine.

Link: https://lore.kernel.org/r/20210422153414.4022-1-a.kovaleva@yadro.com
Fixes: a9ed06d4e6 ("scsi: qla2xxx: Allow PLOGI in target mode")
Reviewed-by: Roman Bolshakov <r.bolshakov@yadro.com>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Anastasia Kovaleva <a.kovaleva@yadro.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2021-04-28 22:55:01 -04:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile
qla_attr.c scsi: qla2xxx: Always check the return value of qla24xx_get_isp_stats() 2021-03-24 21:47:21 -04:00
qla_bsg.c scsi: qla2xxx: Reuse existing error handling path 2021-04-13 00:38:58 -04:00
qla_bsg.h scsi: qla2xxx: Implementation to get and manage host, target stats and initiator port 2021-01-13 00:25:19 -05:00
qla_dbg.c scsi: qla2xxx: Fix crash in PCIe error handling 2021-03-29 22:38:58 -04:00
qla_dbg.h scsi: qla2xxx: Update default AER debug mask 2021-03-29 22:38:58 -04:00
qla_def.h scsi: qla2xxx: Fix crash in PCIe error handling 2021-03-29 22:38:58 -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_fw.h scsi: qla2xxx: Wait for ABTS response on I/O timeouts for NVMe 2021-01-13 00:25:20 -05:00
qla_gbl.h scsi: qla2xxx: Fix crash in PCIe error handling 2021-03-29 22:38:58 -04:00
qla_gs.c scsi: qla2xxx: Do logout even if fabric scan retries got exhausted 2021-03-29 22:38:59 -04:00
qla_init.c scsi: qla2xxx: Prevent PRLI in target mode 2021-04-28 22:55:01 -04:00
qla_inline.h scsi: qla2xxx: Fix crash in PCIe error handling 2021-03-29 22:38:58 -04:00
qla_iocb.c scsi: qla2xxx: Fix crash in PCIe error handling 2021-03-29 22:38:58 -04:00
qla_isr.c scsi: qla2xxx: Reserve extra IRQ vectors 2021-04-15 22:06:03 -04:00
qla_mbx.c scsi: qla2xxx: Fix mailbox recovery during PCIe error 2021-03-29 22:38:58 -04:00
qla_mid.c SPDX patches for 5.10-rc1 2020-10-14 16:19:42 -07:00
qla_mr.c scsi: qla2xxx: Suppress Coverity complaints about dseg_r* 2021-03-24 21:47:20 -04: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: Fix crash in PCIe error handling 2021-03-29 22:38:58 -04:00
qla_nvme.h SPDX patches for 5.10-rc1 2020-10-14 16:19:42 -07:00
qla_nx.c scsi: qla2xxx: Fix compilation issue in PPC systems 2020-12-09 11:34:17 -05:00
qla_nx.h scsi/qla2xxx: Convert to SPDX license identifiers 2020-09-16 14:31:50 +02:00
qla_nx2.c scsi: qla2xxx: Simplify qla8044_minidump_process_control() 2021-03-24 21:47:21 -04:00
qla_nx2.h scsi/qla2xxx: Convert to SPDX license identifiers 2020-09-16 14:31:50 +02:00
qla_os.c scsi: qla2xxx: Add marginal path handling support 2021-04-28 22:55:01 -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: Fix endianness annotations 2021-03-24 21:47:20 -04:00
qla_target.c Merge branch '5.12/scsi-fixes' into 5.13/scsi-staging 2021-04-05 22:57:29 -04:00
qla_target.h scsi: qla2xxx: Fix broken #endif placement 2021-03-15 22:53:24 -04:00
qla_tmpl.c SCSI misc on 20201216 2020-12-16 13:34:31 -08: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.00.106-k 2021-03-29 22:38:59 -04:00
tcm_qla2xxx.c Merge branch '5.12/scsi-fixes' into 5.13/scsi-staging 2021-04-05 22:57:29 -04:00
tcm_qla2xxx.h scsi: qla2xxx: deadlock by configfs_depend_item 2018-12-19 21:26:38 -05:00