linux-stable/kernel/dma
Roman Skakun 40ac971eab dma-mapping: handle vmalloc addresses in dma_common_{mmap,get_sgtable}
xen-swiotlb can use vmalloc backed addresses for dma coherent allocations
and uses the common helpers.  Properly handle them to unbreak Xen on
ARM platforms.

Fixes: 1b65c4e5a9 ("swiotlb-xen: use xen_alloc/free_coherent_pages")
Signed-off-by: Roman Skakun <roman_skakun@epam.com>
Reviewed-by: Andrii Anisov <andrii_anisov@epam.com>
[hch: split the patch, renamed the helpers]
Signed-off-by: Christoph Hellwig <hch@lst.de>
2021-07-16 11:30:26 +02:00
..
Kconfig driver core: lift dma_default_coherent into common code 2021-02-13 09:51:45 +01:00
Makefile dma-mapping updates for 5.11: 2020-12-22 13:19:43 -08:00
coherent.c dma-mapping: remove a trailing space 2021-06-22 08:15:46 +02:00
contiguous.c dma-contiguous: fix a typo error in a comment 2020-11-27 10:33:42 +01:00
debug.c dma-debug: report -EEXIST errors in add_dma_entry 2021-06-22 08:15:47 +02:00
debug.h dma-mapping: move dma-debug.h to kernel/dma/ 2020-10-06 07:07:05 +02:00
direct.c swiotlb: split swiotlb_tbl_sync_single 2021-03-17 00:32:01 +00:00
direct.h swiotlb: split swiotlb_tbl_sync_single 2021-03-17 00:32:01 +00:00
dummy.c dma-mapping: split <linux/dma-mapping.h> 2020-10-06 07:07:03 +02:00
map_benchmark.c dma-mapping: benchmark: Add support for multi-pages map/unmap 2021-04-02 16:41:08 +02:00
mapping.c dma-mapping: add a dma_alloc_noncontiguous API 2021-03-15 10:02:31 +01:00
ops_helpers.c dma-mapping: handle vmalloc addresses in dma_common_{mmap,get_sgtable} 2021-07-16 11:30:26 +02:00
pool.c dma-pool: no need to check return value of debugfs_create functions 2020-11-27 10:33:42 +01:00
remap.c kernel/dma: remove unnecessary unmap_kernel_range 2021-04-30 11:20:40 -07:00
swiotlb.c swiotlb: manipulate orig_addr when tlb_addr has offset 2021-06-21 08:59:02 -04:00