summaryrefslogtreecommitdiffstats
path: root/arch/arm/kvm/arm.c
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2016-08-22 09:01:17 +0100
committerChristoffer Dall <christoffer.dall@linaro.org>2016-09-06 13:09:31 +0200
commitd2896d4b55b2e32b423072a4124d7da4dc1e6cb1 (patch)
treeeb7df663d067362b49b884db81c66f92b76a2c41 /arch/arm/kvm/arm.c
parent20218b86ad8adb4bf71db9425bb59680f345eafd (diff)
downloadtalos-obmc-linux-d2896d4b55b2e32b423072a4124d7da4dc1e6cb1.tar.gz
talos-obmc-linux-d2896d4b55b2e32b423072a4124d7da4dc1e6cb1.zip
arm: KVM: Fix idmap overlap detection when the kernel is idmap'ed
We're trying hard to detect when the HYP idmap overlaps with the HYP va, as it makes the teardown of a cpu dangerous. But there is one case where an overlap is completely safe, which is when the whole of the kernel is idmap'ed, which is likely to happen on 32bit when RAM is at 0x8000000 and we're using a 2G/2G VA split. In that case, we can proceed safely. Reported-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'arch/arm/kvm/arm.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud