msm: iommu: Kconfig item for cacheable page tables
authorStepan Moskovchenko <stepanm@codeaurora.org>
Tue, 16 Nov 2010 01:46:10 +0000 (17:46 -0800)
committerDaniel Walker <dwalker@codeaurora.org>
Wed, 1 Dec 2010 00:03:16 +0000 (16:03 -0800)
Add a Kconfig item to allow the IOMMU page tables to be
coherent in the L2 cache. This generally reduces IOTLB miss
latencies and has been shown to improve multimedia
performance.

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

index dbbcfeb919db44bd12ff98605561198f16f118c5..1c6f76b3d1ace09f33630eb771dd566978395730 100644 (file)
@@ -122,6 +122,10 @@ config MACH_MSM8X60_FFA
 
 endmenu
 
+config IOMMU_PGTABLES_L2
+       def_bool y
+       depends on ARCH_MSM8X60 && MMU && SMP && CPU_DCACHE_DISABLE=n
+
 config MSM_DEBUG_UART
        int
        default 1 if MSM_DEBUG_UART1