summaryrefslogtreecommitdiff
path: root/kernel/locking/mutex-debug.c
diff options
context:
space:
mode:
authorGuchun Chen <guchunc@codeaurora.org>2017-06-13 15:11:53 +0800
committerGuchun Chen <guchunc@codeaurora.org>2017-06-14 11:18:47 +0800
commitbdac1e68ba4fe8b08a0836c2992df1f1d59ca306 (patch)
tree3447d72a25fac3d489baad53fba83467cdd343e3 /kernel/locking/mutex-debug.c
parent85baaeb2e2d0e7c67bf4e5cc22d15e173d01b209 (diff)
msm: smmu: add re-route calling for specified iova when mapping
When calling smmu mapping, if iova is specified directly by user, not allocated dynamically in dma-mapping.c, smmu driver needs to provide support for this. This is needed in early display case. In this scenario, LK has set physical memory to display hardware for fetching, so if iova is not explicitly specified in kernel, but instead dynamically produced by "alloc_iova" in dma-mapping.c, display hardware has no chance to know this new iova, then smmu fault will happen if enabling the iommu stage-1 translation. To fix this smmu fault problem, add re-routing to the right path when iova specified by user is not 0 in smmu map function. Change-Id: I555fe7ae44464f25245d2d0a6740a2411a8624ba Signed-off-by: Guchun Chen <guchunc@codeaurora.org>
Diffstat (limited to 'kernel/locking/mutex-debug.c')
0 files changed, 0 insertions, 0 deletions