arm64: Make DMA coherent and strongly ordered mappings not executable
authorCatalin Marinas <catalin.marinas@arm.com>
Wed, 12 Mar 2014 16:07:06 +0000 (16:07 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 May 2014 14:55:26 +0000 (07:55 -0700)
commit73e8697b71fa956642403304b96442fd4b57ce97
treec7b2fe7a13c51beed4aed5be8c4140cb2714c74e
parentb1f2bfc9d8bb42b4e5a93470e8a0974cd4c04697
arm64: Make DMA coherent and strongly ordered mappings not executable

commit de2db7432917a82b62d55bb59635586eeca6d1bd upstream.

pgprot_{dmacoherent,writecombine,noncached} don't need to generate
executable mappings with side-effects like __sync_icache_dcache() being
called when the mapping is in user space.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Reported-by: Bharat Bhushan <Bharat.Bhushan@freescale.com>
Tested-by: Laura Abbott <lauraa@codeaurora.org>
Tested-by: Bharat Bhushan <Bharat.Bhushan@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/include/asm/pgtable.h