From: Julien Grall <julien.grall@arm.com>
To: Peng Fan <van.freenix@gmail.com>, sstabellini@kernel.org
Cc: xen-devel@lists.xen.org
Subject: Re: [PATCH V2] xen/arm64: config: Correctly define VMAP_VIRT_END
Date: Thu, 2 Jun 2016 12:48:19 +0100 [thread overview]
Message-ID: <57501D03.8050407@arm.com> (raw)
In-Reply-To: <1464767466-29835-1-git-send-email-van.freenix@gmail.com>
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@gmail.com>
> Cc: Julien Grall <julien.grall@arm.com>
> Cc: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Julien Grall <julien.grall@arm.com>
Regards,
--
Julien Grall
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2016-06-02 11:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-01 7:51 [PATCH V2] xen/arm64: config: Correctly define VMAP_VIRT_END Peng Fan
2016-06-02 11:48 ` Julien Grall [this message]
2016-06-02 14:51 ` Stefano Stabellini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=57501D03.8050407@arm.com \
--to=julien.grall@arm.com \
--cc=sstabellini@kernel.org \
--cc=van.freenix@gmail.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.