mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
sata highbank: enable 64-bit DMA mask when using LPAE
Signed-off-by: Rob Herring <[email protected]> Signed-off-by: Mark Langsdorf <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
This commit is contained in:
parent
3d70a363d9
commit
404eafe137
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue