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)
commitfeee96440c9c5fdf47f8c8079c104fc8082924a0
tree6b61e0feb55fa765389c3c5909ec81015fda966e
parent65a21b71f948406201e4f62e41f06513350ca390
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