Skip to content

Commit 3f101d6

Browse files
committed
bus: mhi: host: pci_generic: Enable MSI-X if the endpoint supports
JIRA: https://issues.redhat.com/browse/RHEL-79791 commit 29904a4 Author: Vivek Pernamitta <[email protected]> Date: Wed Jan 8 21:52:07 2025 +0530 bus: mhi: host: pci_generic: Enable MSI-X if the endpoint supports Enable MSI-X if the endpoint supports. Signed-off-by: Vivek Pernamitta <[email protected]> Reviewed-by: Manivannan Sadhasivam <[email protected]> Link: https://lore.kernel.org/r/[email protected] [mani: added pci_generic prefix to subject] Signed-off-by: Manivannan Sadhasivam <[email protected]> Signed-off-by: Jose Ignacio Tornos Martinez <[email protected]>
1 parent 3dcf0f3 commit 3f101d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/bus/mhi/host/pci_generic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1004,7 +1004,7 @@ static int mhi_pci_get_irqs(struct mhi_controller *mhi_cntrl,
10041004
*/
10051005
mhi_cntrl->nr_irqs = 1 + mhi_cntrl_config->num_events;
10061006

1007-
nr_vectors = pci_alloc_irq_vectors(pdev, 1, mhi_cntrl->nr_irqs, PCI_IRQ_MSI);
1007+
nr_vectors = pci_alloc_irq_vectors(pdev, 1, mhi_cntrl->nr_irqs, PCI_IRQ_MSIX | PCI_IRQ_MSI);
10081008
if (nr_vectors < 0) {
10091009
dev_err(&pdev->dev, "Error allocating MSI vectors %d\n",
10101010
nr_vectors);

0 commit comments

Comments
 (0)