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

arm64: Fix memory shareability attribute for ioremap_wc/cache



Write-combine and cacheable mappings use Normal memory on arm64. On SMP
systems, the pte needs the shareability bit which is set in
pgprot_default. Use this for defining PROT_DEFAULT used by ioremap_wc
and ioremap_cache (Device memory is shareable by default, does not need
additional attributes).

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