[PATCH 2/7] ARM: KVM: fix HYP mapping limitations around zero

Christoffer Dall cdall at cs.columbia.edu
Wed Apr 3 19:14:09 EDT 2013


On Tue, Apr 02, 2013 at 02:25:10PM +0100, Marc Zyngier wrote:
> 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.

This is quite funny, the code used to behave like this, but
reviewers said that this was old fashioned mm-style code that was
unwanted and wrapping around zero should be avoided for all costs :)

In any case, I welcome the familiarity.

-Christoffer



More information about the linux-arm-kernel mailing list