]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita8b3c875142fda2c9114c19794f310c51dcd8b0a
tree2bce0997ff66f61975c04912d60318626072b526
parentc4246f3e58c982537c235b99db98c35aa7eb472d
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