ARMv7: Use lazy cache flushing if hardware broadcasts cache operations
authorCatalin Marinas <catalin.marinas@arm.com>
Tue, 9 Mar 2010 09:55:10 +0000 (09:55 +0000)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:32:27 +0000 (16:32 -0700)
commitbc07eb9db1944ccad5c4476cce2728e68abaf981
tree25f4da1a79f908f03ebd0cc027b029b26e1cf526
parent98959c85632cde43fc83ba1b709f767fc3b8a4ee
ARMv7: Use lazy cache flushing if hardware broadcasts cache operations

ARMv7 processors like Cortex-A9 broadcast the cache maintenance
operations in hardware. The patch adds the CPU ID checks for such
feature and allows the flush_dcache_page/update_mmu_cache pair to work
in lazy flushing mode similar to the UP case.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm/include/asm/smp_plat.h
arch/arm/mm/fault-armv.c
arch/arm/mm/flush.c