diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2021-02-24 23:59:24 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2021-02-24 23:59:24 +0300 |
commit | 4ab5718c3146114a54bbde3d5aafa19db66c2ea8 (patch) | |
tree | 98139e974613eca6a5c0cd429924452212dbf78f /drivers | |
parent | 9da5366938ad9f8c12dd8508ad18df8e6f7a5987 (diff) | |
parent | c4e0fec2f7ee013dbf86445394ff47f719408f99 (diff) | |
download | linux-4ab5718c3146114a54bbde3d5aafa19db66c2ea8.tar.xz |
Merge branch 'remotes/lorenzo/pci/rcar'
- Always allocate rcar MSI addresses in 32-bit space so legacy devices
without 64-bit MSI support can use MSI (Marek Vasut)
* remotes/lorenzo/pci/rcar:
PCI: rcar: Always allocate MSI addresses in 32bit space
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pci/controller/pcie-rcar-host.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/controller/pcie-rcar-host.c b/drivers/pci/controller/pcie-rcar-host.c index 4d1c4b24e537..a728e8f9ad3c 100644 --- a/drivers/pci/controller/pcie-rcar-host.c +++ b/drivers/pci/controller/pcie-rcar-host.c @@ -735,7 +735,7 @@ static int rcar_pcie_enable_msi(struct rcar_pcie_host *host) } /* setup MSI data target */ - msi->pages = __get_free_pages(GFP_KERNEL, 0); + msi->pages = __get_free_pages(GFP_KERNEL | GFP_DMA32, 0); rcar_pcie_hw_enable_msi(host); return 0; |