arm64: Do not flush the D-cache for anonymous pages
authorCatalin Marinas <catalin.marinas@arm.com>
Wed, 1 May 2013 15:34:22 +0000 (16:34 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 7 Jun 2013 16:58:29 +0000 (17:58 +0100)
commit7249b79f6b4cc3c2aa9138dca52e535a4c789107
treeaf9de4d98b35a9d5d2e0c9e1925ca5c6b18213d6
parentb5b6c9e9149d8a7c3f1d7b9d0c046c6184e1dd17
arm64: Do not flush the D-cache for anonymous pages

The D-cache on AArch64 is VIPT non-aliasing, so there is no need to
flush it for anonymous pages.

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>
arch/arm64/mm/flush.c
arch/arm64/mm/mmu.c