diff options
author | 2017-01-10 13:35:50 -0800 | |
---|---|---|
committer | 2017-01-12 15:05:39 +0000 | |
commit | ec6d06efb0bac6cd92846e42d1afe5b98b57e7c2 (patch) | |
tree | a09267b07514bc3136eec83eb7a40ff4d22b2de9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | arm64: Use __pa_symbol for kernel symbols (diff) | |
download | linux-dev-ec6d06efb0bac6cd92846e42d1afe5b98b57e7c2.tar.xz linux-dev-ec6d06efb0bac6cd92846e42d1afe5b98b57e7c2.zip |
arm64: Add support for CONFIG_DEBUG_VIRTUAL
x86 has an option CONFIG_DEBUG_VIRTUAL to do additional checks
on virt_to_phys calls. The goal is to catch users who are calling
virt_to_phys on non-linear addresses immediately. This inclues callers
using virt_to_phys on image addresses instead of __pa_symbol. As features
such as CONFIG_VMAP_STACK get enabled for arm64, this becomes increasingly
important. Add checks to catch bad virt_to_phys usage.
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions