diff options
author | Laura Abbott <labbott@redhat.com> | 2017-01-11 00:35:50 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2017-01-12 18:05:39 +0300 |
commit | ec6d06efb0bac6cd92846e42d1afe5b98b57e7c2 (patch) | |
tree | a09267b07514bc3136eec83eb7a40ff4d22b2de9 /COPYING | |
parent | 2077be6783b5936c3daa838d8addbb635667927f (diff) | |
download | linux-ec6d06efb0bac6cd92846e42d1afe5b98b57e7c2.tar.xz |
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 'COPYING')
0 files changed, 0 insertions, 0 deletions