From: George Dunlap <george.dunlap@eu.citrix.com>
To: "Pasi Kärkkäinen" <pasik@iki.fi>
Cc: Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>,
"xudong.hao@intel.com" <xudong.hao@intel.com>,
Yanqiangjun <yanqiangjun@huawei.com>,
Luonengjun <luonengjun@huawei.com>,
Wangzhenguo <wangzhenguo@huawei.com>,
Yangxiaowei <xiaowei.yang@huawei.com>,
"Gonglei (Arei)" <arei.gonglei@huawei.com>,
Anthony Perard <anthony.perard@citrix.com>,
"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>,
Hanweidong <hanweidong@huawei.com>,
"xiantao.zhang@intel.com" <xiantao.zhang@intel.com>
Subject: Re: GPU passthrough issue when VM is configured with 4G memory
Date: Tue, 16 Apr 2013 13:37:03 +0100 [thread overview]
Message-ID: <516D45EF.9040608@eu.citrix.com> (raw)
In-Reply-To: <20130415212258.GG11427@reaktio.net>
On 15/04/13 22:22, Pasi Kärkkäinen wrote:
> On Tue, Mar 26, 2013 at 09:37:53AM +0000, Hanweidong wrote:
>>>> HVM_BELOW_4G_RAM_END is f0000000. If we change HVM_BELOW_4G_RAM_END
>>> to e0000000,
>>>> Which it's consistent with hvmloader when assigning a GPU, and then
>>> guest worked
>>>> for us. So we wondering that xen_ram_init in QEMU should be
>>> consistent with
>>>> hvmloader.
>>>>
>>>> In addition, we found QEMU uses hardcode 0xe0000000 in pc_init1() as
>>> below.
>>>> Should keep these places handle the consistent mmio hole or not?
>>>>
>>>> if (ram_size >= 0xe0000000 ) {
>>>> above_4g_mem_size = ram_size - 0xe0000000;
>>>> below_4g_mem_size = 0xe0000000;
>>>> } else {
>>>> above_4g_mem_size = 0;
>>>> below_4g_mem_size = ram_size;
>>>> }
>>> The guys at Intel sent a couple of patches recently to fix this issue:
>>>
>>> http://marc.info/?l=xen-devel&m=136150317011027
>>> http://marc.info/?l=qemu-devel&m=136177475215360&w=2
>>>
>>> Do they solve your problem?
>> These two patches didn't solve our problem.
>>
> Any updates on this? It'd be nice to get this fixed before Xen 4.3.
It looks like the qemu guys didn't like the patch; they said there was
already an interface to get this information. I didn't see whether Xu
Dong followed that up or not.
I'm going to list this as a bug, hopefully we can get it sorted out.
-George
>
> Thanks,
>
> -- Pasi
>
>> --weidong
>>
>>> Xudong and Xiantao,
>>> are you going to send an update of the second patch to QEMU?
next prev parent reply other threads:[~2013-04-16 12:37 UTC|newest]
Thread overview: 57+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-04 8:10 GPU passthrough issue when VM is configured with 4G memory Gonglei (Arei)
2013-03-05 9:50 ` Pasi Kärkkäinen
2013-03-05 12:44 ` Hanweidong
2013-03-05 13:20 ` Pasi Kärkkäinen
2013-03-05 14:21 ` Matthias
2013-03-05 14:27 ` Pasi Kärkkäinen
2013-03-05 14:41 ` Matthias
2013-03-06 11:35 ` Hanweidong
2013-03-05 12:59 ` George Dunlap
2013-03-06 11:38 ` Hanweidong
2013-03-06 12:43 ` George Dunlap
2013-03-06 14:04 ` Pasi Kärkkäinen
2013-03-06 19:45 ` Konrad Rzeszutek Wilk
2013-03-07 7:51 ` Hanweidong
2013-03-07 10:16 ` George Dunlap
2013-03-12 5:45 ` Hanweidong
2013-03-12 10:39 ` George Dunlap
2013-03-13 13:23 ` Hanweidong
2013-03-16 23:41 ` youenn.gestin
2013-03-17 17:32 ` Pasi Kärkkäinen
2013-03-18 22:43 ` youenn.gestin
2013-03-19 7:28 ` David TECHER
2013-03-18 12:02 ` Stefano Stabellini
2013-03-18 15:40 ` Hao, Xudong
2013-03-19 0:34 ` Hanweidong
2013-03-26 9:37 ` Hanweidong
2013-04-15 21:22 ` Pasi Kärkkäinen
2013-04-16 0:44 ` David TECHER
2013-04-16 3:54 ` Pasi Kärkkäinen
2013-04-16 9:21 ` David TECHER
2013-04-16 12:45 ` Hanweidong
2013-04-16 12:37 ` George Dunlap [this message]
2013-04-16 12:46 ` Ian Campbell
2013-04-25 3:46 ` Hanweidong
2013-04-25 8:12 ` Hao, Xudong
2013-04-25 14:23 ` Hanweidong
2013-04-25 10:29 ` George Dunlap
2013-04-25 14:24 ` Hanweidong
2013-05-09 16:49 ` Pasi Kärkkäinen
2013-05-17 7:10 ` Hanweidong
2013-05-17 7:37 ` Gordan Bobic
2013-05-20 8:20 ` Pasi Kärkkäinen
2013-05-20 11:29 ` George Dunlap
2013-05-20 13:00 ` Stefano Stabellini
2013-05-20 18:43 ` Gordan Bobic
2013-05-21 4:09 ` Hanweidong
2013-05-22 15:17 ` Gordan Bobic
2013-05-22 18:11 ` Andrew Bobulsky
2013-05-22 18:41 ` Gordan Bobic
2013-05-23 14:38 ` Hanweidong
2013-05-29 16:18 ` Stefano Stabellini
2013-05-30 1:29 ` Hanweidong
2013-05-30 10:27 ` GPU passthrough issue when VM is configured with 4G memoryo Stefano Stabellini
2013-05-30 10:45 ` Hanweidong
2013-06-03 13:11 ` GPU passthrough issue when VM is configured with 4G memory Konrad Rzeszutek Wilk
2013-06-03 15:14 ` Stefano Stabellini
2013-09-26 20:09 ` GPU passthrough issue when VM is configured with 4G memory / Xen 4.4 Pasi Kärkkäinen
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=516D45EF.9040608@eu.citrix.com \
--to=george.dunlap@eu.citrix.com \
--cc=Stefano.Stabellini@eu.citrix.com \
--cc=anthony.perard@citrix.com \
--cc=arei.gonglei@huawei.com \
--cc=hanweidong@huawei.com \
--cc=luonengjun@huawei.com \
--cc=pasik@iki.fi \
--cc=wangzhenguo@huawei.com \
--cc=xen-devel@lists.xen.org \
--cc=xiantao.zhang@intel.com \
--cc=xiaowei.yang@huawei.com \
--cc=xudong.hao@intel.com \
--cc=yanqiangjun@huawei.com \
/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).