From: Ian Campbell Subject: Re: [PATCH v6 04/11] arch, arm: make pfn range passed to map_mmio_regions() inclusive Date: Mon, 28 Apr 2014 14:15:55 +0100 Message-ID: <1398690955.29700.90.camel@kazak.uk.xensource.com> References: <1398087904-16594-1-git-send-email-avanzini.arianna@gmail.com> <1398087904-16594-5-git-send-email-avanzini.arianna@gmail.com> <5356C89A.4080708@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5356C89A.4080708@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: paolo.valente@unimore.it, keir@xen.org, stefano.stabellini@eu.citrix.com, tim@xen.org, dario.faggioli@citrix.com, Ian.Jackson@eu.citrix.com, xen-devel@lists.xen.org, julien.grall@citrix.com, etrudeau@broadcom.com, JBeulich@suse.com, Arianna Avanzini , viktor.kleinik@globallogic.com List-Id: xen-devel@lists.xenproject.org On Tue, 2014-04-22 at 20:52 +0100, Julien Grall wrote: > Hi Arianna, > > On 21/04/14 14:44, Arianna Avanzini wrote: > > Currently, the map_mmio_regions() function accepts a range of pfns > > which is not inclusive of the end frame number. However, the > > corresponding operation performed for the x86 architecture, which > > will be factored out from the memory_mapping DOMCTL in one of the > > following commits, accepts a pfn range which is inclusive of the > > end pfn. > > This commit attempts to make such an interface consistent, by > > letting map_mmio_regions() consider a pfn range inclusive of the > > end pfn. > > > I think this patch can be merged with the previous patch (i.e #3). I think it would be better to keep the type change and the limits handling separate. All the +1/-1/align to something is tricky enough already done step by step. Acked-by: Ian Campbell Ian.