]> git.baikalelectronics.ru Git - kernel.git/commit
msm: iommu: Don't flush page tables if no devices attached
authorStepan Moskovchenko <stepanm@codeaurora.org>
Sat, 13 Nov 2010 03:29:54 +0000 (19:29 -0800)
committerDaniel Walker <dwalker@codeaurora.org>
Tue, 30 Nov 2010 22:04:21 +0000 (14:04 -0800)
commit2ed70e89f6676cc8f976db4d4ba04775cb8ea566
tree52d92f95253e017533c273d5514803aaefed9c78
parent42828971ac9177a67c920cd849f2c95fea498f08
msm: iommu: Don't flush page tables if no devices attached

Don't flush the page tables on an IOMMU domain if there are
no IOMMU devices attached to the domain. The act of
attaching to the domain will cause an implicit flush of
those areas if the page tables are configured to not be L2
cacheable.

Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>
Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
arch/arm/mach-msm/iommu.c