Skip to content
Commit 7bcfab20 authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

powerpc/macio: set a proper dma_coherent_mask



We have expected busses to set up a coherent mask to properly use the
common dma mapping code for a long time, and now that I've added a warning
macio turned out to not set one up yet.  This sets it to the same value
as the dma_mask, which seems to be what the drivers expect.

Reported-by: default avatarMathieu Malaterre <malat@debian.org>
Tested-by: default avatarMathieu Malaterre <malat@debian.org>
Reported-by: default avatarMeelis Roos <mroos@linux.ee>
Tested-by: default avatarMeelis Roos <mroos@linux.ee>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent ecc2dc55
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment