]> git.baikalelectronics.ru Git - kernel.git/commit
swiotlb: remove swiotlb_dma_supported
authorChristoph Hellwig <hch@lst.de>
Wed, 13 Feb 2019 07:01:27 +0000 (08:01 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 18 Feb 2019 11:41:04 +0000 (22:41 +1100)
commit3f83f842b336f5afb9d0d1c2b7186ce257dfb31b
tree6b61e0feb55fa765389c3c5909ec81015fda966e
parentc7a7b265d797cbbf3654d997529db0bbcba54b78
swiotlb: remove swiotlb_dma_supported

The only user left is powerpc, but even there the generic dma-direct
version works just as well, given that we guarantee that the swiotlb
buffer must always be addressable.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Christian Zigotzky <chzigotzky@xenosoft.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/dma-swiotlb.c
include/linux/swiotlb.h
kernel/dma/swiotlb.c