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

Re: [Xen-devel] [PATCH V2] xen/arm64: config: Correctly define VMAP_VIRT_END



On Thu, 2 Jun 2016, Julien Grall wrote:
> Hi Peng,
> 
> On 01/06/16 08:51, Peng Fan wrote:
> > The vmap initialization code (vm_init_type) will round down
> > the end of the region to a page-aligned address.
> > 
> > On ARM64, the default vmap region is located between 1G and 2G.
> > Based on the initialization code, the end address is excluded
> > of the region.
> > 
> > Therefore the current definition of VMAP_VIRT_END will lead the
> > vmap code to not use the last 4K of the region.
> > 
> > Fix it by defining VMAP_VIRT_END as "VMAP_VIRT_START + GB(1)".
> > 
> > Signed-off-by: Peng Fan <van.freenix@xxxxxxxxx>
> > Cc: Julien Grall <julien.grall@xxxxxxx>
> > Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>
> 
> Reviewed-by: Julien Grall <julien.grall@xxxxxxx>

Added to my next-4.8 branch

_______________________________________________
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®.