Message ID | 922851d0-a847-762a-5067-88c92d416d58@linaro.org |
---|---|
State | Not Applicable |
Headers | show |
diff --git a/drivers/pci/host/pcie-designware.c b/drivers/pci/host/pcie-designware.c index 4a81b72..d694e66 100644 --- a/drivers/pci/host/pcie-designware.c +++ b/drivers/pci/host/pcie-designware.c @@ -286,9 +286,8 @@ void dw_pcie_msi_init(struct pcie_port *pp) { u64 msi_target; - pp->msi_data = __get_free_pages(GFP_KERNEL, 0); + pp->msi_data = __get_free_pages(GFP_KERNEL | GFP_DMA, 0); msi_target = virt_to_phys((void *)pp->msi_data); /* program the msi_data */ dw_pcie_wr_own_conf(pp, PCIE_MSI_ADDR_LO, 4, (u32)(msi_target & 0xffffffff));