platform_kernel-5.15/kernel/dma
Mark-PK Tsai 8959369dd1 FROMLIST: dma-mapping: Add dma_release_coherent_memory to DMA API
Add dma_release_coherent_memory to DMA API to allow dma
user call it to release dev->dma_mem when the device is
removed.

Signed-off-by: Mark-PK Tsai <mark-pk.tsai@mediatek.com>

Bug: 233721768
Link: https://lore.kernel.org/lkml/20220422062436.14384-2-mark-pk.tsai@mediatek.com/
Change-Id: Ief72cf5bbe18a977bae76a1e5799ebc06b46d791
Signed-off-by: Mark-PK Tsai <mark-pk.tsai@mediatek.com>
2022-05-31 17:48:53 +00:00
..
Kconfig Merge branch 'stable/for-linus-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/swiotlb 2021-09-03 10:34:44 -07:00
Makefile dma-mapping updates for 5.11: 2020-12-22 13:19:43 -08:00
coherent.c FROMLIST: dma-mapping: Add dma_release_coherent_memory to DMA API 2022-05-31 17:48:53 +00:00
contiguous.c Merge 347d81b68b ("Merge tag 'dma-mapping-5.11' of git://git.infradead.org/users/hch/dma-mapping") into android-mainline 2021-01-09 13:24:51 +01:00
debug.c dma-debug: fix return value of __setup handlers 2022-04-08 14:23:47 +02:00
debug.h dma-debug: teach add_dma_entry() about DMA_ATTR_SKIP_CPU_SYNC 2021-10-18 12:46:45 +02:00
direct.c ANDROID: dma-direct: Make DMA32 disablement work for CONFIG_NUMA 2022-03-03 01:02:07 +00:00
direct.h dma-direct: avoid redundant memory sync for swiotlb 2022-04-20 09:34:21 +02:00
dummy.c dma-mapping: return error code from dma_dummy_map_sg() 2021-08-09 17:13:06 +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 BACKPORT: dma-mapping: remove bogus test for pfn_valid from dma_map_resource 2022-05-04 13:39:14 -07: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 Merge 5.15.17 into android13-5.15 2022-01-31 12:35:09 +01:00
remap.c kernel/dma: remove unnecessary unmap_kernel_range 2021-04-30 11:20:40 -07:00
swiotlb.c swiotlb: Support aligned swiotlb buffers 2022-04-08 14:24:17 +02:00