linux_dsm_epyc7002/drivers/media
Laurent Pinchart 9e68c53910 [media] uvcvideo: Don't call vb2 mmap and get_unmapped_area with queue lock held
videobuf2 has long been subject to AB-BA style deadlocks due to the
queue lock and mmap_sem being taken in different orders for the mmap and
get_unmapped_area operations. The problem has been fixed by making those
two operations callable without taking the queue lock, using an
mmap_lock internal to videobuf2.

The uvcvideo driver still calls the mmap and get_unmapped_area
operations with the queue lock held, resulting in a potential deadlock.
As the operations can now be called without locking the queue, fix it.

Reported-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-04-02 17:29:28 -03:00
..
common [media] saa7146: replace current->state by set_current_state() 2015-03-03 11:15:42 -03:00
dvb-core [media] use a function for DVB media controller register 2015-03-02 11:29:39 -03:00
dvb-frontends [media] mn88473: calculate the IF register values 2015-03-03 13:07:55 -03:00
firewire [media] firewire: Deletion of an unnecessary check before the function call "dvb_unregister_device" 2014-11-25 13:30:31 -02:00
i2c [media] smiapp: Make pixel_order_str static 2015-04-02 17:28:36 -03:00
mmc [media] siano: register media controller earlier 2015-02-26 09:10:39 -03:00
pci [media] cx18: Fix bytes_per_line 2015-03-03 11:24:34 -03:00
platform [media] media: s5p-mfc: fix broken pointer cast on 64bit arch 2015-04-02 17:08:28 -03:00
radio [media] media: radio: handle timeouts 2015-03-02 16:50:42 -03:00
rc [media] ir-hix5hd2: remove writel/readl_relaxed define 2015-02-11 20:23:52 -02:00
tuners [media] si2157: extend frequency range for ATSC 2015-04-01 06:22:26 -03:00
usb [media] uvcvideo: Don't call vb2 mmap and get_unmapped_area with queue lock held 2015-04-02 17:29:28 -03:00
v4l2-core [media] v4l: of: Read lane-polarities endpoint property 2015-04-02 16:46:42 -03:00
Kconfig [media] dvbdev: add support for media controller 2015-02-13 21:10:12 -02:00
Makefile [media] bq/c-qcam, w9966, pms: move to staging in preparation for removal 2014-12-16 23:21:44 -02:00
media-device.c [media] media: Use strlcpy instead of custom code 2014-09-21 20:27:08 -03:00
media-devnode.c [media] media-devnode: just return 0 instead of using a var 2014-09-03 17:59:28 -03:00
media-entity.c [media] media: Fix a compiler warning in media_entity_pipeline_start() 2014-11-03 19:09:13 -02:00