From: Konrad Rzeszutek Wilk Subject: Re: Xen-unstable: pci-passthrough of device using MSI-X interrupts not working after commit x86/MSI: track host and guest masking separately Date: Fri, 26 Jun 2015 11:16:06 -0400 Message-ID: <20150626151604.GB22684@konrad-lan.dumpdata.com> References: <917517816.20150624213817@eikelenboom.it> <558BDC88020000780008963C@mail.emea.novell.com> <1237481115.20150625125133@eikelenboom.it> <558C024302000078000898DA@mail.emea.novell.com> <702971014.20150625140232@eikelenboom.it> <558D3DF8020000780008A21B@mail.emea.novell.com> <558D647C020000780008A484@mail.emea.novell.com> <7313712fe189fd010bfb65d62df37527@eikelenboom.it> <558D861E020000780008A654@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Z8VMZ-0002pY-Kx for xen-devel@lists.xenproject.org; Fri, 26 Jun 2015 15:16:19 +0000 Content-Disposition: inline In-Reply-To: <558D861E020000780008A654@mail.emea.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: linux@eikelenboom.it, xen-devel List-Id: xen-devel@lists.xenproject.org On Fri, Jun 26, 2015 at 04:04:30PM +0100, Jan Beulich wrote: > (re-adding xen-devel) > > >>> On 26.06.15 at 15:38, wrote: > > On 2015-06-26 14:41, Jan Beulich wrote: > >>>>> On 26.06.15 at 13:02, wrote: > >>> Strange, i don't see *any* of your printk's being hit ... (xl dmesg > >>> attached). > >> > >> So does the guest (in the working case) use MSI-X at all for the > >> device? I.e. it might be worth comparing the guest's /proc/interrupts > >> from both cases, as the lack of any of the debug messages clearly > >> suggests that such interrupts aren#t being set up. > > > > In the good case it uses one of them. > > (probably one per port and it has only one usb device connected at > > present) > > > > -- > > Sander > > > > CPU0 CPU1 CPU2 CPU3 > > 0: 42 0 0 0 IO-APIC 2-edge timer > >[...] > > 83: 8 0 0 0 xen-dyn-event eth0-q3-rx > > 84: 2101 0 0 0 xen-pirq-msi-x xhci_hcd > > I think this explains it - you're running in PVHVM mode, which I > never tried with those patches. I'd even have to go dig to see how > they drive MSI-X in the first place in that case. Nor do I immediately > know whether there's an option to make a guest become a normal > HVM one again. xen_nopv > > Jan > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel