]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qla2xxx: Wind down adapter after PCIe error
authorQuinn Tran <qutran@marvell.com>
Thu, 16 Jun 2022 05:35:00 +0000 (22:35 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Aug 2022 12:24:17 +0000 (14:24 +0200)
commite6d33367a7c41072851c924f7d1373aa2f4d1604
tree95d53be734fe7a846e50596b828158a55fce3411
parent663bc0ad2fbb7482ae27b7ce42f00d205fd16598
scsi: qla2xxx: Wind down adapter after PCIe error

commit 9ef9f3967604020fefd6bda43b24b55ca9ca03e9 upstream.

Put adapter into a wind down state if OS does not make any attempt to
recover the adapter after PCIe error.

Link: https://lore.kernel.org/r/20220616053508.27186-4-njavali@marvell.com
Cc: stable@vger.kernel.org
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/qla2xxx/qla_bsg.c
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_init.c
drivers/scsi/qla2xxx/qla_os.c