From: "Michael S. Tsirkin" <mst@redhat.com>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: Eduardo Habkost <ehabkost@redhat.com>,
"Jordan Justen (Intel address)" <jordan.l.justen@intel.com>,
qemu-devel@nongnu.org, Anthony Liguori <aliguori@amazon.com>,
Igor Mammedov <imammedo@redhat.com>,
Laszlo Ersek <lersek@redhat.com>
Subject: Re: [Qemu-devel] [PULL for-1.8 1/2] pc: disable pci-info
Date: Wed, 27 Nov 2013 08:20:51 +0200 [thread overview]
Message-ID: <20131127062051.GC28488@redhat.com> (raw)
In-Reply-To: <1385481573.10163.38.camel@nilsson.home.kraxel.org>
On Tue, Nov 26, 2013 at 04:59:33PM +0100, Gerd Hoffmann wrote:
>
> Hi,
>
> > > > Yes, I think it's a start. Q35 is a bit harder because of the MMIO
> > > > region.
> > >
> > > ??? Do you mean mmconfig? That can live inside the window.
> >
> > Are you sure? When I tried windows crashed but maybe I'm wrong.
> > Did you try some windows guests?
>
> At least it looks that way on my laptop:
>
> nilsson root ~# cat /proc/iomem
> [ ... ]
> dfa00000-febfffff : PCI Bus 0000:00
> [ ... ]
> f8000000-fbffffff : PCI MMCONFIG 0000 [bus 00-3f]
> f80f8000-f80f8fff : reserved
> fec00000-fec003ff : IOAPIC 0
> [ ... ]
True. Mine also has:
_CRS in DSDT:
DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
0x00000000, // Granularity
0x00100000, // Range Minimum
0xFEBFFFFF, // Range Maximum
0x00000000, // Translation Offset
0xFEB00000, // Length
,, _Y23, AddressRangeMemory, TypeStatic)
MCFG
[02Ch 0044 8] Base Address : 00000000F8000000
[034h 0052 2] Segment Group Number : 0000
[036h 0054 1] Start Bus Number : 00
[037h 0055 1] End Bus Number : 3F
[038h 0056 4] Reserved : 00000000
so they do overlap apparently without issues.
Well, this definitely simplifies things: this probably means we can just
do the same thing for piix and q35.
> The reservation seems to be different from what we are doing though. We
> (aka seabios) are creating a e820 reserved region, on my laptop mmconfig
> is declared in acpi:
>
> nilsson root ~# grep f8000000 /var/log/dmesg
> [ 0.103320] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem
> 0xf8000000-0xfbffffff] (base 0xf8000000)
> [ 0.126943] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem
> 0xf8000000-0xfbffffff] (base 0xf8000000)
> [ 0.128697] PCI: MMCONFIG at [mem 0xf8000000-0xfbffffff] reserved in
> ACPI motherboard resources
> [ 0.160979] system 00:01: [mem 0xf8000000-0xfbffffff] could not be
> reserved
>
> Maybe this is what windows doesn't like ...
>
> cheers,
> Gerd
>
>
next prev parent reply other threads:[~2013-11-27 6:17 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-18 11:53 [Qemu-devel] [PULL for-1.8 0/2] pc last minute fixes for 1.8 Michael S. Tsirkin
2013-11-18 11:53 ` [Qemu-devel] [PULL for-1.8 1/2] pc: disable pci-info Michael S. Tsirkin
2013-11-26 8:12 ` Laszlo Ersek
2013-11-26 9:10 ` Michael S. Tsirkin
2013-11-26 11:00 ` Gerd Hoffmann
2013-11-26 14:04 ` Michael S. Tsirkin
2013-11-26 14:22 ` Laszlo Ersek
2013-11-26 15:04 ` Michael S. Tsirkin
2013-11-26 15:42 ` Gerd Hoffmann
2013-11-26 15:48 ` Michael S. Tsirkin
2013-11-26 18:26 ` Igor Mammedov
2013-11-27 6:15 ` Michael S. Tsirkin
2013-11-26 15:20 ` Gerd Hoffmann
2013-11-26 15:28 ` Michael S. Tsirkin
2013-11-26 15:59 ` Gerd Hoffmann
2013-11-27 6:20 ` Michael S. Tsirkin [this message]
2013-11-26 14:11 ` Laszlo Ersek
2013-11-26 18:58 ` Igor Mammedov
2013-11-18 11:53 ` [Qemu-devel] [PULL for-1.8 2/2] doc: fix hardcoded helper path Michael S. Tsirkin
2013-11-18 15:06 ` [Qemu-devel] [PULL for-1.8 0/2] pc last minute fixes for 1.8 Eric Blake
2013-11-18 15:17 ` Michael S. Tsirkin
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=20131127062051.GC28488@redhat.com \
--to=mst@redhat.com \
--cc=aliguori@amazon.com \
--cc=ehabkost@redhat.com \
--cc=imammedo@redhat.com \
--cc=jordan.l.justen@intel.com \
--cc=kraxel@redhat.com \
--cc=lersek@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 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.