From: Boris Ostrovsky <boris.ostrovsky@oracle.com>
To: George Dunlap <dunlapg@umich.edu>
Cc: Ian Campbell <ian.campbell@citrix.com>,
Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
Ian Jackson <ian.jackson@eu.citrix.com>,
Don Slutz <dslutz@verizon.com>,
"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>,
Jan Beulich <jbeulich@suse.com>
Subject: Re: [PATCH v5 1/1] Add mmio_hole_size
Date: Tue, 30 Sep 2014 11:36:49 -0400 [thread overview]
Message-ID: <542ACE11.5020309@oracle.com> (raw)
In-Reply-To: <CAFLBxZZwoLMwX2uR4w9UkHx2HMM-M21Uza1TrTgZHV0m+0VXkg@mail.gmail.com>
On 09/30/2014 09:22 AM, George Dunlap wrote:
> On Tue, Sep 30, 2014 at 2:27 AM, Boris Ostrovsky
> <boris.ostrovsky@oracle.com> wrote:
>>> + if ( mmio_hole_size )
>>> + {
>>> + uint64_t max_ram_below_4g = (1ULL << 32) - mmio_hole_size;
>>> +
>>> + if ( max_ram_below_4g > HVM_BELOW_4G_MMIO_START )
>>> + {
>>> + printf("max_ram_below_4g=0x"PRIllx
>>> + " too big for mmio_hole_size=0x"PRIllx
>>> + " has been ignored.\n",
>>> + PRIllx_arg(max_ram_below_4g),
>>> + PRIllx_arg(mmio_hole_size));
>>> + }
>>
>> Do you need to check whether the hole is too large?
>>
>> Here and in the toolstack.
> How large is too large? I've seen real machines with a 3GiB memory hole...
But if mmio_hole_size is set to, say, 4GB we can't expect anything good,
right? I don't know what the reasonable upper limit on it should be but
it seems to me we need one. Especially given that it's a uint64_t.
-boris
next prev parent reply other threads:[~2014-09-30 15:36 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-11 16:20 [PATCH v5 0/1] Add mmio_hole_size (was Add pci_hole_min_size) Don Slutz
2014-09-11 16:20 ` [PATCH v5 1/1] Add mmio_hole_size Don Slutz
2014-09-30 1:27 ` Boris Ostrovsky
2014-09-30 13:22 ` George Dunlap
2014-09-30 15:36 ` Boris Ostrovsky [this message]
2014-09-30 16:06 ` George Dunlap
2014-10-01 9:31 ` Slutz, Donald Christopher
2014-10-01 9:11 ` Slutz, Donald Christopher
2014-10-01 9:45 ` George Dunlap
2014-10-01 9:39 ` Slutz, Donald Christopher
2014-09-30 13:15 ` George Dunlap
2014-10-01 16:33 ` Don Slutz
2014-10-02 7:36 ` Jan Beulich
2014-10-07 11:25 ` George Dunlap
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=542ACE11.5020309@oracle.com \
--to=boris.ostrovsky@oracle.com \
--cc=dslutz@verizon.com \
--cc=dunlapg@umich.edu \
--cc=ian.campbell@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=jbeulich@suse.com \
--cc=stefano.stabellini@eu.citrix.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).