dma-direct: remove __dma_to_phys
authorChristoph Hellwig <hch@lst.de>
Tue, 8 Sep 2020 15:56:22 +0000 (17:56 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 11 Sep 2020 07:14:25 +0000 (09:14 +0200)
commit7bc5c428a660d4d1bc95ba54bf4cb6bccf8c3029
tree306eb3d7befdec2da08f45e88e2dd2aaf6e5a5a1
parent96eb89caf753fd0c26d239d8483d92632fb5be15
dma-direct: remove __dma_to_phys

There is no harm in just always clearing the SME encryption bit, while
significantly simplifying the interface.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
13 files changed:
arch/arm/include/asm/dma-direct.h
arch/mips/bmips/dma.c
arch/mips/cavium-octeon/dma-octeon.c
arch/mips/include/asm/dma-direct.h
arch/mips/loongson2ef/fuloong-2e/dma.c
arch/mips/loongson2ef/lemote-2f/dma.c
arch/mips/loongson64/dma.c
arch/mips/pci/pci-ar2315.c
arch/mips/pci/pci-xtalk-bridge.c
arch/mips/sgi-ip32/ip32-dma.c
arch/powerpc/include/asm/dma-direct.h
include/linux/dma-direct.h
kernel/dma/direct.c