Skip to content
Commit de2db743 authored by Catalin Marinas's avatar Catalin Marinas
Browse files

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: default avatarCatalin Marinas <catalin.marinas@arm.com>
Reported-by: default avatarBharat Bhushan <Bharat.Bhushan@freescale.com>
Tested-by: default avatarLaura Abbott <lauraa@codeaurora.org>
Tested-by: default avatarBharat Bhushan <Bharat.Bhushan@freescale.com>
Cc: <stable@vger.kernel.org>
parent d152d22a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment