summaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2013-08-07 10:52:35 -0500
committerTejun Heo <tj@kernel.org>2013-08-09 12:08:32 -0400
commit404eafe137f858b21e2b57e3f980057ec8919fea (patch)
treeec52c383ed083db9aaa25adf624df051c30ab5e5 /drivers/ata
parent3d70a363d965ddb34678e33d5ab8d19ac5969aed (diff)
downloadlinux-404eafe137f858b21e2b57e3f980057ec8919fea.tar.gz
linux-404eafe137f858b21e2b57e3f980057ec8919fea.tar.bz2
linux-404eafe137f858b21e2b57e3f980057ec8919fea.zip
sata highbank: enable 64-bit DMA mask when using LPAE
Signed-off-by: Rob Herring <rob.herring@calxeda.com> Signed-off-by: Mark Langsdorf <mark.langsdorf@calxeda.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/sata_highbank.c3
1 files changed, 3 insertions, 0 deletions
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