Commit 404eafe1 authored by Rob Herring's avatar Rob Herring Committed by Tejun Heo
Browse files

sata highbank: enable 64-bit DMA mask when using LPAE

parent 3d70a363
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -479,6 +479,9 @@ static int ahci_highbank_probe(struct platform_device *pdev)
	if (hpriv->cap & HOST_CAP_PMP)
		pi.flags |= ATA_FLAG_PMP;

	if (hpriv->cap & HOST_CAP_64)
		dma_set_coherent_mask(dev, DMA_BIT_MASK(64));

	/* CAP.NP sometimes indicate the index of the last enabled
	 * port, at other times, that of the last possible port, so
	 * determining the maximum port number requires looking at