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)
commitf6f41eb9ccc0e6fad0ccba4c5e0a97de935db734
tree52d92f95253e017533c273d5514803aaefed9c78
parent516cbc793eb4be5123289d067b54dfcdabeddb25
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