From: Marcel Apfelbaum <marcel@redhat.com>
To: Gerd Hoffmann <kraxel@redhat.com>,
Laszlo Ersek <lersek@redhat.com>,
qemu-devel@nongnu.org
Cc: mst@redhat.com, pbonzini@redhat.com, ehabkost@redhat.com,
Igor Mammedov <imammedo@redhat.com>,
"Dr. David Alan Gilbert" <dgilbert@redhat.com>
Subject: Re: [Qemu-devel] [PATCH] hw/pci-host: Fix x86 Host Bridges 64bit PCI hole
Date: Fri, 20 Oct 2017 16:47:01 +0300 [thread overview]
Message-ID: <f58bd55b-5a32-bbe1-90e6-79c5b1036355@redhat.com> (raw)
In-Reply-To: <1508482525.18146.6.camel@redhat.com>
Hi Gerd,
On 20/10/2017 9:55, Gerd Hoffmann wrote:
> Hi,
>
>>> commit message says:
>>>
>>> <quote>
>>> It turns out that some 32 bit windows guests crash
>>> if 64 bit PCI hole size is >2G.
>>> </quote>
>>>
>>> Why this suddenly isn't a problem any more?
>>>
>>
>> I suppose it is, so we need a way to turn it "off".
>
> Or have machine types behave differently, i.e. give q35 a large 64bit
> hole and leave pc as-is.
>
> Devices with that large bars are most likely pci express anyway ...
>
Agreed
>> This is how I started, however Eduardo and (and maybe Michael ?)
>> where against letting the upper management software to deal with
>> such a low low level detail. They simply can't take such a decision.
>> This is why the property you mentioned is not ever linked
>> in code anywhere! It is simply not implemented and not used.
>
> Makes sense.
>
> BTW: Is it safe to just assume 40 bits physical is going to work? My
> workstation:
>
> model name : Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
> address sizes : 39 bits physical, 48 bits virtual
>
> Does this imply ept is limited 39 bits physical too?
>
The guest will still run with 40 bits physical!
(judging the code anyway, I hope I am wrong)
Then, the stakes are not so big, the Guest kernel will disregard
the 64bit hole since is not CPU addressable and go on.
At least Linux does it, but I think Win10 also can leave with that.
Thanks,
Marcel
> cheers,
> Gerd
>
next prev parent reply other threads:[~2017-10-20 13:47 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-18 9:58 [Qemu-devel] [PATCH] hw/pci-host: Fix x86 Host Bridges 64bit PCI hole Marcel Apfelbaum
2017-10-18 10:45 ` Igor Mammedov
2017-10-18 10:57 ` Marcel Apfelbaum
2017-10-18 11:40 ` Laszlo Ersek
2017-10-19 9:30 ` Marcel Apfelbaum
2017-10-19 10:41 ` Laszlo Ersek
2017-10-19 11:29 ` Marcel Apfelbaum
2017-10-19 11:52 ` Laszlo Ersek
2017-10-19 13:03 ` Gerd Hoffmann
2017-10-19 13:34 ` Marcel Apfelbaum
2017-10-20 6:55 ` Gerd Hoffmann
2017-10-20 9:32 ` Laszlo Ersek
2017-10-20 10:59 ` Gerd Hoffmann
2017-10-20 14:06 ` Marcel Apfelbaum
2017-10-20 13:47 ` Marcel Apfelbaum [this message]
2017-10-23 5:45 ` Gerd Hoffmann
2017-10-23 8:46 ` Marcel Apfelbaum
2017-10-23 9:16 ` Gerd Hoffmann
2017-10-23 9:35 ` Marcel Apfelbaum
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=f58bd55b-5a32-bbe1-90e6-79c5b1036355@redhat.com \
--to=marcel@redhat.com \
--cc=dgilbert@redhat.com \
--cc=ehabkost@redhat.com \
--cc=imammedo@redhat.com \
--cc=kraxel@redhat.com \
--cc=lersek@redhat.com \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.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).