From: Rob Herring Date: Wed, 7 Aug 2013 15:52:35 +0000 (-0500) Subject: sata highbank: enable 64-bit DMA mask when using LPAE X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=404eafe137f858b21e2b57e3f980057ec8919fea;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git sata highbank: enable 64-bit DMA mask when using LPAE Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf Signed-off-by: Tejun Heo --- diff --git a/drivers/ata/sata_highbank.c b/drivers/ata/sata_highbank.c index d047d92a456f..5eb93de75e43 100644 --- a/drivers/ata/sata_highbank.c +++ b/drivers/ata/sata_highbank.c @@ -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