summaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_highbank.c
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2013-08-07 17:52:35 +0200
committerTejun Heo <tj@kernel.org>2013-08-09 18:08:32 +0200
commit404eafe137f858b21e2b57e3f980057ec8919fea (patch)
treeec52c383ed083db9aaa25adf624df051c30ab5e5 /drivers/ata/sata_highbank.c
parentata: pata_samsung_cf: add missing __iomem annotation (diff)
downloadlinux-404eafe137f858b21e2b57e3f980057ec8919fea.tar.xz
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/sata_highbank.c')
-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