android_kernel_asus_sm8350/arch
Christoph Hellwig ea8c64ace8 dma-mapping: move swiotlb arch helpers to a new header
phys_to_dma, dma_to_phys and dma_capable are helpers published by
architecture code for use of swiotlb and xen-swiotlb only.  Drivers are
not supposed to use these directly, but use the DMA API instead.

Move these to a new asm/dma-direct.h helper, included by a
linux/dma-direct.h wrapper that provides the default linear mapping
unless the architecture wants to override it.

In the MIPS case the existing dma-coherent.h is reused for now as
untangling it will take a bit of work.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Robin Murphy <robin.murphy@arm.com>
2018-01-10 16:40:54 +01:00
..
alpha alpha: mark jensen as broken 2018-01-09 16:28:34 +01:00
arc arc: remove CONFIG_ARC_PLAT_NEEDS_PHYS_TO_DMA 2018-01-09 16:28:37 +01:00
arm dma-mapping: move swiotlb arch helpers to a new header 2018-01-10 16:40:54 +01:00
arm64 dma-mapping: move swiotlb arch helpers to a new header 2018-01-10 16:40:54 +01:00
blackfin bpf: correct broken uapi for BPF_PROG_TYPE_PERF_EVENT program type 2017-12-05 15:02:40 +01:00
c6x bpf: correct broken uapi for BPF_PROG_TYPE_PERF_EVENT program type 2017-12-05 15:02:40 +01:00
cris bpf: correct broken uapi for BPF_PROG_TYPE_PERF_EVENT program type 2017-12-05 15:02:40 +01:00
frv bpf: correct broken uapi for BPF_PROG_TYPE_PERF_EVENT program type 2017-12-05 15:02:40 +01:00
h8300 bpf: correct broken uapi for BPF_PROG_TYPE_PERF_EVENT program type 2017-12-05 15:02:40 +01:00
hexagon hexagon: remove unused flush_write_buffers definition 2018-01-09 16:28:35 +01:00
ia64 dma-mapping: move swiotlb arch helpers to a new header 2018-01-10 16:40:54 +01:00
m32r m32r: remove the unused dma_capable helper 2018-01-09 16:28:38 +01:00
m68k Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-12-08 13:32:44 -08:00
metag bpf: correct broken uapi for BPF_PROG_TYPE_PERF_EVENT program type 2017-12-05 15:02:40 +01:00
microblaze bpf: correct broken uapi for BPF_PROG_TYPE_PERF_EVENT program type 2017-12-05 15:02:40 +01:00
mips dma-mapping: move swiotlb arch helpers to a new header 2018-01-10 16:40:54 +01:00
mn10300 bpf: correct broken uapi for BPF_PROG_TYPE_PERF_EVENT program type 2017-12-05 15:02:40 +01:00
nios2 bpf: correct broken uapi for BPF_PROG_TYPE_PERF_EVENT program type 2017-12-05 15:02:40 +01:00
openrisc bpf: correct broken uapi for BPF_PROG_TYPE_PERF_EVENT program type 2017-12-05 15:02:40 +01:00
parisc parisc: qemu idle sleep support 2018-01-06 12:28:04 +01:00
powerpc dma-mapping: move swiotlb arch helpers to a new header 2018-01-10 16:40:54 +01:00
riscv riscv: remove the unused dma_capable helper 2018-01-09 16:28:39 +01:00
s390 s390: remove the unused dma_capable helper 2018-01-09 16:28:40 +01:00
score bpf: correct broken uapi for BPF_PROG_TYPE_PERF_EVENT program type 2017-12-05 15:02:40 +01:00
sh bpf: correct broken uapi for BPF_PROG_TYPE_PERF_EVENT program type 2017-12-05 15:02:40 +01:00
sparc sparc64: repair calling incorrect hweight function from stubs 2017-12-27 20:29:48 -05:00
tile dma-mapping: move swiotlb arch helpers to a new header 2018-01-10 16:40:54 +01:00
um Merge branch 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2017-12-23 11:53:04 -08:00
unicore32 dma-mapping: move swiotlb arch helpers to a new header 2018-01-10 16:40:54 +01:00
x86 dma-mapping: move swiotlb arch helpers to a new header 2018-01-10 16:40:54 +01:00
xtensa dma-mapping: move swiotlb arch helpers to a new header 2018-01-10 16:40:54 +01:00
.gitignore
Kconfig dma-mapping: move swiotlb arch helpers to a new header 2018-01-10 16:40:54 +01:00