]> git.baikalelectronics.ru Git - kernel.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)
commiteacf72ad0fc8923076553d18bb4c264436833488
tree3371f5f7e4a0298833e1d5186aa5e9cb07937c10
parent4184c0ec1ade2b73b58c41e1084d8b22fc53d09b
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
aa1d74a8b1ee ("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