arm64: Avoid cache flushing in flush_dcache_page()
authorCatalin Marinas <catalin.marinas@arm.com>
Wed, 1 May 2013 11:23:05 +0000 (12:23 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 7 Jun 2013 16:58:28 +0000 (17:58 +0100)
The flush_dcache_page() function is called when the kernel modified a
page cache page. Since the D-cache on AArch64 does not have aliases
this function can simply mark the page as dirty for later flushing via
set_pte_at()/__sync_icache_dcache() if the page is executable (to ensure
the I-D cache coherency).

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Reported-by: Will Deacon <will.deacon@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>

No differences found