From: Ian Campbell Subject: Re: [PATCH RESEND v9 02/14] arch/arm: let map_mmio_regions() take pfn as parameters Date: Thu, 17 Jul 2014 13:57:52 +0100 Message-ID: <1405601872.31127.18.camel@kazak.uk.xensource.com> References: <53BFEBFB.1090602@linaro.org> <1405299035-2988-1-git-send-email-avanzini.arianna@gmail.com> <1405299035-2988-3-git-send-email-avanzini.arianna@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1405299035-2988-3-git-send-email-avanzini.arianna@gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Arianna Avanzini Cc: paolo.valente@unimore.it, keir@xen.org, stefano.stabellini@eu.citrix.com, Ian.Jackson@eu.citrix.com, dario.faggioli@citrix.com, tim@xen.org, xen-devel@lists.xen.org, julien.grall@citrix.com, etrudeau@broadcom.com, JBeulich@suse.com, andrew.cooper3@citrix.com, viktor.kleinik@globallogic.com List-Id: xen-devel@lists.xenproject.org On Mon, 2014-07-14 at 02:50 +0200, Arianna Avanzini wrote: > Currently, the map_mmio_regions() function, defined for the ARM > architecture, has parameters with paddr_t type. This interface, > however, needs caller functions to correctly page-align addresses > given as parameters to map_mmio_regions(). This commit changes the > function's interface to accept page frame numbers as parameters. > This commit also modifies caller functions in an attempt to adapt > them to the new interface. > This commit is meant to produce the minimum indispensable needed > changes; these are also instrumental to making the interface of > map_mmio_regions() symmetric with the unmap_mmio_regions() function, > that will be introduced in one of the next commits of the series > and will feature a pfn-based interface. > > NOTE: platform-specific code has not been tested, save for the > sunxi and the Arndale Exynos 5 platforms (see the Tested-by > below for the latter). > > Signed-off-by: Arianna Avanzini > Tested-by: Julien Grall > Cc: Dario Faggioli > Cc: Paolo Valente > Cc: Stefano Stabellini Acked-by: Ian Campbell