Skip to content

Commit e365a36

Browse files
committed
Merge branch 'pci/controller/layerscape'
- Set 64-bit DMA mask for layerscape-ep (Guanhua Gao) * pci/controller/layerscape: PCI: layerscape-ep: Set 64-bit DMA mask
2 parents 7fa8fe0 + 81ef01b commit e365a36

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/pci/controller/dwc/pci-layerscape-ep.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,8 @@ static int __init ls_pcie_ep_probe(struct platform_device *pdev)
266266

267267
pcie->big_endian = of_property_read_bool(dev->of_node, "big-endian");
268268

269+
dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64));
270+
269271
platform_set_drvdata(pdev, pcie);
270272

271273
offset = dw_pcie_find_capability(pci, PCI_CAP_ID_EXP);

0 commit comments

Comments
 (0)