Patch "scsi: qla2xxx: Disable ATIO interrupt coalesce for quad port ISP27XX" has been added to the 5.19-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    scsi: qla2xxx: Disable ATIO interrupt coalesce for quad port ISP27XX

to the 5.19-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     scsi-qla2xxx-disable-atio-interrupt-coalesce-for-qua.patch
and it can be found in the queue-5.19 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 29db7a8736e25e199d647289c38d7f62585224a4
Author: Tony Battersby <tonyb@xxxxxxxxxxxxxxx>
Date:   Thu Jul 7 15:08:01 2022 -0400

    scsi: qla2xxx: Disable ATIO interrupt coalesce for quad port ISP27XX
    
    [ Upstream commit 53661ded2460b414644532de6b99bd87f71987e9 ]
    
    This partially reverts commit d2b292c3f6fd ("scsi: qla2xxx: Enable ATIO
    interrupt handshake for ISP27XX")
    
    For some workloads where the host sends a batch of commands and then
    pauses, ATIO interrupt coalesce can cause some incoming ATIO entries to be
    ignored for extended periods of time, resulting in slow performance,
    timeouts, and aborted commands.
    
    Disable interrupt coalesce and re-enable the dedicated ATIO MSI-X
    interrupt.
    
    Link: https://lore.kernel.org/r/97dcf365-89ff-014d-a3e5-1404c6af511c@xxxxxxxxxxxxxxx
    Reviewed-by: Himanshu Madhani <himanshu.madhani@xxxxxxxxxx>
    Reviewed-by: Nilesh Javali <njavali@xxxxxxxxxxx>
    Signed-off-by: Tony Battersby <tonyb@xxxxxxxxxxxxxxx>
    Signed-off-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/scsi/qla2xxx/qla_target.c b/drivers/scsi/qla2xxx/qla_target.c
index 2b2f682883752..62666df1a59eb 100644
--- a/drivers/scsi/qla2xxx/qla_target.c
+++ b/drivers/scsi/qla2xxx/qla_target.c
@@ -6935,14 +6935,8 @@ qlt_24xx_config_rings(struct scsi_qla_host *vha)
 
 	if (ha->flags.msix_enabled) {
 		if (IS_QLA83XX(ha) || IS_QLA27XX(ha) || IS_QLA28XX(ha)) {
-			if (IS_QLA2071(ha)) {
-				/* 4 ports Baker: Enable Interrupt Handshake */
-				icb->msix_atio = 0;
-				icb->firmware_options_2 |= cpu_to_le32(BIT_26);
-			} else {
-				icb->msix_atio = cpu_to_le16(msix->entry);
-				icb->firmware_options_2 &= cpu_to_le32(~BIT_26);
-			}
+			icb->msix_atio = cpu_to_le16(msix->entry);
+			icb->firmware_options_2 &= cpu_to_le32(~BIT_26);
 			ql_dbg(ql_dbg_init, vha, 0xf072,
 			    "Registering ICB vector 0x%x for atio que.\n",
 			    msix->entry);



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux