video: tegra: host: gk20a: invalidate TLB after PDE update
authorDeepak Nibade <dnibade@nvidia.com>
Wed, 3 Dec 2014 13:17:38 +0000 (18:17 +0530)
committerMrutyunjay Sawant <msawant@nvidia.com>
Thu, 8 Jan 2015 14:29:23 +0000 (06:29 -0800)
commite4cbdae09949d23ac338209924d35584c5d8d288
tree639f0edbf0960b5fe1fdd21967ad4ae74bc7c5ce
parent56f738b4c4ee188ec1f69b91615cd9728ff18cf0
video: tegra: host: gk20a: invalidate TLB after PDE update

Invalidate TLB after PDE udpate and before freeing the Page
Table memory
Stale TLBs during unmap can lead us to access invalid PTEs

Bug 1577947

Change-Id: I46c6a7a9079570a8e2af8bb2a6687cfeec83a6f7
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/670324
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
drivers/gpu/nvgpu/gk20a/mm_gk20a.c