From: Chris Wright Subject: Re: PCI passthrough resource remapping Date: Mon, 29 Mar 2010 19:08:05 -0700 Message-ID: <20100330020805.GS3204@x200.localdomain> References: <20100109024500.GB4727@localhost.localdomain> <3b1f68ef1003251937k52a0faf8t9d2458f7f0f8eaaa@mail.gmail.com> <0BFA936E-BE35-4511-8FD1-B5764FB6EA49@theiggy.com> <3b1f68ef1003291023w533f7000r1ae1fe6a5226c5c3@mail.gmail.com> <3b1f68ef1003291600t1175f794vd3f47cdafca48a8@mail.gmail.com> <20100329234752.GM3204@x200.localdomain> <3b1f68ef1003291721v6fcb01edha4f0424ba0ab24f8@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Chris Wright , Alexander Graf , kvm list To: Kenni Lund Return-path: Received: from mx1.redhat.com ([209.132.183.28]:32152 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754586Ab0C3CIM (ORCPT ); Mon, 29 Mar 2010 22:08:12 -0400 Content-Disposition: inline In-Reply-To: <3b1f68ef1003291721v6fcb01edha4f0424ba0ab24f8@mail.gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: * Kenni Lund (kenni@kelu.dk) wrote: > Client dmesg: http://pastebin.com/uNG4QK5j > Host dmesg: http://pastebin.com/jZu3WKZW >=20 > I just verified it and I do get the call trace in the host (which > disables IRQ 19, used by the PCI USB card), exactly at the same secon= d It looks like IRQ 19 is shared between the ehci controller and the ivtv tuner. What do you see in /proc/interrupts on the host (before you unbind and after you bind to pci stub)? The host dmesg shows other possible devices sharing that interrupt: $ grep "IRQ 19" jZu3WKZW 482.=A0ahci 0000:00:1f.2: PCI INT B -> GSI 19 (level, low) -> IRQ 19 578.=A0ehci_hcd 0000:02:01.3: PCI INT A -> GSI 19 (level, low) -> IR= Q 19 623.=A0uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 19 (level, low) -> IR= Q 19 795.=A0ivtv 0000:03:09.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19 814.=A0IRQ 19/ivtv1: IRQF_DISABLED is not guaranteed on shared IRQs 955.=A0pci-stub 0000:02:01.3: PCI INT A -> GSI 19 (level, low) -> IR= Q 19 thanks, -chris