diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-10-21 12:22:56 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2016-11-07 18:15:03 +0000 |
commit | e98216b52176ba2bfa4bdb02f178f4d08832d465 (patch) | |
tree | 60967848509e807f43fc5d42183c6345c62844f3 /.mailmap | |
parent | b7b941afe557638b29aa6bab7070cc706f3231c1 (diff) | |
download | linux-e98216b52176ba2bfa4bdb02f178f4d08832d465.tar.bz2 |
arm64: mm: BUG on unsupported manipulations of live kernel mappings
Now that we take care not manipulate the live kernel page tables in a
way that may lead to TLB conflicts, the case where a table mapping is
replaced by a block mapping can no longer occur. So remove the handling
of this at the PUD and PMD levels, and instead, BUG() on any occurrence
of live kernel page table manipulations that modify anything other than
the permission bits.
Since mark_rodata_ro() is the only caller where the kernel mappings that
are being manipulated are actually live, drop the various conditional
flush_tlb_all() invocations, and add a single call to mark_rodata_ro()
instead.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions