linux_dsm_epyc7002/drivers/media/v4l2-core
Laurent Pinchart a517cca6b2 [media] media: vb2: Fix potential deadlock in vb2_prepare_buffer
Commit b037c0fde2 ("media: vb2: fix
potential deadlock in mmap vs. get_userptr handling") fixes an AB-BA
deadlock related to the mmap_sem and driver locks. The same deadlock can
occur in vb2_prepare_buffer(), fix it the same way.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2013-08-22 12:01:00 -03:00
..
Kconfig [media] media/v4l2: VIDEOBUF2_DMA_CONTIG should depend on HAS_DMA 2013-03-18 18:03:18 -03:00
Makefile [media] v4l2-dv-timings: add new helper module 2013-08-18 08:15:46 -03:00
tuner-core.c [media] tuner-core/simple: get_rf_strength can be tuner mode specific 2013-04-14 19:44:50 -03:00
v4l2-async.c [media] v4l2-async: Use proper list head for iteration over registered subdevs 2013-08-18 09:24:23 -03:00
v4l2-clk.c [media] V4L2: add temporary clock helpers 2013-06-21 16:28:02 -03:00
v4l2-common.c [media] v4l2: move dv-timings related code to v4l2-dv-timings.c 2013-08-18 08:16:54 -03:00
v4l2-compat-ioctl32.c [media] v4l2-core: remove support for obsolete VIDIOC_DBG_G_CHIP_IDENT 2013-06-21 10:46:44 -03:00
v4l2-ctrls.c [media] V4L: Add VP8 encoder controls 2013-08-18 07:13:36 -03:00
v4l2-dev.c [media] v4l2: always require v4l2_dev, rename parent to dev_parent 2013-06-21 11:07:12 -03:00
v4l2-device.c [media] v4l2-device: check if already unregistered 2013-06-21 11:00:51 -03:00
v4l2-dv-timings.c [media] v4l2: move dv-timings related code to v4l2-dv-timings.c 2013-08-18 08:16:54 -03:00
v4l2-event.c [media] V4L: Add v4l2_event_subdev_unsubscribe() helper function 2013-02-05 15:04:55 -02:00
v4l2-fh.c [media] v4l, smiapp, smiapp-pll, adp1653: Update contact information 2012-11-21 13:34:50 -02:00
v4l2-int-device.c [media] v4l: move v4l2 core into a separate directory 2012-08-13 23:02:38 -03:00
v4l2-ioctl.c [media] v4l2: always require v4l2_dev, rename parent to dev_parent 2013-06-21 11:07:12 -03:00
v4l2-mem2mem.c [media] mem2mem: add support for hardware buffered queue 2013-07-26 10:00:33 -03:00
v4l2-of.c [media] v4l: of: Drop acquired reference to node when getting next endpoint 2013-08-18 08:48:33 -03:00
v4l2-subdev.c [media] v4l: Don't warn during link validation when encountering a V4L2 devnode 2012-11-22 12:09:49 -02:00
videobuf2-core.c [media] media: vb2: Fix potential deadlock in vb2_prepare_buffer 2013-08-22 12:01:00 -03:00
videobuf2-dma-contig.c [media] media: videobuf2: fix the length check for mmap 2013-04-25 09:54:00 -03:00
videobuf2-dma-sg.c [media] media: videobuf2: fix the length check for mmap 2013-04-25 09:54:00 -03:00
videobuf2-memops.c [media] v4l: vb2-dma-contig: let mmap method to use dma_mmap_coherent call 2012-11-25 17:20:25 -02:00
videobuf2-vmalloc.c [media] videobuf2: add gfp_flags 2013-03-21 13:17:51 -03:00
videobuf-core.c [media] v4l: Tell user space we're using monotonic timestamps 2012-12-21 11:20:51 -02:00
videobuf-dma-contig.c [media] videobuf-dma-contig: use vm_iomap_memory() 2013-05-21 09:22:12 -03:00
videobuf-dma-sg.c [media] videobuf_vm_{open,close} race fixes 2013-05-21 08:56:56 -03:00
videobuf-dvb.c [media] v4l: move v4l2 core into a separate directory 2012-08-13 23:02:38 -03:00
videobuf-vmalloc.c [media] videobuf_vm_{open,close} race fixes 2013-05-21 08:56:56 -03:00