]> 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)
commitdb17b5267752a80688cfebba01fe1da6013c79cf
tree6b61e0feb55fa765389c3c5909ec81015fda966e
parentb9ff7d45d551b5b6429e220718d34705c2b7a3ba
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