WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] pci-passthrough and shared interrupts

To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: Re: [Xen-devel] pci-passthrough and shared interrupts
From: Ritu kaur <ritu.kaur.us@xxxxxxxxx>
Date: Thu, 26 Aug 2010 15:58:15 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 26 Aug 2010 15:59:29 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=q7NqOJ/sCxtIZWBd0D0H5XFhkzAQk+fFtFnTlERUhCE=; b=w6snXXFD+2CCI7+H0fNlGpd/EDNlApHT8HiIKBEoUUQIE29Lq33JiJAGF86b0GxyNH zDp6i16ftSjYtoI6jX7nOD+3OntlpuL6vABQG/FLiKxH9dZobCDYHMj+2Zz9e8ofXAKg PMtyC4bTH7iiHBh4K2+tnKXk+1RizoqHdh90E=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=DfSRmbRhQ0zDtEQKGwkBV9VyYf8aGhZCjn7imwo2s45qc/EaR27PhnY1wHbBsZ+zyo HPVfhlVorFYoasRW8DW3U92/mzJrFRyszUVNjcsD6rsJAEbGWe0SK+pI6qbezR7UYh4O xhLvH512Plo0yTAGR67hIDn9UO+Qneohgs+5E=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100825234330.GA6588@xxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTin8j7gFkt3x_+QFrJJ+iaP7dk2q6RH5Sm8aoa1Q@xxxxxxxxxxxxxx> <20100825223415.GA6326@xxxxxxxxxxxxxxxxxxx> <AANLkTim_Fn8ZMHvtVBLz453cC+C7g0pqMKKj7MS_kLAm@xxxxxxxxxxxxxx> <20100825234330.GA6588@xxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thanks Konrad,

I went to git repository for xen/next and found following two fixes for shared irq


I believe these are the only changes I need to backport to xcp?

Regarding the nic, it was just a clarification I needed. Its a regular 10G nic which is being co-developed along with qlogic.

Thanks
-Ritu

On Wed, Aug 25, 2010 at 4:43 PM, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> wrote:
On Wed, Aug 25, 2010 at 03:48:35PM -0700, Ritu kaur wrote:
> Thanks Konrad. Additional Q below
>
> On Wed, Aug 25, 2010 at 3:34 PM, Konrad Rzeszutek Wilk <
> konrad.wilk@xxxxxxxxxx> wrote:
>
> > On Wed, Aug 25, 2010 at 03:17:29PM -0700, Ritu kaur wrote:
> > > Hello,
> > >
> > > Couple of months back when we were testing xcp 0.1.1 and pci passthrough
> > we
> > > ran into issues when pci-passthrough enabled device shared interrupts
> > with
> > > another controller(in our case interrupt was shared between ide
> > controller
> > > and our nic). At that time Ian Campbell suggested backporting
> > event-channel
> > > changes from pvops to 2.6.27 kernel. Have two questions related to this
> > >
> > > 1. I am thinking of porting the changes now but wanted to check if it has
> > > been addressed?
> >
> > I've added some patches in the pvops tree that make this work. You would
> > essentially have to backport the pciback driver to the XCP
> > infrastructure. And you might have to backport the event channels as
> > well, not sure about that.
> >
>
>  I will take a look at the patches.
>
> > >
> > > 2. Will shared interrupts be a problem for pci-e slots as well?
> >
> > No.
> >
>
> So if I have XCP + NIC installed in pci-e slot and interrupts shared with
> another device, pci passthrough should work fine, is this correct?

Ugh, I am surprised you have that. Most of the time if you do use an NIC
in PCI-e it would be MSI based. An MSI's are never shared.

So if your device is PCIe and you get legacy IRQ that is shared with
another device on your board, then you will need to backport the
'pciback' driver.

What NIC is it that does this?

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel