From: Greg Kroah-Hartman Date: Wed, 13 Sep 2023 18:21:40 +0000 (+0200) Subject: 4.19-stable patches X-Git-Tag: v5.10.195~71 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4046e97d7f5afd1965a4e3213795d9473c91ead4;p=thirdparty%2Fkernel%2Fstable-queue.git 4.19-stable patches added patches: scsi-qla2xxx-fix-inconsistent-tmf-timeout.patch scsi-qla2xxx-turn-off-noisy-message-log.patch --- diff --git a/queue-4.19/scsi-qla2xxx-fix-inconsistent-tmf-timeout.patch b/queue-4.19/scsi-qla2xxx-fix-inconsistent-tmf-timeout.patch new file mode 100644 index 00000000000..3dfbc235e83 --- /dev/null +++ b/queue-4.19/scsi-qla2xxx-fix-inconsistent-tmf-timeout.patch @@ -0,0 +1,36 @@ +From 009e7fe4a1ed52276b332842a6b6e23b07200f2d Mon Sep 17 00:00:00 2001 +From: Quinn Tran +Date: Fri, 14 Jul 2023 12:31:03 +0530 +Subject: scsi: qla2xxx: fix inconsistent TMF timeout + +From: Quinn Tran + +commit 009e7fe4a1ed52276b332842a6b6e23b07200f2d upstream. + +Different behavior were experienced of session being torn down vs not when +TMF is timed out. When FW detects the time out, the session is torn down. +When driver detects the time out, the session is not torn down. + +Allow TMF error to return to upper layer without session tear down. + +Cc: stable@vger.kernel.org +Signed-off-by: Quinn Tran +Signed-off-by: Nilesh Javali +Link: https://lore.kernel.org/r/20230714070104.40052-10-njavali@marvell.com +Reviewed-by: Himanshu Madhani +Signed-off-by: Martin K. Petersen +Signed-off-by: Greg Kroah-Hartman +--- + drivers/scsi/qla2xxx/qla_isr.c | 1 - + 1 file changed, 1 deletion(-) + +--- a/drivers/scsi/qla2xxx/qla_isr.c ++++ b/drivers/scsi/qla2xxx/qla_isr.c +@@ -2673,7 +2673,6 @@ check_scsi_status: + case CS_PORT_BUSY: + case CS_INCOMPLETE: + case CS_PORT_UNAVAILABLE: +- case CS_TIMEOUT: + case CS_RESET: + + /* diff --git a/queue-4.19/scsi-qla2xxx-turn-off-noisy-message-log.patch b/queue-4.19/scsi-qla2xxx-turn-off-noisy-message-log.patch new file mode 100644 index 00000000000..43a2eaa2520 --- /dev/null +++ b/queue-4.19/scsi-qla2xxx-turn-off-noisy-message-log.patch @@ -0,0 +1,33 @@ +From 8ebaa45163a3fedc885c1dc7d43ea987a2f00a06 Mon Sep 17 00:00:00 2001 +From: Quinn Tran +Date: Fri, 14 Jul 2023 12:31:01 +0530 +Subject: scsi: qla2xxx: Turn off noisy message log + +From: Quinn Tran + +commit 8ebaa45163a3fedc885c1dc7d43ea987a2f00a06 upstream. + +Some consider noisy log as test failure. Turn off noisy message log. + +Cc: stable@vger.kernel.org +Signed-off-by: Quinn Tran +Signed-off-by: Nilesh Javali +Link: https://lore.kernel.org/r/20230714070104.40052-8-njavali@marvell.com +Reviewed-by: Himanshu Madhani +Signed-off-by: Martin K. Petersen +Signed-off-by: Greg Kroah-Hartman +--- + drivers/scsi/qla2xxx/qla_nvme.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/drivers/scsi/qla2xxx/qla_nvme.c ++++ b/drivers/scsi/qla2xxx/qla_nvme.c +@@ -518,7 +518,7 @@ static int qla_nvme_post_cmd(struct nvme + + rval = qla2x00_start_nvme_mq(sp); + if (rval != QLA_SUCCESS) { +- ql_log(ql_log_warn, vha, 0x212d, ++ ql_dbg(ql_dbg_io + ql_dbg_verbose, vha, 0x212d, + "qla2x00_start_nvme_mq failed = %d\n", rval); + atomic_dec(&sp->ref_count); + wake_up(&sp->nvme_ls_waitq); diff --git a/queue-4.19/series b/queue-4.19/series index 546879bc9a3..f561dc4e465 100644 --- a/queue-4.19/series +++ b/queue-4.19/series @@ -192,3 +192,5 @@ sc16is7xx-set-iobase-to-device-index.patch serial-sc16is7xx-fix-broken-port-0-uart-init.patch usb-typec-tcpci-clear-the-fault-status-bit.patch udf-initialize-newblock-to-0.patch +scsi-qla2xxx-fix-inconsistent-tmf-timeout.patch +scsi-qla2xxx-turn-off-noisy-message-log.patch