Files
linux-nvgpu/drivers/gpu/nvgpu/os/linux
Konsta Holtta 7aac00ee58 gpu: nvgpu: verify usermode mapping is at most 64K
Commit ca611e4d0e (gpu: nvgpu: verify usermode mapping is at least
PAGE_SIZE) was not quite the right thing to do; do_mmap() rounds the
length up to a page boundary anyway, but the length must not be longer
than the size of the usermode region which is 64 KB to avoid leaking
access to other registers.

Bug 2441531

Change-Id: Ib1c88a6725db62c8276b6e8b880631227a4fc8cd
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1971339
Reviewed-by: Alex Waterman <alexw@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Allen Martin <amartin@nvidia.com>
Reviewed-by: Debarshi Dutta <ddutta@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2018-12-14 00:35:22 -08:00
..
2018-12-11 16:24:10 -08:00
2018-06-27 07:30:06 -07:00
2018-06-27 07:30:06 -07:00
2018-11-08 21:42:38 -08:00
2018-07-05 21:48:44 -07:00
2018-11-25 23:54:10 -08:00
2018-11-25 23:54:10 -08:00
2018-12-13 04:56:14 -08:00
2018-12-13 04:56:14 -08:00
2018-10-24 23:16:20 -07:00