summaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2023-08-29 19:03:52 +0300
committerBjorn Helgaas <bhelgaas@google.com>2023-08-29 19:03:52 +0300
commit9190819c89b95cfc89bbc0cd0f6b49b90dacebb7 (patch)
treed360fd177bc9c7582165610857a102065b395632 /drivers/pci
parentf38176d62bce29ea1038d3dfa8e90d05904ae6be (diff)
parent551a60e1225e71fff8efd9390204c505b0870e0f (diff)
downloadlinux-9190819c89b95cfc89bbc0cd0f6b49b90dacebb7.tar.xz
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
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/controller/dwc/pcie-fu740.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/controller/dwc/pcie-fu740.c b/drivers/pci/controller/dwc/pcie-fu740.c
index 0c90583c078b..1e9b44b8bba4 100644
--- a/drivers/pci/controller/dwc/pcie-fu740.c
+++ b/drivers/pci/controller/dwc/pcie-fu740.c
@@ -299,6 +299,7 @@ static int fu740_pcie_probe(struct platform_device *pdev)
pci->dev = dev;
pci->ops = &dw_pcie_ops;
pci->pp.ops = &fu740_pcie_host_ops;
+ pci->pp.num_vectors = MAX_MSI_IRQS;
/* SiFive specific region: mgmt */
afp->mgmt_base = devm_platform_ioremap_resource_byname(pdev, "mgmt");