Files
linux-nvgpu/drivers/gpu/nvgpu/os/linux
Konsta Hölttä 2c441a83d4 gpu: nvgpu: keep usermode region flags on railgate
When the gpu is railgated, the usermode region mappings must be cleared.
This is already done with zap_vma_ptes() but as an extra measure the vm
flags are also zeroed. That is an oversight, so delete that code; in
particular the VM_DONTCOPY flag is important so that the mapping does
not follow fork, as the design does not allow that.

Bug 200726443

Change-Id: I84ed4e38b7de1f0c8cbf4cca6276abfa2409ac3b
Signed-off-by: Konsta Hölttä <kholtta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2538481
(cherry picked from commit e44ece25ba)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2548631
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: Debarshi Dutta <ddutta@nvidia.com>
Reviewed-by: Sagar Kamble <skamble@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2021-06-24 08:09:34 -07:00
..
2019-08-15 00:57:45 -07:00
2019-10-14 08:32:07 -07:00
2018-06-27 07:30:06 -07:00
2018-06-27 07:30:06 -07:00
2020-12-16 09:09:13 -08:00
2020-06-30 10:07:26 -07:00
2018-07-05 21:48:44 -07:00
2019-10-28 15:55:10 -07:00
2020-06-30 10:07:26 -07:00
2019-10-25 10:10:30 -07:00
2020-01-08 08:35:30 -08:00
2019-08-30 01:24:52 -07:00