From: Don Slutz <dslutz@verizon.com>
To: Wei Liu <wei.liu2@citrix.com>,
Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
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, Jan Beulich <jbeulich@suse.com>,
Boris Ostrovsky <boris.ostrovsky@oracle.com>
Subject: Re: [PATCH for 4.5 v7 1/1] Add mmio_hole_size
Date: Tue, 21 Oct 2014 08:56:22 -0400 [thread overview]
Message-ID: <544657F6.8000104@terremark.com> (raw)
In-Reply-To: <20141015161242.GD29948@zion.uk.xensource.com>
On 10/15/14 12:12, Wei Liu wrote:
> On Tue, Oct 14, 2014 at 11:56:22AM -0400, Konrad Rzeszutek Wilk wrote:
>> On Mon, Oct 13, 2014 at 08:51:19AM -0400, Don Slutz wrote:
>>> If you add enough PCI devices then all mmio may not fit below 4G
>>> which may not be the layout the user wanted. This allows you to
>>> increase the below 4G address space that PCI devices can use and
>>> therefore in more cases not have any mmio that is above 4G.
>>>
>>> There are real PCI cards that do not support mmio over 4G, so if you
>>> want to emulate them precisely, you may also need to increase the
>>> space below 4G for them. There are drivers for these cards that also
>>> do not work if they have their mmio space mapped above 4G.
>>>
>>> This allows growing the MMIO hole to the size needed.
>>>
>>> This may help with using pci passthru and HVM.
>>>
>>> Signed-off-by: Don Slutz <dslutz@verizon.com>
>>
>> Wei, Ian, Stefano, Ian,
>>
>> I am OK with this patch going in Xen 4.5 (as a release-manager)
>> but it can't go anywhere unless there is an Ack/Review.
>>
>> P.S.
>> Also added Wei to the CC list.
> I didn't follow this closely. ISTR there's disagreement on whether this
> is the correct approach to fix this bug. Have we reached consent that we
> should use this approach?
I was hoping that if someone did have a disagreement with this
approach, they would have responded to this e-mail. As far as I
know the only disagreement is on bug #28:
#28 - support PCI hole resize in qemu-xen
http://bugs.xenproject.org/xen/bug/28
since this approach is not supporting PCI hole resize in qemu-xen.
> From Jan Beulich:
>> From Don Slutz:
>> The support for changing mmio_hole_size is still "missing" from QEMU.
>> So this code only works for qemu-traditional. I think Jan said
>> back on v1 or v2 (sorry, e-mail issues) that since this is a config,
>> disable the auto changing code.
> Because it didn't seem like you would want to properly take care
> of both cases together (iirc the fact that the configured hole size
> could be other than a power of 2 introduced a conflict with the
> current resizing logic). I.e. doing one or the other is a suitable
> first step imo, but with room for improvement.
So I am going with this 1st step and not claiming to fix bug #28.
-Don Slutz
> Wei.
next prev parent reply other threads:[~2014-10-21 12:56 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-13 12:51 [PATCH for 4.5 v7 0/1] Add mmio_hole_size (was Add pci_hole_min_size) Don Slutz
2014-10-13 12:51 ` [PATCH for 4.5 v7 1/1] Add mmio_hole_size Don Slutz
2014-10-14 15:56 ` Konrad Rzeszutek Wilk
2014-10-15 16:12 ` Wei Liu
2014-10-21 12:56 ` Don Slutz [this message]
2014-10-20 14:10 ` George Dunlap
2014-10-20 14:17 ` Ian Campbell
2014-10-20 22:01 ` Don Slutz
2014-10-21 7:46 ` Jan Beulich
2014-10-21 7:57 ` Ian Campbell
2014-10-21 12:58 ` Don Slutz
2014-10-21 14:26 ` Konrad Rzeszutek Wilk
2014-10-21 7:52 ` Ian Campbell
2014-10-23 16:57 ` Steve Freitas
2014-10-23 20:39 ` Andrew Cooper
2014-10-23 20:47 ` Steve Freitas
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=544657F6.8000104@terremark.com \
--to=dslutz@verizon.com \
--cc=boris.ostrovsky@oracle.com \
--cc=ian.campbell@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=jbeulich@suse.com \
--cc=konrad.wilk@oracle.com \
--cc=stefano.stabellini@eu.citrix.com \
--cc=wei.liu2@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 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.