From mboxrd@z Thu Jan 1 00:00:00 1970 From: cdall@cs.columbia.edu (Christoffer Dall) Date: Wed, 3 Apr 2013 16:14:09 -0700 Subject: [PATCH 2/7] ARM: KVM: fix HYP mapping limitations around zero In-Reply-To: <1364909115-3810-3-git-send-email-marc.zyngier@arm.com> References: <1364909115-3810-1-git-send-email-marc.zyngier@arm.com> <1364909115-3810-3-git-send-email-marc.zyngier@arm.com> Message-ID: <20130403231409.GB29227@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoffer Dall Subject: Re: [PATCH 2/7] ARM: KVM: fix HYP mapping limitations around zero Date: Wed, 3 Apr 2013 16:14:09 -0700 Message-ID: <20130403231409.GB29227@gmail.com> References: <1364909115-3810-1-git-send-email-marc.zyngier@arm.com> <1364909115-3810-3-git-send-email-marc.zyngier@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org, kvmarm@lists.cs.columbia.edu, catalin.marinas@arm.com, will.deacon@arm.com To: Marc Zyngier Return-path: Received: from mail-pa0-f51.google.com ([209.85.220.51]:33175 "EHLO mail-pa0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757254Ab3DCXOJ (ORCPT ); Wed, 3 Apr 2013 19:14:09 -0400 Received: by mail-pa0-f51.google.com with SMTP id jh10so1149992pab.38 for ; Wed, 03 Apr 2013 16:14:08 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1364909115-3810-3-git-send-email-marc.zyngier@arm.com> Sender: kvm-owner@vger.kernel.org List-ID: 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