From: Catalin Marinas Date: Fri, 7 May 2010 15:26:24 +0000 (+0100) Subject: ARM: 6111/1: Implement read/write for ownership in the ARMv6 DMA cache ops X-Git-Tag: v2.6.34~8^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4d6477f7f073b99220386d62f5bf54bec3482cc;p=pandora-kernel.git ARM: 6111/1: Implement read/write for ownership in the ARMv6 DMA cache ops The Snoop Control Unit on the ARM11MPCore hardware does not detect the cache operations and the dma_cache_maint*() functions may leave stale cache entries on other CPUs. The solution implemented in this patch performs a Read or Write For Ownership in the ARMv6 DMA cache maintenance functions. These LDR/STR instructions change the cache line state to shared or exclusive so that the cache maintenance operation has the desired effect. Tested-by: George G. Davis Signed-off-by: Catalin Marinas Signed-off-by: Russell King --- Reading git-diff-tree failed