Re: (subset) [PATCH v2 0/7] Move dma-buf mmap() reservation locking down to exporters

From: Srinivas Kandagatla
Date: Fri May 12 2023 - 10:55:10 EST



On Thu, 06 Apr 2023 19:06:30 +0300, Dmitry Osipenko wrote:
> This patchset makes dma-buf exporters responisble for taking care of
> the reservation lock. I also included patch that moves drm-shmem to use
> reservation lock, to let CI test the whole set. I'm going to take all
> the patches via the drm-misc tree, please give an ack.
>
> Previous policy stated that dma-buf core takes the lock around mmap()
> callback. Which meant that both importers and exporters shouldn't touch
> the reservation lock in the mmap() code path. This worked well until
> Intel-CI found a deadlock problem in a case of self-imported dma-buf [1].
>
> [...]

Applied, thanks!

[4/7] fastrpc: Don't assert held reservation lock for dma-buf mmapping
commit: 3f6b4c6f0bd0126f673f3578429239ae3860718b

Best regards,
--
Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>