2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 20:23:57 +08:00
linux-next/drivers/media/v4l2-core
Linus Torvalds 63ae602cea Merge branch 'gup_flag-cleanups'
Merge the gup_flags cleanups from Lorenzo Stoakes:
 "This patch series adjusts functions in the get_user_pages* family such
  that desired FOLL_* flags are passed as an argument rather than
  implied by flags.

  The purpose of this change is to make the use of FOLL_FORCE explicit
  so it is easier to grep for and clearer to callers that this flag is
  being used.  The use of FOLL_FORCE is an issue as it overrides missing
  VM_READ/VM_WRITE flags for the VMA whose pages we are reading
  from/writing to, which can result in surprising behaviour.

  The patch series came out of the discussion around commit 38e0885465
  ("mm: check VMA flags to avoid invalid PROT_NONE NUMA balancing"),
  which addressed a BUG_ON() being triggered when a page was faulted in
  with PROT_NONE set but having been overridden by FOLL_FORCE.
  do_numa_page() was run on the assumption the page _must_ be one marked
  for NUMA node migration as an actual PROT_NONE page would have been
  dealt with prior to this code path, however FOLL_FORCE introduced a
  situation where this assumption did not hold.

  See

      https://marc.info/?l=linux-mm&m=147585445805166

  for the patch proposal"

Additionally, there's a fix for an ancient bug related to FOLL_FORCE and
FOLL_WRITE by me.

[ This branch was rebased recently to add a few more acked-by's and
  reviewed-by's ]

* gup_flag-cleanups:
  mm: replace access_process_vm() write parameter with gup_flags
  mm: replace access_remote_vm() write parameter with gup_flags
  mm: replace __access_remote_vm() write parameter with gup_flags
  mm: replace get_user_pages_remote() write/force parameters with gup_flags
  mm: replace get_user_pages() write/force parameters with gup_flags
  mm: replace get_vaddr_frames() write/force parameters with gup_flags
  mm: replace get_user_pages_locked() write/force parameters with gup_flags
  mm: replace get_user_pages_unlocked() write/force parameters with gup_flags
  mm: remove write/force parameters from __get_user_pages_unlocked()
  mm: remove write/force parameters from __get_user_pages_locked()
  mm: remove gup_flags FOLL_WRITE games from __get_user_pages()
2016-10-19 08:39:47 -07:00
..
Kconfig samples: move blackfin gptimers-example from Documentation 2016-10-10 07:12:02 -06:00
Makefile [media] v4l2-mc: add a generic function to create the media graph 2016-02-10 07:23:40 -02:00
tuner-core.c [media] v4l2-mc.h Add pads for audio and video IF-PLL decoders 2016-02-01 07:23:58 -02:00
v4l2-async.c [media] v4l2-async: remove unneeded .registered_async callback 2016-08-24 16:49:45 -03:00
v4l2-clk.c [media] v4l2-clk: v4l2_clk_get() also need to find the of_fullname clock 2015-11-17 15:19:52 -02:00
v4l2-common.c [media] v4l2-common: Delete an unnecessary check before the function call "spi_unregister_device" 2016-08-24 09:41:37 -03:00
v4l2-compat-ioctl32.c [media] media: v4l2-compat-ioctl32: fix missing reserved field copy in put_v4l2_create32 2016-04-13 17:08:30 -03:00
v4l2-ctrls.c [media] media: v4l2-ctrls: append missing h264 profile string 2016-08-24 17:09:38 -03:00
v4l2-dev.c [media] v4l2-core: Add support for touch devices 2016-08-23 16:28:04 -03:00
v4l2-device.c [media] v4l: Do not allow re-registering sub-devices 2016-08-24 16:47:24 -03:00
v4l2-dv-timings.c [media] SDI: add flag for SDI formats and SMPTE 125M definition 2016-09-19 14:34:41 -03:00
v4l2-event.c [media] v4l2-event: v4l2_event_queue: do nothing if vdev == NULL 2015-07-17 09:15:27 -03:00
v4l2-fh.c [media] media: Change v4l-core to check if source is free 2016-02-27 08:46:55 -03:00
v4l2-flash-led-class.c [media] v4l2-flash-led: remove unused ops 2016-07-12 11:15:26 -03:00
v4l2-ioctl.c [media] v4l: ioctl: Clear the v4l2_pix_format_mplane reserved field 2016-09-09 11:29:07 -03:00
v4l2-mc.c Update my main e-mails at the Kernel tree 2016-06-15 15:35:37 -10:00
v4l2-mem2mem.c [media] v4l2-mem2mem.h: move descriptions from .c file 2016-09-09 10:05:32 -03:00
v4l2-of.c [media] v4l: of: Correct v4l2_of_parse_endpoint() kernel-doc 2016-02-01 10:01:22 -02:00
v4l2-subdev.c [media] v4l2-subdev.h: Improve documentation 2016-07-23 08:04:21 -03:00
v4l2-trace.c [media] media: videobuf2: Prepare to divide videobuf2 2015-10-20 15:12:45 -02:00
vb2-trace.c [media] media: videobuf2: Prepare to divide videobuf2 2015-10-20 15:12:45 -02:00
videobuf2-core.c [media] videobuf2-core.h: move function descriptions from c file 2016-09-09 10:14:50 -03:00
videobuf2-dma-contig.c [media] vb2: add WARN_ONs checking if a valid struct device was passed 2016-08-24 10:18:42 -03:00
videobuf2-dma-sg.c [media] vb2: add WARN_ONs checking if a valid struct device was passed 2016-08-24 10:18:42 -03:00
videobuf2-dvb.c [media] add media controller support to videobuf2-dvb 2016-02-10 07:23:41 -02:00
videobuf2-memops.c mm: replace get_vaddr_frames() write/force parameters with gup_flags 2016-10-19 08:11:24 -07:00
videobuf2-v4l2.c [media] videobuf2-v4l2.h: get kernel-doc tags from C file 2016-09-09 10:18:29 -03:00
videobuf2-vmalloc.c [media] vb2: don't return NULL for alloc and get_userptr ops 2016-08-24 10:10:40 -03:00
videobuf-core.c [media] V4L: fix a confusing function name 2016-03-03 07:30:43 -03:00
videobuf-dma-contig.c [media] videobuf-dma-contig: set vm_pgoff to be zero to pass the sanity check in vm_iomap_memory() 2014-10-24 09:32:41 -02:00
videobuf-dma-sg.c mm: replace get_user_pages() write/force parameters with gup_flags 2016-10-19 08:11:43 -07:00
videobuf-dvb.c
videobuf-vmalloc.c [media] Revert "[media] videobuf_vm_{open,close} race fixes" 2014-02-04 06:29:46 -02:00