[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH V4 02/32] xen/mm: Align virtual address on PAGE_SIZE in iounmap



>>> On 13.05.13 at 13:01, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
> On Fri, 2013-05-10 at 16:11 +0100, Julien Grall wrote:
>> ioremap function can unlikely return an unaligned virtual address if
>> the physical address itself is unaligned on a page size.
> 
> On x86 this causes:
> In file included from 
> /local/scratch/ianc/devel/committer.git/xen/include/asm/io.h:5,
>                  from 
> /local/scratch/ianc/devel/committer.git/xen/include/asm/mc146818rtc.h:8,
>                  from rtc.c:26:
> /local/scratch/ianc/devel/committer.git/xen/include/xen/vmap.h: In function 
> âiounmapâ:
> /local/scratch/ianc/devel/committer.git/xen/include/xen/vmap.h:20: error: 
> âPAGE_MASKâ undeclared (first use in this function)
> /local/scratch/ianc/devel/committer.git/xen/include/xen/vmap.h:20: error: 
> (Each undeclared identifier is reported only once
> /local/scratch/ianc/devel/committer.git/xen/include/xen/vmap.h:20: error: 
> for each function it appears in.)
> make[5]: *** [rtc.o] Error 1
> make[5]: *** Waiting for unfinished jobs....

With this and the other two bugs that the recent "ARM-sharing-
more-code-with-x86" effort introduced, I wonder whether it's really
appropriate for doing this sort of stuff - without proper testing on
the x86 side - during the RC phase. 

Jan

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.