]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: v6k: DMA_CACHE_RWFO isn't appropriate for non-v6k CPUs
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 18 Jan 2011 13:30:33 +0000 (13:30 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 2 Feb 2011 21:23:32 +0000 (21:23 +0000)
Limit DMA_CACHE_RWFO to only v6k SMP CPUs - V6 CPUs aren't SMP capable,
so the read/write for ownership work-around doesn't apply to them.

Acked-by: Will Deacon <will.deacon@arm.com>
Tested-by: Sourav Poddar <sourav.poddar@ti.com>
Tested-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/Kconfig

index 843bc8c74b87620058dad17d55ab5f29ca732d2f..808b8329b135fd5dd95744e8023981a86f33b672 100644 (file)
@@ -775,7 +775,7 @@ config NEEDS_SYSCALL_FOR_CMPXCHG
 
 config DMA_CACHE_RWFO
        bool "Enable read/write for ownership DMA cache maintenance"
-       depends on (CPU_V6 || CPU_V6K) && SMP
+       depends on CPU_V6K && SMP
        default y
        help
          The Snoop Control Unit on ARM11MPCore does not detect the