xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Ward Vandewege <ward@gnu.org>
Cc: xen-devel@lists.xensource.com
Subject: Re: AMD_IOV: IO_PAGE_FALT trying to pass through Mellanox ConnectX HCA (debian testing)
Date: Mon, 31 Jan 2011 15:03:22 -0500	[thread overview]
Message-ID: <20110131200322.GA30160@dumpdata.com> (raw)
In-Reply-To: <20110131195154.GA19572@countzero.vandewege.net>

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@vger.kernel.org/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.

  reply	other threads:[~2011-01-31 20:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-28 18:58 AMD_IOV: IO_PAGE_FALT trying to pass through Mellanox ConnectX HCA (debian testing) Ward Vandewege
2011-01-28 19:27 ` Konrad Rzeszutek Wilk
2011-01-28 20:38   ` Ward Vandewege
2011-01-31 18:45     ` Konrad Rzeszutek Wilk
2011-01-31 19:51       ` Ward Vandewege
2011-01-31 20:03         ` Konrad Rzeszutek Wilk [this message]
2011-02-03 23:24           ` Ward Vandewege
2011-02-07 16:41             ` Konrad Rzeszutek Wilk
2011-02-07 17:03               ` Roedel, Joerg
2011-02-07 17:42               ` Ward Vandewege

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=20110131200322.GA30160@dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=ward@gnu.org \
    --cc=xen-devel@lists.xensource.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).