Patch "scsi: megaraid_sas: Enable msix_load_balance for Invader and later controllers" has been added to the 4.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: megaraid_sas: Enable msix_load_balance for Invader and later controllers

to the 4.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-megaraid_sas-enable-msix_load_balance-for-invad.patch
and it can be found in the queue-4.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 962c0057ed825197461b1da5a257299061c1f748
Author: Shivasharan S <shivasharan.srikanteshwara@xxxxxxxxxxxx>
Date:   Fri Jun 28 02:50:39 2019 -0700

    scsi: megaraid_sas: Enable msix_load_balance for Invader and later controllers
    
    [ Upstream commit 1175b88452cad208894412b955ee698934968aed ]
    
    Load balancing IO completions across all available MSI-X vectors should be
    enabled for Invader and later generation controllers only.  This needs to
    be disabled for older controllers.  Add an adapter type check before
    setting msix_load_balance flag.
    
    Fixes: 1d15d9098ad1 ("scsi: megaraid_sas: Load balance completions across all MSI-X")
    Signed-off-by: Shivasharan S <shivasharan.srikanteshwara@xxxxxxxxxxxx>
    Signed-off-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c
index bdfa36712fcc4..ac4800fb1a7fb 100644
--- a/drivers/scsi/megaraid/megaraid_sas_base.c
+++ b/drivers/scsi/megaraid/megaraid_sas_base.c
@@ -5364,7 +5364,8 @@ static int megasas_init_fw(struct megasas_instance *instance)
 					instance->is_rdpq = (scratch_pad_2 & MR_RDPQ_MODE_OFFSET) ?
 								1 : 0;
 
-				if (!instance->msix_combined) {
+				if (instance->adapter_type >= INVADER_SERIES &&
+				    !instance->msix_combined) {
 					instance->msix_load_balance = true;
 					instance->smp_affinity_enable = false;
 				}



[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