Commit ed243d37 authored by James Smart's avatar James Smart Committed by James Bottomley

lpfc: Fix to remove IRQF_SHARED flag for MSI/MSI-X vectors.

Signed-off-by: default avatarDick Kennedy <dick.kennedy@avagotech.com>
Signed-off-by: default avatarJames Smart <james.smart@avagotech.com>
Reviewed-by: default avatarHannes Reinecke <hare@suse.de>
Signed-off-by: default avatarJames Bottomley <JBottomley@Odin.com>
parent 6b337e03
...@@ -8369,7 +8369,7 @@ lpfc_sli_enable_msix(struct lpfc_hba *phba) ...@@ -8369,7 +8369,7 @@ lpfc_sli_enable_msix(struct lpfc_hba *phba)
/* vector-0 is associated to slow-path handler */ /* vector-0 is associated to slow-path handler */
rc = request_irq(phba->msix_entries[0].vector, 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); LPFC_SP_DRIVER_HANDLER_NAME, phba);
if (rc) { if (rc) {
lpfc_printf_log(phba, KERN_WARNING, LOG_INIT, lpfc_printf_log(phba, KERN_WARNING, LOG_INIT,
...@@ -8380,7 +8380,7 @@ lpfc_sli_enable_msix(struct lpfc_hba *phba) ...@@ -8380,7 +8380,7 @@ lpfc_sli_enable_msix(struct lpfc_hba *phba)
/* vector-1 is associated to fast-path handler */ /* vector-1 is associated to fast-path handler */
rc = request_irq(phba->msix_entries[1].vector, 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); LPFC_FP_DRIVER_HANDLER_NAME, phba);
if (rc) { if (rc) {
...@@ -8489,7 +8489,7 @@ lpfc_sli_enable_msi(struct lpfc_hba *phba) ...@@ -8489,7 +8489,7 @@ lpfc_sli_enable_msi(struct lpfc_hba *phba)
} }
rc = request_irq(phba->pcidev->irq, lpfc_sli_intr_handler, rc = request_irq(phba->pcidev->irq, lpfc_sli_intr_handler,
IRQF_SHARED, LPFC_DRIVER_NAME, phba); 0, LPFC_DRIVER_NAME, phba);
if (rc) { if (rc) {
pci_disable_msi(phba->pcidev); pci_disable_msi(phba->pcidev);
lpfc_printf_log(phba, KERN_WARNING, LOG_INIT, lpfc_printf_log(phba, KERN_WARNING, LOG_INIT,
...@@ -8946,13 +8946,13 @@ lpfc_sli4_enable_msix(struct lpfc_hba *phba) ...@@ -8946,13 +8946,13 @@ lpfc_sli4_enable_msix(struct lpfc_hba *phba)
if (phba->cfg_fof && (index == (vectors - 1))) if (phba->cfg_fof && (index == (vectors - 1)))
rc = request_irq( rc = request_irq(
phba->sli4_hba.msix_entries[index].vector, 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], (char *)&phba->sli4_hba.handler_name[index],
&phba->sli4_hba.fcp_eq_hdl[index]); &phba->sli4_hba.fcp_eq_hdl[index]);
else else
rc = request_irq( rc = request_irq(
phba->sli4_hba.msix_entries[index].vector, 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], (char *)&phba->sli4_hba.handler_name[index],
&phba->sli4_hba.fcp_eq_hdl[index]); &phba->sli4_hba.fcp_eq_hdl[index]);
if (rc) { if (rc) {
...@@ -9052,7 +9052,7 @@ lpfc_sli4_enable_msi(struct lpfc_hba *phba) ...@@ -9052,7 +9052,7 @@ lpfc_sli4_enable_msi(struct lpfc_hba *phba)
} }
rc = request_irq(phba->pcidev->irq, lpfc_sli4_intr_handler, rc = request_irq(phba->pcidev->irq, lpfc_sli4_intr_handler,
IRQF_SHARED, LPFC_DRIVER_NAME, phba); 0, LPFC_DRIVER_NAME, phba);
if (rc) { if (rc) {
pci_disable_msi(phba->pcidev); pci_disable_msi(phba->pcidev);
lpfc_printf_log(phba, KERN_WARNING, LOG_INIT, lpfc_printf_log(phba, KERN_WARNING, LOG_INIT,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment