diff options
| author | James Morse <[email protected]> | 2018-10-10 14:43:22 +0000 |
|---|---|---|
| committer | Catalin Marinas <[email protected]> | 2018-10-10 16:57:06 +0000 |
| commit | 26a6f87ef596e612ab79e456155e195f2fa9b891 (patch) | |
| tree | f05af02283cdb6e3555f0998dfaf88e2f53c1571 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | arm64: Add silicon-errata.txt entry for ARM erratum 1188873 (diff) | |
| download | kernel-26a6f87ef596e612ab79e456155e195f2fa9b891.tar.gz kernel-26a6f87ef596e612ab79e456155e195f2fa9b891.zip | |
arm64: mm: Use __pa_symbol() for set_swapper_pgd()
commit 2330b7ca78350efcb ("arm64/mm: use fixmap to modify
swapper_pg_dir") modifies the swapper_pg_dir via the fixmap
as the kernel page tables have been moved to a read-only
part of the kernel mapping.
Using __pa() to setup the fixmap causes CONFIG_DEBUG_VIRTUAL
to fire, as this function is used on the kernel-image swapper
address. The in_swapper_pgdir() test before each call of this
function means set_swapper_pgd() will only ever be called when
pgdp points somewhere in the kernel-image mapping of
swapper_pd_dir. Use __pa_symbol().
Reported-by: Geert Uytterhoeven <[email protected]>
Acked-by: Will Deacon <[email protected]>
Cc: Jun Yao <[email protected]>
Tested-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: James Morse <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
