]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
lpfc: Fix to remove IRQF_SHARED flag for MSI/MSI-X vectors.
authorJames Smart <james.smart@avagotech.com>
Thu, 21 May 2015 17:55:25 +0000 (13:55 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 19 Oct 2015 16:10:54 +0000 (09:10 -0700)
Signed-off-by: Dick Kennedy <dick.kennedy@avagotech.com>
Signed-off-by: James Smart <james.smart@avagotech.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
(cherry picked from commit ed243d37be56be3dff4bf51a6f870d36843ed12f)

Orabug: 22029622
From dick.kennedy@avagotech.com lpfc-10.5.0.1-11.0.0.3-1.tar.gz
Acked-by: Chuck Anderson <chuck.anderson@oracle.com>
drivers/scsi/lpfc/lpfc_init.c

index edfe6fe1743ce8aba2d2a12fbed83f038b03834d..c2a31485192959ee1f4f8d4dc8833cf17e3e03d3 100644 (file)
@@ -8373,7 +8373,7 @@ lpfc_sli_enable_msix(struct lpfc_hba *phba)
 
        /* vector-0 is associated to slow-path handler */
        rc = request_irq(phba->msix_entries[0].vector,
-                        &lpfc_sli_sp_intr_handler, IRQF_SHARED,
+                        &lpfc_sli_sp_intr_handler, 0,
                         LPFC_SP_DRIVER_HANDLER_NAME, phba);
        if (rc) {
                lpfc_printf_log(phba, KERN_WARNING, LOG_INIT,
@@ -8384,7 +8384,7 @@ lpfc_sli_enable_msix(struct lpfc_hba *phba)
 
        /* vector-1 is associated to fast-path handler */
        rc = request_irq(phba->msix_entries[1].vector,
-                        &lpfc_sli_fp_intr_handler, IRQF_SHARED,
+                        &lpfc_sli_fp_intr_handler, 0,
                         LPFC_FP_DRIVER_HANDLER_NAME, phba);
 
        if (rc) {
@@ -8493,7 +8493,7 @@ lpfc_sli_enable_msi(struct lpfc_hba *phba)
        }
 
        rc = request_irq(phba->pcidev->irq, lpfc_sli_intr_handler,
-                        IRQF_SHARED, LPFC_DRIVER_NAME, phba);
+                        0, LPFC_DRIVER_NAME, phba);
        if (rc) {
                pci_disable_msi(phba->pcidev);
                lpfc_printf_log(phba, KERN_WARNING, LOG_INIT,
@@ -8950,13 +8950,13 @@ lpfc_sli4_enable_msix(struct lpfc_hba *phba)
                if (phba->cfg_fof && (index == (vectors - 1)))
                        rc = request_irq(
                                phba->sli4_hba.msix_entries[index].vector,
-                                &lpfc_sli4_fof_intr_handler, IRQF_SHARED,
+                                &lpfc_sli4_fof_intr_handler, 0,
                                 (char *)&phba->sli4_hba.handler_name[index],
                                 &phba->sli4_hba.fcp_eq_hdl[index]);
                else
                        rc = request_irq(
                                phba->sli4_hba.msix_entries[index].vector,
-                                &lpfc_sli4_hba_intr_handler, IRQF_SHARED,
+                                &lpfc_sli4_hba_intr_handler, 0,
                                 (char *)&phba->sli4_hba.handler_name[index],
                                 &phba->sli4_hba.fcp_eq_hdl[index]);
                if (rc) {
@@ -9056,7 +9056,7 @@ lpfc_sli4_enable_msi(struct lpfc_hba *phba)
        }
 
        rc = request_irq(phba->pcidev->irq, lpfc_sli4_intr_handler,
-                        IRQF_SHARED, LPFC_DRIVER_NAME, phba);
+                        0, LPFC_DRIVER_NAME, phba);
        if (rc) {
                pci_disable_msi(phba->pcidev);
                lpfc_printf_log(phba, KERN_WARNING, LOG_INIT,