[PATCH v2] arm: KVM: Fix idmap overlap detection when the kernel is idmap'ed
Christoffer Dall
christoffer.dall at linaro.org
Thu Aug 25 11:34:44 PDT 2016
On Mon, Aug 22, 2016 at 09:01:17AM +0100, Marc Zyngier wrote:
> 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 at linaro.org>
> Signed-off-by: Marc Zyngier <marc.zyngier at arm.com>
Thanks, applied.
-Christoffer
More information about the linux-arm-kernel
mailing list