diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2016-06-30 20:40:50 +0300 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2016-07-04 00:41:27 +0300 |
commit | eac378a9ceb7196b776a965d915e02995fb8ba55 (patch) | |
tree | 207965331a3cb620ebcd081ac61b1580a2a7cf90 /arch/arm/include/asm/kvm_mmu.h | |
parent | f7bec68d2faed8180d7172cdbd69d99e3cad1387 (diff) | |
download | linux-eac378a9ceb7196b776a965d915e02995fb8ba55.tar.xz |
arm/arm64: KVM: Check that IDMAP doesn't intersect with VA range
This is more of a safety measure than anything else: If we end-up
with an idmap page that intersect with the range picked for the
the HYP VA space, abort the KVM setup, as it is unsafe to go
further.
I cannot imagine it happening on 64bit (we have a mechanism to
work around it), but could potentially occur on a 32bit system with
the kernel loaded high enough in memory so that in conflicts with
the kernel VA.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'arch/arm/include/asm/kvm_mmu.h')
0 files changed, 0 insertions, 0 deletions