From: Julien Grall <julien.grall@citrix.com>
To: Julien Grall <julien.grall@citrix.com>, xen-devel@lists.xenproject.org
Cc: tim@xen.org, stefano.stabellini@citrix.com,
ian.campbell@citrix.com, parth.dixit@linaro.org
Subject: Re: [RFC] xen/arm: Find automatically the gnttab region for DOM0
Date: Tue, 26 May 2015 11:01:56 +0200 [thread overview]
Message-ID: <55643684.5010703@citrix.com> (raw)
In-Reply-To: <1432251520-31598-1-git-send-email-julien.grall@citrix.com>
Hi,
On 22/05/2015 01:38, Julien Grall wrote:
> Currently, the grant table region is hardcoded per-platform. When a new
> board is coming up, we have to check the spec in order to find a space
> in the memory layout free. Depending on the platform it may be tedious.
>
> A good candidate for the gnttab region is the one used by Xen binary as
> some part will never be mapped to the DOM0 address, MMIO are mapped 1:1
> and the RAM will be either:
> - direct mapped: 1:1 mapping is used => no problem
> - non direct mapped: Xen always relocates himself as high as possible
> (limited to 4GB on ARM32) and the RAM bank are filled from the first
> one. It's very unlikely that the gnttab region will overlap with the
> RAM. Although for safety a check may be necessary when we will reenable
> the option.
>
> Futhermore, there is plenty of space to contain a big gnttab, the default
> size is 32 frame (i.e 32KB) but it can be changed via a command option.
I miscalculate the size here. It should be 32 * 4KB = 128KB.
Regards,
--
Julien Grall
next prev parent reply other threads:[~2015-05-26 9:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-21 23:38 [RFC] xen/arm: Find automatically the gnttab region for DOM0 Julien Grall
2015-05-26 9:01 ` Julien Grall [this message]
2015-06-17 10:26 ` Ian Campbell
2015-06-17 13:01 ` Julien Grall
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=55643684.5010703@citrix.com \
--to=julien.grall@citrix.com \
--cc=ian.campbell@citrix.com \
--cc=parth.dixit@linaro.org \
--cc=stefano.stabellini@citrix.com \
--cc=tim@xen.org \
--cc=xen-devel@lists.xenproject.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.