[PATCH] xen: introduce xen_remap, use it instead of ioremap

Ian Campbell Ian.Campbell at citrix.com
Wed Feb 20 06:17:53 EST 2013


On Tue, 2013-02-19 at 13:59 +0000, Stefano Stabellini wrote:
> ioremap can't be used to map ring pages on ARM because it uses device
> memory caching attributes (MT_DEVICE*).
> 
> Introduce a Xen specific abstraction to map ring pages, called
> xen_remap, that is defined as ioremap on x86 (no behavioral changes).
> On ARM it explicitly calls __arm_ioremap with the right caching
> attributes: MT_MEMORY.
> 
> Signed-off-by: Stefano Stabellini <stefano.stabellini at eu.citrix.com>

Acked-by: Ian Campbell <ian.campbell at citrix.com>

If you were respinning for any reason I might suggest
s/xen_remap/xen_map_shared/ or something of that nature.

Ian.




More information about the linux-arm-kernel mailing list