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)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 13 Mar 2014 11:22:21 +0000 (11:22 +0000)
commitde2db7432917a82b62d55bb59635586eeca6d1bd
treec6b64c335eec30b34bfa9d72c7c8ba9afe8418d1
parentd152d22a18c240286c19997a6249ee76ea055926
arm64: Make DMA coherent and strongly ordered mappings not executable

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>
Cc: <stable@vger.kernel.org>
arch/arm64/include/asm/pgtable.h