]> git.baikalelectronics.ru Git - kernel.git/commit
sparc32: remove the call to dma_make_coherent in arch_dma_free
authorChristoph Hellwig <hch@lst.de>
Thu, 21 Oct 2021 11:01:46 +0000 (13:01 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 21 Oct 2021 11:02:41 +0000 (13:02 +0200)
commite353ab1a6d40ab5ecd256b445367c5e36a97bd83
tree880b16bef9bdabffc2be251b79d452c932357bc9
parent485bd5475dab204d9d634b832666b112ba096f53
sparc32: remove the call to dma_make_coherent in arch_dma_free

LEON only needs snooping when DMA accesses are not seen on the processor
bus.  Given that coherent allocations are mapped uncached this can't
happen for those allocations.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Andreas Larsson <andreas@gaisler.com>
Acked-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/ioport.c