Skip to content

Commit 9190819

Browse files
committed
Merge branch 'pci/controller/fu740'
- Set the supported number of MSI vectors so we can use all available MSI interrupts (Yong-Xuan Wang) * pci/controller/fu740: PCI: fu740: Set the number of MSI vectors
2 parents f38176d + 551a60e commit 9190819

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/pci/controller/dwc/pcie-fu740.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ static int fu740_pcie_probe(struct platform_device *pdev)
299299
pci->dev = dev;
300300
pci->ops = &dw_pcie_ops;
301301
pci->pp.ops = &fu740_pcie_host_ops;
302+
pci->pp.num_vectors = MAX_MSI_IRQS;
302303

303304
/* SiFive specific region: mgmt */
304305
afp->mgmt_base = devm_platform_ioremap_resource_byname(pdev, "mgmt");

0 commit comments

Comments
 (0)