arm64: Do not synchronise I and D caches for special ptes
authorCatalin Marinas <catalin.marinas@arm.com>
Wed, 12 Mar 2014 16:28:09 +0000 (16:28 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 13 Mar 2014 11:22:29 +0000 (11:22 +0000)
commit71fdb6bf61bf0692f004f9daf5650392c0cfe300
tree9a3f7110c06475f49c97d766f7d0c32f7de6135e
parentde2db7432917a82b62d55bb59635586eeca6d1bd
arm64: Do not synchronise I and D caches for special ptes

Special pte mappings are not intended to be executable and do not even
have an associated struct page. This patch ensures that we do not call
__sync_icache_dcache() on such ptes.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Reported-by: Steve Capper <Steve.Capper@arm.com>
Tested-by: Laura Abbott <lauraa@codeaurora.org>
Tested-by: Bharat Bhushan <Bharat.Bhushan@freescale.com>
Cc: <stable@vger.kernel.org>
arch/arm64/include/asm/pgtable.h