chromeos: config: armel: enable full L2 maintenance
Kirill Artamonov [Tue, 12 Jun 2012 16:00:58 +0000 (19:00 +0300)]
When allocation is bigger than L2 size it is more optimal to
flush or writeback whole L2 instead of doing maintenance
for each allocated page.

bug 983964

Change-Id: Ibb3609be71621ff9ab75bea9146bfe7578f9315a
Signed-off-by: Kirill Artamonov <kartamonov@nvidia.com>
Reviewed-on: http://git-master/r/127835
Reviewed-by: Rhyland Klein <rklein@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

chromeos/config/armel/config.common.armel

index cf47e6a..e214821 100644 (file)
@@ -273,6 +273,7 @@ CONFIG_NEED_DMA_MAP_STATE=y
 # CONFIG_NON_ALIASED_COHERENT_MEM is not set
 CONFIG_NVMAP_ALLOW_SYSMEM=y
 CONFIG_NVMAP_CACHE_MAINT_BY_SET_WAYS=y
+CONFIG_NVMAP_OUTER_CACHE_MAINT_BY_SET_WAYS=y
 CONFIG_NVMAP_CARVEOUT_COMPACTOR=y
 # CONFIG_NVMAP_CARVEOUT_KILLER is not set
 CONFIG_NVMAP_CONVERT_CARVEOUT_TO_IOVMM=y