Re: [PATCH] dma-buf: cma_heap: Fix mutex locking section

2022-01-19 Thread Daniel Vetter
On Tue, Jan 04, 2022 at 03:35:45PM +0800, Weizhao Ouyang wrote: > Fix cma_heap_buffer mutex locking critical section to protect vmap_cnt > and vaddr. > > Fixes: a5d2d29e24be ("dma-buf: heaps: Move heap-helper logic into the > cma_heap implementation") > Signed-off-by: Weizhao Ouyang > --- > dri

Re: [PATCH] dma-buf: cma_heap: Fix mutex locking section

2022-01-13 Thread Sumit Semwal
Hello Weizhao, On Tue, 4 Jan 2022 at 13:13, John Stultz wrote: > > On Mon, Jan 3, 2022 at 11:36 PM Weizhao Ouyang wrote: > > > > Fix cma_heap_buffer mutex locking critical section to protect vmap_cnt > > and vaddr. > > > > Fixes: a5d2d29e24be ("dma-buf: heaps: Move heap-helper logic into the >

[PATCH] dma-buf: cma_heap: Fix mutex locking section

2022-01-05 Thread Weizhao Ouyang
Fix cma_heap_buffer mutex locking critical section to protect vmap_cnt and vaddr. Fixes: a5d2d29e24be ("dma-buf: heaps: Move heap-helper logic into the cma_heap implementation") Signed-off-by: Weizhao Ouyang --- drivers/dma-buf/heaps/cma_heap.c | 6 -- 1 file changed, 4 insertions(+), 2 del

Re: [PATCH] dma-buf: cma_heap: Fix mutex locking section

2022-01-03 Thread John Stultz
On Mon, Jan 3, 2022 at 11:36 PM Weizhao Ouyang wrote: > > Fix cma_heap_buffer mutex locking critical section to protect vmap_cnt > and vaddr. > > Fixes: a5d2d29e24be ("dma-buf: heaps: Move heap-helper logic into the > cma_heap implementation") > Signed-off-by: Weizhao Ouyang Looks good to me!