Re: [PATCH 1/7] ARM: KVM: simplify HYP mapping population

2013-04-04 Thread Marc Zyngier
On 04/04/13 00:13, Christoffer Dall wrote: On Tue, Apr 02, 2013 at 02:25:09PM +0100, Marc Zyngier wrote: The way we populate HYP mappings is a bit convoluted, to say the least. Passing a pointer around to keep track of the current PFN is quite odd, and we end-up having two different PTE

Re: [PATCH 1/7] ARM: KVM: simplify HYP mapping population

2013-04-03 Thread Christoffer Dall
On Tue, Apr 02, 2013 at 02:25:09PM +0100, Marc Zyngier wrote: The way we populate HYP mappings is a bit convoluted, to say the least. Passing a pointer around to keep track of the current PFN is quite odd, and we end-up having two different PTE accessors for no good reason. Simplify the