linux_dsm_epyc7002/drivers/gpu/drm/msm
Linus Torvalds 96d4f267e4 Remove 'type' argument from access_ok() function
Nobody has actually used the type (VERIFY_READ vs VERIFY_WRITE) argument
of the user address range verification function since we got rid of the
old racy i386-only code to walk page tables by hand.

It existed because the original 80386 would not honor the write protect
bit when in kernel mode, so you had to do COW by hand before doing any
user access.  But we haven't supported that in a long time, and these
days the 'type' argument is a purely historical artifact.

A discussion about extending 'user_access_begin()' to do the range
checking resulted this patch, because there is no way we're going to
move the old VERIFY_xyz interface to that model.  And it's best done at
the end of the merge window when I've done most of my merges, so let's
just get this done once and for all.

This patch was mostly done with a sed-script, with manual fix-ups for
the cases that weren't of the trivial 'access_ok(VERIFY_xyz' form.

There were a couple of notable cases:

 - csky still had the old "verify_area()" name as an alias.

 - the iter_iov code had magical hardcoded knowledge of the actual
   values of VERIFY_{READ,WRITE} (not that they mattered, since nothing
   really used it)

 - microblaze used the type argument for a debug printout

but other than those oddities this should be a total no-op patch.

I tried to fix up all architectures, did fairly extensive grepping for
access_ok() uses, and the changes are trivial, but I may have missed
something.  Any missed conversion should be trivially fixable, though.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2019-01-03 18:57:57 -08:00
..
adreno ARM: SoC driver updates 2018-12-31 17:32:35 -08:00
disp drm pull request for 4.21-rc1 2018-12-25 11:48:26 -08:00
dsi drm pull request for 4.21-rc1 2018-12-25 11:48:26 -08:00
edp drm: msm: Use DRM_DEV_* instead of dev_* 2018-12-11 13:05:22 -05:00
hdmi drm pull request for 4.21-rc1 2018-12-25 11:48:26 -08:00
Kconfig drm/msm: add headless gpu device for imx5 2018-12-11 13:07:11 -05:00
Makefile drm/msm/dpu: Remove dpu_irq and unused functions 2018-12-11 13:10:18 -05:00
msm_atomic.c drm pull request for 4.21-rc1 2018-12-25 11:48:26 -08:00
msm_debugfs.c drm pull request for 4.21-rc1 2018-12-25 11:48:26 -08:00
msm_debugfs.h drm/msm: Remove msm_debugfs_cleanup() 2017-03-08 11:24:45 +01:00
msm_drv.c drm pull request for 4.21-rc1 2018-12-25 11:48:26 -08:00
msm_drv.h drm/msm: implement a2xx mmu 2018-12-11 13:07:10 -05:00
msm_fb.c drm/msm: Add a name field for gem objects 2018-12-11 13:06:59 -05:00
msm_fbdev.c drm/msm: Add msm_gem_get_and_pin_iova() 2018-12-11 13:05:32 -05:00
msm_fence.c drm/msm: Remove unecessary dma_fence_ops 2018-08-17 11:22:25 +02:00
msm_fence.h drm/msm: strip out msm_fence_cb 2018-03-19 06:33:35 -04:00
msm_gem_prime.c drm/msm: Expose our reservation object when exporting a dmabuf. 2017-05-27 13:48:26 -04:00
msm_gem_shrinker.c drm/msm: Separate locking of buffer resources from struct_mutex 2017-06-17 08:03:07 -04:00
msm_gem_submit.c Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
msm_gem_vma.c drm/msm: implement a2xx mmu 2018-12-11 13:07:10 -05:00
msm_gem.c drm/msm: implement a2xx mmu 2018-12-11 13:07:10 -05:00
msm_gem.h drm/msm: Add a name field for gem objects 2018-12-11 13:06:59 -05:00
msm_gpu_trace.h drm/msm/gpu: Add trace events for tracking GPU submissions 2018-12-11 13:05:28 -05:00
msm_gpu_tracepoints.c drm/msm/gpu: Add trace events for tracking GPU submissions 2018-12-11 13:05:28 -05:00
msm_gpu.c drm pull request for 4.21-rc1 2018-12-25 11:48:26 -08:00
msm_gpu.h drm/msm: Optimize adreno_show_object() 2018-12-11 13:07:03 -05:00
msm_gpummu.c drm/msm: implement a2xx mmu 2018-12-11 13:07:10 -05:00
msm_iommu.c drm pull request for 4.21-rc1 2018-12-25 11:48:26 -08:00
msm_kms.h drm/msm: Cut dpu_kms hooks from msm_pm_suspend/resume 2018-12-11 12:51:27 -05:00
msm_mmu.h drm/msm: implement a2xx mmu 2018-12-11 13:07:10 -05:00
msm_perf.c drm/msm: Remove msm_debugfs_cleanup() 2017-03-08 11:24:45 +01:00
msm_rd.c drm pull request for 4.21-rc1 2018-12-25 11:48:26 -08:00
msm_ringbuffer.c drm/msm/gpu: Map the ringbuffer in the iova at create time 2018-12-11 13:07:03 -05:00
msm_ringbuffer.h drm/msm/gpu: Add per-submission statistics 2018-12-11 13:05:28 -05:00
msm_submitqueue.c drm/msm: Support multiple ringbuffers 2017-10-28 11:01:36 -04:00
NOTES