dma-direct: rename and cleanup __phys_to_dma
authorChristoph Hellwig <hch@lst.de>
Mon, 17 Aug 2020 15:34:03 +0000 (17:34 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 11 Sep 2020 07:14:43 +0000 (09:14 +0200)
commit5ceda74093a5c1c3f42a02b894df031f3bbc9af1
treed16c05bab2364724baff7d1e28a71e535628250a
parent7bc5c428a660d4d1bc95ba54bf4cb6bccf8c3029
dma-direct: rename and cleanup __phys_to_dma

The __phys_to_dma vs phys_to_dma distinction isn't exactly obvious.  Try
to improve the situation by renaming __phys_to_dma to
phys_to_dma_unencryped, and not forcing architectures that want to
override phys_to_dma to actually provide __phys_to_dma.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
15 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
drivers/iommu/intel/iommu.c
include/linux/dma-direct.h
kernel/dma/direct.c
kernel/dma/swiotlb.c