summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2021-02-24 14:59:24 -0600
committerBjorn Helgaas <bhelgaas@google.com>2021-02-24 14:59:24 -0600
commit4ab5718c3146114a54bbde3d5aafa19db66c2ea8 (patch)
tree98139e974613eca6a5c0cd429924452212dbf78f /drivers
parent9da5366938ad9f8c12dd8508ad18df8e6f7a5987 (diff)
parentc4e0fec2f7ee013dbf86445394ff47f719408f99 (diff)
downloadlinux-4ab5718c3146114a54bbde3d5aafa19db66c2ea8.tar.bz2
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.c2
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;