From: Ian Campbell <Ian.Campbell@citrix.com>
To: Vijay Kilari <vijay.kilari@gmail.com>
Cc: Prasun Kapoor <Prasun.Kapoor@caviumnetworks.com>,
Julien Grall <julien.grall@linaro.org>,
"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>,
manishjaggi.oss@gmail.com,
Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: Re: Criteria for dom0_gnttab_start
Date: Tue, 21 Oct 2014 13:04:34 +0100 [thread overview]
Message-ID: <1413893074.23337.31.camel@citrix.com> (raw)
In-Reply-To: <CALicx6trs8uk8O7+ys0AjqO0gptnUYC1Cm27bqJ43bKb7merfA@mail.gmail.com>
On Tue, 2014-10-21 at 17:24 +0530, Vijay Kilari wrote:
> Hi,
>
> What is the criteria for setting dom0_gnttab_start and size for a
> platform.
It simply needs to be an area of the IPA address space which is not
populated by anything else. Since dom0's MMIO space is mapped 1:1 with
the host PA address space it seems easiest/safest to find a hole in the
real physical space and use that.
If there is no such hole available then using the space occupied by some
device which is not passed to dom0 (e.g. is blacklisted, or used by Xen)
will suffice.
For an arm32 platform it should be below 4G.
Sizewise anything from 0x20000 should do.
Alignmentwise I suppose 2M aligned would be preferable for the guest,
but it's not mandatory.
Ian.
> Till now I am using default gnttab map
>
> Grant table range: 0x000000b0000000-0x000000b0020000
>
> Regards
> Vijay
next prev parent reply other threads:[~2014-10-21 12:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-21 11:54 Criteria for dom0_gnttab_start Vijay Kilari
2014-10-21 12:04 ` Ian Campbell [this message]
2014-10-21 12:12 ` Julien Grall
2014-10-21 12:14 ` Ian Campbell
2014-10-21 12:44 ` Vijay Kilari
2014-10-21 12:59 ` Ian Campbell
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=1413893074.23337.31.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=Prasun.Kapoor@caviumnetworks.com \
--cc=julien.grall@linaro.org \
--cc=manishjaggi.oss@gmail.com \
--cc=stefano.stabellini@eu.citrix.com \
--cc=vijay.kilari@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.