From: "M. Warner Losh" <imp@bsdimp.com>
To: eswierk@aristanetworks.com
Cc: kraxel@redhat.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] pci irq confusion
Date: Mon, 18 May 2009 11:48:47 -0600 (MDT) [thread overview]
Message-ID: <20090518.114847.-1543904051.imp@bsdimp.com> (raw)
In-Reply-To: <9ae48b020905181024p15b3207fy7ea7eb62b868ec0b@mail.gmail.com>
In message: <9ae48b020905181024p15b3207fy7ea7eb62b868ec0b@mail.gmail.com>
Ed Swierk <eswierk@aristanetworks.com> writes:
: On Fri, May 15, 2009 at 1:39 AM, Gerd Hoffmann <kraxel@redhat.com> wrote:
: > Putting the three info sources into a table gives this picture:
: >
: > | qemu | lspci | driver
: > ------------------------+--------+---------+----------
: > 00:01.2 usb | 9 | 9 | 9
: > 00:01.3 acpi | 11 | 9 | 11
: > 00:03.0 xen-platform | 11 | 11 | 11
: > 00:04.0 scsi | 9 | 9 | 9
: > 00:05.0 virtio-blk | 11 | 10 | 10
: > 00:06.0 virtio-baloon | 9 | 9 | 9
: >
: > Note the inconsistencies for acpi and virtio-blk. Where do they come from?
: > Is that normal? Or is that something which needs fixing?
:
: qemu's "info pci" monitor command gets the IRQ value from offset 0x3c
: in the device's PCI config space, which is a useless scratch register.
: Some BIOSes may write to this register the actual IRQ assigned to the
: device, but many don't, and I don't know of any OS that relies on it.
: IMHO this IRQ value is misleading and shouldn't be reported by qemu at
: all.
I know that all the BSDs (and I thought Linux) require the scratch
register to be correct, if it isn't 0xff...
Warner
prev parent reply other threads:[~2009-05-18 17:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-15 8:39 [Qemu-devel] pci irq confusion Gerd Hoffmann
2009-05-18 17:24 ` Ed Swierk
2009-05-18 17:48 ` M. Warner Losh [this message]
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=20090518.114847.-1543904051.imp@bsdimp.com \
--to=imp@bsdimp.com \
--cc=eswierk@aristanetworks.com \
--cc=kraxel@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).