[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1375890758-30265-2-git-send-email-mark.langsdorf@calxeda.com>
Date: Wed, 7 Aug 2013 10:52:35 -0500
From: Mark Langsdorf <mark.langsdorf@...xeda.com>
To: linux-kernel@...r.kernel.org, linux-ide@...r.kernel.org,
tj@...nel.org, devicetree@...r.kernel.org, pawel.moll@....com,
mark.rutland@....com, swarren@...dotorg.org,
ian.campbell@...rix.com, rob.herring@...xeda.com,
sergei.shtylyov@...entembedded.com
Cc: Mark Langsdorf <mark.langsdorf@...xeda.com>
Subject: [PATCH v3 2/5] sata highbank: enable 64-bit DMA mask when using LPAE
From: Rob Herring <rob.herring@...xeda.com>
Signed-off-by: Rob Herring <rob.herring@...xeda.com>
Signed-off-by: Mark Langsdorf <mark.langsdorf@...xeda.com>
---
Changes from v1, v2
None.
drivers/ata/sata_highbank.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/ata/sata_highbank.c b/drivers/ata/sata_highbank.c
index e9a4f46..8b40025 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
--
1.8.1.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists