From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Sander Eikelenboom <linux@eikelenboom.it>
Cc: xen-devel <xen-devel@lists.xenproject.org>,
Jan Beulich <JBeulich@suse.com>
Subject: Re: Xen-unstable: xen panic RIP: dpci_softirq
Date: Mon, 17 Nov 2014 15:43:47 -0500 [thread overview]
Message-ID: <20141117204347.GA27617@laptop.dumpdata.com> (raw)
In-Reply-To: <1403873666.20141117180419@eikelenboom.it>
. snip..
> > # cat /proc/interrupts |grep eth
> > 36: 384183 0 xen-pirq-ioapic-level eth0
> > 63: 1 0 xen-pirq-msi-x eth1
> > 64: 24 661961 xen-pirq-msi-x eth1-rx-0
> > 65: 205 0 xen-pirq-msi-x eth1-rx-1
> > 66: 162 0 xen-pirq-msi-x eth1-tx-0
> > 67: 190 0 xen-pirq-msi-x eth1-tx-1
> > Is that a similar distribution of IRQ/MSIx you end up having?
>
> These are when they are still active and assigned to dom0 (and not owned by
> pci-back) or in the guest ?
In the guest.
>
> I attached my /proc/interrupts for both dom0 as guest 16 with all guests running
> (on a Xen from before the dpci changes).
> With the devices passed through I only see one line with the IRQ of a
> PCI soundcard passed through to a PV guest:
> 22: 38959 0 0 0 0 0 xen-pirq-ioapic-level xen-pciback[0000:03:06.0]
>
> All the other devices passed through (to HVM guests) are not visible in /proc/interrupts of dom0.
Right.
>
> In the guest i do get these:
> 23: 35 0 0 0 xen-pirq-ioapic-level uhci_hcd:usb3
> 40: 13440077 0 0 0 xen-pirq-ioapic-level cx25821[1], cx25821[1]
That is a bit odd. You have two 'request_irq' off this sole device, which would
imply that there are _two_ devices which are using the same interrupt line.
But how is that possible when your device:
0a:00.0 Multimedia video controller: Conexant Systems, Inc. Device 8210
Flags: bus master, fast devsel, latency 0, IRQ 47
Memory at fe200000 (64-bit, non-prefetchable) [size=2M]
Capabilities: [40] Express Endpoint, MSI 00
Capabilities: [80] Power Management version 3
Capabilities: [90] Vital Product Data
Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [100] Advanced Error Reporting
Capabilities: [200] Virtual Channel
Kernel driver in use: pciback
Has only one IRQ! What is the name of this device? Perhaps I've another one that
is similar to this. Could you attach
a) 'lspci -vvvv' from your guest please?
b) The the full 'dmesg' from your guest?
c) the /var/log/xen/qemu-dm-XXX ? Hmm, you are using qemu-xen so it won't log
that much information. Could you try 'qemu-traditional' or would that
mess up with XHCI?
In regards to your other question:
Hi Konrad,
Here is the xl dmesg output with this patch (attached with debug-key i and M
output). What i don't get .. is that d16 and d17 each have a device passed through
that seems to be using the same pirq 87 ?
Those are per guest. They are the MSI values after 84 or so.
Back to your crash:
d16 OK-softirq 458msec ago, state:1, 52039 count, [prev:ffff83054ef283e0, next:ffff83054ef283e0] ffff83051b95fd28MACH_PCI_SHIFT MAPPED_SHIFT GUEST_PCI_SHIFT PIRQ:0
d16 OK-raise 489msec ago, state:1, 52049 count, [prev:0000000000200200, next:0000000000100100] ffff83051b95fd28MACH_PCI_SHIFT MAPPED_SHIFT GUEST_PCI_SHIFT PIRQ:0
d16 ERR-poison 561msec ago, state:0, 1 count, [prev:0000000000200200, next:0000000000100100] ffff83051b95fd28MACH_PCI_SHIFT MAPPED_SHIFT GUEST_PCI_SHIFT PIRQ:0
d16 Z-softirq 731msec ago, state:3, 3 count, [prev:ffff83054ef283e0, next:ffff83054ef283e0] ffff83051b95fd28MACH_PCI_SHIFT MAPPED_SHIFT GUEST_PCI_SHIFT PIRQ:0
domain_crash called from io.c:938
Domain 16 reported crashed by domain 32767 on cpu#5:
All of it point to the legacy interrupt - that is the on that starts at Xen IRQ 47 (guest IRQ 40):
io.c:550: d16: bind: m_gsi=47 g_gsi=40 dev=00.00.6 intx=0
IRQ: 47 affinity:02 vec:d1 type=IO-APIC-level status=00000030 in-flight=1 domain-list=16: +47(P-M),
which looks OK.
I am puzzled by the driver binding twice to the same interrupt, but perhaps that
is just a buggy driver.
next prev parent reply other threads:[~2014-11-17 20:44 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-14 13:11 Xen-unstable: xen panic RIP: dpci_softirq Sander Eikelenboom
2014-11-14 13:32 ` Andrew Cooper
2014-11-14 13:37 ` Andrew Cooper
2014-11-14 13:57 ` Jan Beulich
2014-11-14 14:34 ` Sander Eikelenboom
2014-11-14 15:09 ` Jan Beulich
2014-11-14 15:20 ` Sander Eikelenboom
2014-11-14 15:43 ` Jan Beulich
2014-11-14 16:59 ` Sander Eikelenboom
2014-11-14 17:05 ` Konrad Rzeszutek Wilk
2014-11-14 19:56 ` Sander Eikelenboom
2014-11-14 20:25 ` Konrad Rzeszutek Wilk
2014-11-14 22:09 ` Sander Eikelenboom
2014-11-17 16:34 ` Konrad Rzeszutek Wilk
2014-11-17 17:04 ` Sander Eikelenboom
2014-11-17 20:43 ` Konrad Rzeszutek Wilk [this message]
2014-11-17 22:40 ` Sander Eikelenboom
2014-11-18 8:28 ` Jan Beulich
[not found] ` <20141118024927.GA32256@andromeda.dapyr.net>
2014-11-18 11:07 ` Sander Eikelenboom
2014-11-18 15:09 ` Sander Eikelenboom
2014-11-18 16:06 ` Sander Eikelenboom
2014-11-18 16:16 ` Konrad Rzeszutek Wilk
2014-11-18 17:03 ` Sander Eikelenboom
2014-11-18 17:20 ` Jan Beulich
2014-11-18 20:34 ` Konrad Rzeszutek Wilk
2014-11-18 20:56 ` Konrad Rzeszutek Wilk
2014-11-18 22:12 ` Sander Eikelenboom
2014-11-19 1:55 ` Konrad Rzeszutek Wilk
2014-11-19 11:16 ` Sander Eikelenboom
2014-11-19 15:04 ` Konrad Rzeszutek Wilk
2014-11-19 17:27 ` Sander Eikelenboom
2014-11-17 18:01 ` Sander Eikelenboom
2014-11-18 9:30 ` Jan Beulich
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=20141117204347.GA27617@laptop.dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=JBeulich@suse.com \
--cc=linux@eikelenboom.it \
--cc=xen-devel@lists.xenproject.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.