diff options
author | 2017-03-09 21:52:00 +0100 | |
---|---|---|
committer | 2017-03-23 13:54:13 +0000 | |
commit | aa8c09be7a6f58e1b0dd19413d872fffdb054677 (patch) | |
tree | 3ba85b112ee73ac63cd70c7c27791cb57e700cbb /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | arm: kvm: move kvm_vgic_global_state out of .text section (diff) | |
download | wireguard-linux-aa8c09be7a6f58e1b0dd19413d872fffdb054677.tar.xz wireguard-linux-aa8c09be7a6f58e1b0dd19413d872fffdb054677.zip |
arm64: mmu: move TLB maintenance from callers to create_mapping_late()
In preparation of refactoring the kernel mapping logic so that text regions
are never mapped writable, which would require adding explicit TLB
maintenance to new call sites of create_mapping_late() (which is currently
invoked twice from the same function), move the TLB maintenance from the
call site into create_mapping_late() itself, and change it from a full
TLB flush into a flush by VA, which is more appropriate here.
Also, given that create_mapping_late() has evolved into a routine that only
updates protection bits on existing mappings, rename it to
update_mapping_prot()
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions