Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c67b1b40 authored by Catalin Marinas's avatar Catalin Marinas Committed by Michael Bohan
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>
Git-commit: 2f7dc6027522499582a520807cb9ffda589de47e
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Signed-off-by: default avatarIan Maund <imaund@codeaurora.org>
parent d409c63f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment