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

Skip to content
Commit 19d3691f authored by Will Deacon's avatar Will Deacon Committed by Greg Kroah-Hartman
Browse files

UPSTREAM: arm64: mm: Use non-global mappings for kernel space



In preparation for unmapping the kernel whilst running in userspace,
make the kernel mappings non-global so we can avoid expensive TLB
invalidation on kernel exit to userspace.

Reviewed-by: default avatarMark Rutland <mark.rutland@arm.com>
Tested-by: default avatarLaura Abbott <labbott@redhat.com>
Tested-by: default avatarShanker Donthineni <shankerd@codeaurora.org>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
(cherry picked from commit e046eb0c9bf26d94be9e4592c00c7a78b0fa9bfd)

Change-Id: Ic267c24fe8b3bc03b96933949418555de989529a
[toddpoynor@google.com: fixup PAGE_NONE conflict]
Signed-off-by: default avatarTodd Poynor <toddpoynor@google.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 17d35920
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