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] AMD_IOV: IO_PAGE_FALT trying to pass through Mellanox Co

To: Ward Vandewege <ward@xxxxxxx>
Subject: Re: [Xen-devel] AMD_IOV: IO_PAGE_FALT trying to pass through Mellanox ConnectX HCA (debian testing)
From: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Date: Mon, 31 Jan 2011 15:03:22 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 31 Jan 2011 12:05:59 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110131195154.GA19572@xxxxxxxxxxxxxxxxxxxxxxx>
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: <20110128185809.GA24465@xxxxxxxxxxxxxxxxxxxxxxx> <20110128192742.GB23494@xxxxxxxxxxxx> <20110128203858.GA26814@xxxxxxxxxxxxxxxxxxxxxxx> <20110131184503.GB11939@xxxxxxxxxxxx> <20110131195154.GA19572@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
On Mon, Jan 31, 2011 at 02:51:54PM -0500, Ward Vandewege wrote:
> Hi Konrad,
> 
> On Mon, Jan 31, 2011 at 01:45:03PM -0500, Konrad Rzeszutek Wilk wrote:
> > > Hmm, I do have it:
> > 
> > Indeed you do. Good!
> > 
> > > 
> > >   # xm dmesg |grep iommu
> > >   (XEN) Command line: placeholder iommu=pv,verbose,amd_iommu_debug
> > > 
> > > But maybe it's not being picked up?
> > 
> > You should see something passthrough in the log.. thought that might
> > be only if you are using Intel VT-d? Not sure.
> 
> This seems related:
> 
> (XEN) HVM: ASIDs enabled.
> (XEN) HVM: SVM enabled
> (XEN) HVM: Hardware Assisted Paging detected.
> (XEN) AMD-Vi: IOMMU 0 Enabled.
> (XEN) I/O virtualisation enabled
> (XEN)  - Dom0 mode: Relaxed
> (XEN) Total of 16 processors activated.
> (XEN) ENABLING IO-APIC IRQs
> (XEN)  -> Using new ACK method
> 
> I've attached the full xm dmesg output.
> 
> > > > you might need to make sure your driver is using the VM_IO flag.
> > > > 
> > > > There was some discussion on LKML about this and they proposed
> > > > a patch that wasn't neccessary. Don't remember the details but I can
> > > > look that up next week.
> > 
> > Found it.. it was from Vivien but in another thread:
> > http://www.mail-archive.com/linux-rdma@xxxxxxxxxxxxxxx/msg06980.html
> 
> Ah. Is your 
> 
>   devel/p2m-identity.v4.5
> 
> still the one I should test with to see if it fixes this problem? I see
> you've got newer versions (up to v4.7) now too. 

It has a bug that I am working on. I would just look for the VM_IO flag
and see if it has been applied somewhere. Or vice-versa - look for where
it has _not_ been applied.
> 
> Or has this patch meanwhile been pushed into the kernel?

Not yet.

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