Searched hist:"265751 a513adfec50bcb7354fc287a9bd3a62129" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/misc/ |
H A D | fastrpc.c | diff 265751a513adfec50bcb7354fc287a9bd3a62129 Thu Nov 10 14:13:49 CST 2022 Dmitry Osipenko <dmitry.osipenko@collabora.com> fastrpc: Assert held reservation lock for dma-buf mmapping
When userspace mmaps dma-buf's fd, the dma-buf reservation lock must be held. Add locking sanity check to the dma-buf mmaping callback to ensure that the locking assumption won't regress in the future.
Suggested-by: Daniel Vetter <daniel@ffwll.ch> Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com> Acked-by: Christian König <christian.koenig@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20221110201349.351294-7-dmitry.osipenko@collabora.com
|