aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2016-08-17 17:54:41 +0200
committerCatalin Marinas <[email protected]>2016-08-17 17:37:37 +0100
commitbc9f3d7788a88d080a30599bde68f383daf8f8a5 (patch)
tree31bb9bddbf43207842221dff70d83a21389e4e1f /tools/perf/scripts/python/call-graph-from-postgresql.py
parentbfe6c8a89e03f52bccf922f74ced8fe959e7fd36 (diff)
arm64: kernel: avoid literal load of virtual address with MMU off
Literal loads of virtual addresses are subject to runtime relocation when CONFIG_RELOCATABLE=y, and given that the relocation routines run with the MMU and caches enabled, literal loads of relocated values performed with the MMU off are not guaranteed to return the latest value unless the memory covering the literal is cleaned to the PoC explicitly. So defer the literal load until after the MMU has been enabled, just like we do for primary_switch() and secondary_switch() in head.S. Fixes: 1e48ef7fcc37 ("arm64: add support for building vmlinux as a relocatable PIE binary") Cc: <[email protected]> # 4.6+ Signed-off-by: Ard Biesheuvel <[email protected]> Acked-by: Mark Rutland <[email protected]> Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions