]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 6188/1: Add a config option for the ARM11MPCore DMA cache maintenance workaround
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 21 Jun 2010 14:10:07 +0000 (15:10 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 1 Jul 2010 09:12:31 +0000 (10:12 +0100)
commit7745558e9cc2b51daa5f7dfa731c082d9386e8d3
tree4319ed1e81f50c7035457cc0fa1cf4bcdf760abb
parentf12102c8ec32560b5bd0acd22a484b8f2d89766e
ARM: 6188/1: Add a config option for the ARM11MPCore DMA cache maintenance workaround

Commit 6051a717 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 6051a717 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 <rshitrit@marvell.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/Kconfig
arch/arm/mm/cache-v6.S