From: Isaku Yamahata <yamahata@valinux.co.jp>
To: Cam Macdonell <cam@cs.ualberta.ca>
Cc: "qemu-devel@nongnu.org Developers" <qemu-devel@nongnu.org>,
Avi Kivity <avi@redhat.com>,
"Michael S. Tsirkin" <mst@redhat.com>
Subject: Re: [Qemu-devel] Re: Unusual physical address when using 64-bit BAR
Date: Wed, 14 Jul 2010 05:41:57 +0900 [thread overview]
Message-ID: <20100713204157.GI31689@valinux.co.jp> (raw)
In-Reply-To: <AANLkTik54pAZL8oGhWnc6pVotDcLebCjZ4tPvVSItcKz@mail.gmail.com>
On Tue, Jul 13, 2010 at 02:05:51PM -0600, Cam Macdonell wrote:
> >> > Seabios completely ignore the 64-bitness of the BAR. ?Looks like it also
> >> > thinks the second half of the BAR is an I/O region instead of memory (hence
> >> > the c200, that's part of the pci portio region.
> >
> > I've sent the patches to address it. But they haven't been merged yet.
> > seabios doesn't map BARs beyond 4GB.
> > If bar is mapped beyond 4GB, guest BIOS does it.
>
> Have those patches been merged yet?
They have been merged into seabios upstream now.
qemu seabios fork hasn't pulled for a while, though.
> > To see how seabios works, it would help to increase CONFIG_DEBUG_LEVEL
> > in config.h of seabios
>
> Where does the output from seabios end up? Inside dmesg?
It outputs them to the serial console which qemu emulates.
seabios is out of kernel control, so dmesg doesn't show it.
> >> pci_read_config: (val) 0x0 <- 0x1c (addr)
> >> pci_write_config: (val) 0x0 -> 0x1c (addr)
> >> pci_read_config: (val) 0xffffffff <- 0x1c (addr)
> >> pci_write_config: (val) 0x0 -> 0x1c (addr)
> >> pci_read_config: (val) 0x0 <- 0x1c (addr)
> >> pci_write_config: (val) 0x0 -> 0x1c (addr)
> >
> > seabios BAR3. Not sure how it is mapped from this
> > message.
>
> Isn't the BAR3 from the fact that a 64-bit BAR would use both BAR2 and
> BAR3 to store all 64-bits?
Yes. Seabios misbehaves. 64bit bar is(was) a missing feature.
--
yamahata
next prev parent reply other threads:[~2010-07-13 20:41 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-19 16:41 [Qemu-devel] Unusual physical address when using 64-bit BAR Cam Macdonell
2010-06-11 17:31 ` [Qemu-devel] " Cam Macdonell
2010-06-15 11:04 ` Avi Kivity
2010-06-24 21:51 ` Cam Macdonell
2010-06-27 8:39 ` Avi Kivity
2010-06-28 20:38 ` Cam Macdonell
2010-06-29 6:50 ` Avi Kivity
2010-06-29 17:48 ` Cam Macdonell
2010-06-30 3:29 ` Isaku Yamahata
2010-07-13 20:05 ` Cam Macdonell
2010-07-13 20:41 ` Isaku Yamahata [this message]
2010-07-13 22:48 ` Cam Macdonell
2010-07-14 2:52 ` Isaku Yamahata
2010-07-14 15:10 ` Cam Macdonell
2010-07-20 9:52 ` Isaku Yamahata
2010-07-21 3:31 ` Michael S. Tsirkin
2010-07-21 3:49 ` Isaku Yamahata
2010-08-24 16:52 ` Cam Macdonell
2010-08-25 2:21 ` Isaku Yamahata
2010-08-27 19:35 ` Cam Macdonell
2010-08-30 2:36 ` Isaku Yamahata
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=20100713204157.GI31689@valinux.co.jp \
--to=yamahata@valinux.co.jp \
--cc=avi@redhat.com \
--cc=cam@cs.ualberta.ca \
--cc=mst@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).