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)
committerWinnie Hsu <whsu@nvidia.com>
Mon, 19 Jan 2015 23:53:47 +0000 (15:53 -0800)
commit8763bec68f2996327dfba795fa4cc402c4542f1a
tree5105f22b329718c3981bdd9a6ea699215fb56592
parent495f8d31eff57319be13f885e88f4055fa56e772
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
(cherry-picked from commit e4cbdae09949d23ac338209924d35584c5d8d288)
Reviewed-on: http://git-master/r/671197
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
GVS: Gerrit_Virtual_Submit
drivers/gpu/nvgpu/gk20a/mm_gk20a.c