]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/macio: set a proper dma_coherent_mask
authorChristoph Hellwig <hch@lst.de>
Tue, 13 Feb 2018 15:44:34 +0000 (07:44 -0800)
committerChristoph Hellwig <hch@lst.de>
Tue, 13 Feb 2018 16:58:53 +0000 (08:58 -0800)
commit82087d8ca04d99f28f98b4d8d8eb274e737b4db4
treee48c150c35d039c64aff590754c966c68860b04b
parent7dd3470f4824cebd389441036ff52b86607aa596
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: Mathieu Malaterre <malat@debian.org>
Tested-by: Mathieu Malaterre <malat@debian.org>
Reported-by: Meelis Roos <mroos@linux.ee>
Tested-by: Meelis Roos <mroos@linux.ee>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/macintosh/macio_asic.c