Files
linux-nvgpu/drivers/gpu/nvgpu/os/linux
Debarshi Dutta 51544b8a68 gpu: nvgpu: avoid double mapping of usermode mmap region
gk20a_pm_runtime_suspend can fail and invoke gk20a_pm_finalize_poweron
that can cause double mapping of the usermode mmap region via
io_remap_pfn_range(). Avoid this by using a boolean variable to track
whether the region is already mapped.

Bug 2707416

Change-Id: I4d8cbe427400a5b986348a19af145367cc08ffc6
Signed-off-by: Debarshi Dutta <ddutta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2229312
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dinesh T <dt@nvidia.com>
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2020-12-15 14:10:29 -06:00
..
2020-12-15 14:10:29 -06:00
2018-06-27 07:30:06 -07:00
2020-12-15 14:10:29 -06:00
2019-04-22 03:15:09 -07:00
2019-02-01 09:45:57 -08:00
2018-07-05 21:48:44 -07:00
2018-12-13 04:56:14 -08:00
2019-08-27 10:37:21 -07:00
2019-04-10 06:03:59 -07:00
2020-12-15 14:10:29 -06:00
2020-12-15 14:05:52 -06:00
2019-08-28 14:24:19 -07:00