diff options
author | Will Deacon <[email protected]> | 2018-06-22 16:23:45 +0100 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2018-06-22 17:23:40 +0100 |
commit | 71c8fc0c96abf8e53e74ed4d891d671e585f9076 (patch) | |
tree | 6cfd0c5ee88a4947614083dc02adc8d7aaedccf1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b5b7dd647f2d21b93f734ce890671cd908e69b0a (diff) |
arm64: mm: Ensure writes to swapper are ordered wrt subsequent cache maintenance
When rewriting swapper using nG mappings, we must performance cache
maintenance around each page table access in order to avoid coherency
problems with the host's cacheable alias under KVM. To ensure correct
ordering of the maintenance with respect to Device memory accesses made
with the Stage-1 MMU disabled, DMBs need to be added between the
maintenance and the corresponding memory access.
This patch adds a missing DMB between writing a new page table entry and
performing a clean+invalidate on the same line.
Fixes: f992b4dfd58b ("arm64: kpti: Add ->enable callback to remap swapper using nG mappings")
Cc: <[email protected]> # 4.16.x-
Acked-by: Mark Rutland <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions