alistair23-linux/drivers/gpu/drm/exynos
Jonathan Gonzalez V cbe97414c2 drm/exynos: call find_vma with the mmap_sem held
Performing vma lookups without taking the mm->mmap_sem is asking for
trouble.  While doing the search, the vma in question can be modified or
even removed before returning to the caller.  Take the lock (exclusively)
in order to avoid races while iterating through the vmacache and/or
rbtree.

Signed-off-by: Jonathan Gonzalez V <zeus@gnu.org>
Signed-off-by: Davidlohr Bueso <davidlohr@hp.com>
Cc: Inki Dae <inki.dae@samsung.com>
Cc: Joonyoung Shim <jy0922.shim@samsung.com>
Cc: David Airlie <airlied@linux.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-06-04 16:54:00 -07:00
..
exynos_ddc.c drm/exynos: Remove non-DT support in exynos_ddc 2013-09-05 13:43:45 +09:00
exynos_dp_core.c drm/exynos: remove MODULE_DEVICE_TABLE definitions 2014-04-04 21:24:50 +09:00
exynos_dp_core.h drm/exynos: Implement drm_connector directly in dp driver 2014-03-24 00:36:37 +09:00
exynos_dp_reg.c drm/exynos: Move dp driver from video/ to drm/ 2014-03-24 00:36:34 +09:00
exynos_dp_reg.h drm/exynos: Move dp driver from video/ to drm/ 2014-03-24 00:36:34 +09:00
exynos_drm_buf.c drm/exynos: fix return value check in lowlevel_buffer_allocate() 2013-09-16 21:57:08 +09:00
exynos_drm_buf.h drm/exynos: change file license to GPL 2013-01-04 15:54:32 +09:00
exynos_drm_connector.c drm/exynos: Split manager/display/subdrv 2014-03-24 00:36:31 +09:00
exynos_drm_connector.h drm/exynos: Remove dpms link between encoder/connector 2014-03-24 00:36:30 +09:00
exynos_drm_core.c drm/exynos: Remove the exynos_drm_connector shim 2014-03-24 00:36:38 +09:00
exynos_drm_crtc.c drm/exynos: balance framebuffer refcount 2014-04-30 09:48:28 +10:00
exynos_drm_crtc.h drm/exynos: Split manager/display/subdrv 2014-03-24 00:36:31 +09:00
exynos_drm_dmabuf.c drm/exynos: use %pad for dma_addr_t 2014-04-30 09:48:54 +10:00
exynos_drm_dmabuf.h drm/exynos: change file license to GPL 2013-01-04 15:54:32 +09:00
exynos_drm_dpi.c drm/exynos: restore parallel output interface support 2014-03-24 00:36:40 +09:00
exynos_drm_drv.c drm/exynos: add DSIM driver 2014-04-04 21:24:48 +09:00
exynos_drm_drv.h Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2014-04-08 09:52:16 -07:00
exynos_drm_dsi.c drm/exynos: dsi: use IS_ERR() to check devm_ioremap_resource() results 2014-04-30 09:48:50 +10:00
exynos_drm_encoder.c drm/exynos: Restrict plane loops to only operate on overlay planes (v2) 2014-04-01 20:11:18 -04:00
exynos_drm_encoder.h drm/exynos: Split manager/display/subdrv 2014-03-24 00:36:31 +09:00
exynos_drm_fb.c drm/exynos: delay fbdev initialization until an output is connected 2014-03-24 00:36:39 +09:00
exynos_drm_fb.h drm/exynos: change file license to GPL 2013-01-04 15:54:32 +09:00
exynos_drm_fbdev.c drm/exynos: disallow fbdev initialization if no device is connected 2014-04-04 21:24:47 +09:00
exynos_drm_fbdev.h drm/exynos: change file license to GPL 2013-01-04 15:54:32 +09:00
exynos_drm_fimc.c treewide: Fix typos in printk 2013-12-19 15:10:49 +01:00
exynos_drm_fimc.h drm/exynos: change file license to GPL 2013-01-04 15:54:32 +09:00
exynos_drm_fimd.c drm/exynos: fimd: remove unused variable 2014-03-24 00:36:41 +09:00
exynos_drm_g2d.c drm/exynos: call find_vma with the mmap_sem held 2014-06-04 16:54:00 -07:00
exynos_drm_g2d.h drm/exynos: add G2D driver 2012-05-17 20:14:48 +09:00
exynos_drm_gem.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2014-01-29 20:49:12 -08:00
exynos_drm_gem.h Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2014-01-29 20:49:12 -08:00
exynos_drm_gsc.c treewide: Fix typos in printk 2013-12-19 15:10:49 +01:00
exynos_drm_gsc.h drm/exynos: change file license to GPL 2013-01-04 15:54:32 +09:00
exynos_drm_iommu.c arm: dma-mapping: remove order parameter from arm_iommu_create_mapping() 2014-02-28 11:55:18 +01:00
exynos_drm_iommu.h arm: dma-mapping: remove order parameter from arm_iommu_create_mapping() 2014-02-28 11:55:18 +01:00
exynos_drm_ipp.c drm/exynos: Spelling s/contro/control/ 2014-05-05 15:37:45 +02:00
exynos_drm_ipp.h drm: fix typos in comment in /gpu/drm/exynos 2013-12-02 14:59:11 +01:00
exynos_drm_plane.c drm/exynos: Replace DRM_LOG_KMS() by DRM_DEBUG_KMS() 2014-03-28 12:57:04 +10:00
exynos_drm_plane.h drm/exynos: Use unsigned long for possible_crtcs 2014-03-24 00:36:31 +09:00
exynos_drm_rotator.c drm/exynos: Remove redundant error messages 2013-09-05 13:43:43 +09:00
exynos_drm_rotator.h drm/exynos: change file license to GPL 2013-01-04 15:54:32 +09:00
exynos_drm_vidi.c drm/exynos: use %pad for dma_addr_t 2014-04-30 09:48:54 +10:00
exynos_drm_vidi.h drm/exynos: change file license to GPL 2013-01-04 15:54:32 +09:00
exynos_hdmi.c drm/exynos: hdmi: use i2c_adapter instead of i2c_client 2014-03-24 00:36:38 +09:00
exynos_hdmi.h drm/exynos: change file license to GPL 2013-01-04 15:54:32 +09:00
exynos_hdmiphy.c drm/exynos: Remove non-DT support in exynos_hdmiphy 2013-09-05 13:43:45 +09:00
exynos_mixer.c drm/exynos: Consolidate suspend/resume in drm_drv 2014-03-24 00:36:36 +09:00
exynos_mixer.h drm/exynos: Remove exynos_drm_hdmi shim 2014-03-24 00:36:32 +09:00
Kconfig drm/exynos: add DSIM driver 2014-04-04 21:24:48 +09:00
Makefile drm/exynos: add DSIM driver 2014-04-04 21:24:48 +09:00
regs-fimc.h drm/exynos: add device tree support for fimc ipp driver 2013-04-29 14:35:32 +09:00
regs-gsc.h drm/exynos: add gsc ipp driver 2012-12-15 02:40:00 +09:00
regs-hdmi.h drm/exynos: add support for hdmiphy power control for exynos5 2012-12-14 15:40:49 +09:00
regs-mixer.h drm/exynos: add support for exynos5420 mixer 2013-06-28 21:13:57 +09:00
regs-rotator.h drm/exynos: add rotator ipp driver 2012-12-15 02:39:41 +09:00
regs-vp.h drm/exynos: added hdmi display support 2011-12-29 11:21:42 +09:00