]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
video: tegra: nvmap: deal with read vs write fault
authorSri Krishna chowdary <schowdary@nvidia.com>
Thu, 1 May 2014 04:17:08 +0000 (09:47 +0530)
committerTony Ly <tly@nvidia.com>
Wed, 7 May 2014 18:51:50 +0000 (11:51 -0700)
commitcca19bb9c02ec86570048086c7a4603cbb7eebec
tree35433d766d6ed96a71f45b737db4fc373f67b2ee
parent6a2a0ae1e5730c578563ccd8d4f02fcea9ca3262
video: tegra: nvmap: deal with read vs write fault

This change modifies the user fault handler to
- allow read access on reserved page
- do not mark pages which are read by cpu as dirty

Bug 1444151
Bug 1444298

Change-Id: Ic0550503fe27ecd179e9d24f09cc344613249be5
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/403969
(cherry picked from commit d8c2a9f56bbfbb90d90719a8fcae58e1b6f0df3c)
Reviewed-on: http://git-master/r/405155
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
drivers/video/tegra/nvmap/nvmap_dev.c