]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: 8627/1: avoid cache flushing in flush_dcache_page()
authorRabin Vincent <rabinv@axis.com>
Tue, 8 Nov 2016 08:21:19 +0000 (09:21 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Tue, 10 Jan 2017 23:31:30 +0000 (23:31 +0000)
commit00a19f3e25c0c40e0ec77f52d4841d23ad269169
tree3371f5f7e4a0298833e1d5186aa5e9cb07937c10
parent7ce7d89f48834cefece7804d38fc5d85382edf77
ARM: 8627/1: avoid cache flushing in flush_dcache_page()

When the data cache is PIPT or VIPT non-aliasing, and cache operations
are broadcast by the hardware, we can always postpone the flush in
flush_dcache_page().  A similar change was done for ARM64 in commit
b5b6c9e9149d ("arm64: Avoid cache flushing in flush_dcache_page()").

Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Rabin Vincent <rabinv@axis.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/flush.c