diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2023-08-29 18:03:52 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2023-08-29 18:03:52 +0200 |
commit | 9190819c89b95cfc89bbc0cd0f6b49b90dacebb7 (patch) | |
tree | d360fd177bc9c7582165610857a102065b395632 /drivers/pci | |
parent | Merge branch 'pci/controller/dwc' (diff) | |
parent | PCI: fu740: Set the number of MSI vectors (diff) | |
download | linux-9190819c89b95cfc89bbc0cd0f6b49b90dacebb7.tar.xz linux-9190819c89b95cfc89bbc0cd0f6b49b90dacebb7.zip |
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.c | 1 |
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"); |