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

arm64: Remove pgprot_dmacoherent()



Since this macro is identical to pgprot_writecombine() and is only used
in a single place, remove it completely to avoid confusion. On ARMv7+
processors, the coherent DMA mapping must be Normal NonCacheable (a.k.a.
writecombine) to avoid mismatched hardware attribute aliases (with the
kernel linear mapping as Normal Cacheable).

Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent 214fdbe7
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