WSL2-Linux-Kernel/drivers/dma-buf/heaps
Weizhao Ouyang 1a62246c2c dma-buf: cma_heap: Fix mutex locking section
[ Upstream commit 54329e6f7b ]

Fix cma_heap_buffer mutex locking critical section to protect vmap_cnt
and vaddr.

Fixes: a5d2d29e24 ("dma-buf: heaps: Move heap-helper logic into the cma_heap implementation")
Signed-off-by: Weizhao Ouyang <o451686892@gmail.com>
Acked-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220104073545.124244-1-o451686892@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-03-08 19:12:37 +01:00
..
Kconfig dma-buf: heaps: Add CMA heap to dmabuf heaps 2019-12-11 11:13:37 +05:30
Makefile dma-buf: heaps: Remove heap-helpers code 2020-11-22 22:03:03 +05:30
cma_heap.c dma-buf: cma_heap: Fix mutex locking section 2022-03-08 19:12:37 +01:00
system_heap.c dma-buf: system_heap: Use 'for_each_sgtable_sg' in pages free flow 2021-12-08 09:04:42 +01:00