From: Catalin Marinas Date: Mon, 21 Jun 2010 14:10:07 +0000 (+0100) Subject: ARM: 6188/1: Add a config option for the ARM11MPCore DMA cache maintenance workaround X-Git-Tag: v2.6.35-rc4~1^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad642d9f58f1af6e96efccb5f84e52c6d01db5c4;p=pandora-kernel.git ARM: 6188/1: Add a config option for the ARM11MPCore DMA cache maintenance workaround Commit f4d6477f introduced a workaround for the lack of hardware broadcasting of the cache maintenance operations on ARM11MPCore. However, the workaround is only valid on CPUs that do not do speculative loads into the D-cache. This patch adds a Kconfig option with the corresponding help to make the above clear. When the DMA_CACHE_RWFO option is disabled, the kernel behaviour is that prior to the f4d6477f commit. This also allows ARMv6 UP processors with speculative loads to work correctly. For other processors, a different workaround may be needed. Cc: Ronen Shitrit Signed-off-by: Catalin Marinas Signed-off-by: Russell King --- Reading git-diff-tree failed