]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
video: host: tegra: avoid linear mapping to iova space
authorSri Krishna chowdary <schowdary@nvidia.com>
Sat, 25 Oct 2014 05:35:32 +0000 (11:05 +0530)
committerSri Krishna Chowdary <schowdary@nvidia.com>
Sat, 1 Nov 2014 09:12:40 +0000 (02:12 -0700)
commitbedfabad14c1872136e8dadb1bb008610e22cac2
treebbfeb6068dec7fdbe5d18f4848ac64a043a25bd3
parent942f4789051f22cc22a012f622164a54bb16e51d
video: host: tegra: avoid linear mapping to iova space

Avoid dma_linear_map() call as virtualization can cause iova address
space to be split among the guest OSes.

So, map the carveout to iova space dynamically and pass the iova start
and size as parameters to the ucode.

Bug 200022149

Change-Id: Ie89d650c8b5959fc79fd11391b95c15ea97df9ee
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/563040
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sharath Sarangpur <ssarangpur@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
drivers/video/tegra/host/tsec/tsec.c