ARM: KVM: fix HYP mapping limitations around zero
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 12 Apr 2013 18:12:02 +0000 (19:12 +0100)
committerChristoffer Dall <cdall@cs.columbia.edu>
Mon, 29 Apr 2013 05:23:08 +0000 (22:23 -0700)
commit3562c76dcb9ce84853c835eec12a911bf3a8e2da
tree2bce0997ff66f61975c04912d60318626072b526
parent6060df84cbe0d36b8e1415b68e3f67b77f27052a
ARM: KVM: fix HYP mapping limitations around zero

The current code for creating HYP mapping doesn't like to wrap
around zero, which prevents from mapping anything into the last
page of the virtual address space.

It doesn't take much effort to remove this limitation, making
the code more consistent with the rest of the kernel in the process.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <cdall@cs.columbia.edu>
arch/arm/kvm/mmu.c