From 404eafe137f858b21e2b57e3f980057ec8919fea Mon Sep 17 00:00:00 2001 From: Rob Herring Date: Wed, 7 Aug 2013 10:52:35 -0500 Subject: 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 --- drivers/ata/sata_highbank.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'drivers/ata') 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 -- cgit v1.2.3