All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: "Jens Krehbiel-Gräther" <xen@jkg-it-services.de>
Cc: "Przywara, Andre" <Andre.Przywara@amd.com>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	Leonardo Prosperi <leo.prosperi@gmail.com>,
	Joerg Roedel <joro@8bytes.org>,
	"Huang2, Wei" <Wei.Huang2@amd.com>,
	Eikelenboom <linux@eikelenboom.it>,
	Joop Boonen <joop_boonen@web.de>,
	Andrew Oakley <andrew@ado.is-a-geek.net>
Subject: Re: IOMMU and AMD 890fx
Date: Thu, 17 Jun 2010 09:14:30 -0400	[thread overview]
Message-ID: <20100617131430.GB3474@phenom.dumpdata.com> (raw)
In-Reply-To: <4C194B9B.10500@jkg-it-services.de>

On Thu, Jun 17, 2010 at 12:09:31AM +0200, Jens Krehbiel-Gräther wrote:
> Hi!
> 
> I now have a Asus Crosshair IV for testing and this board (as I
> postet earlier) supports iommu. Now I have installed Debian lenny
> (5.0) and compiled xen 4.0.0.
> Xen is running now and I have installed a hvm debian lenny to which
> I would like to bind a pci device but that doesn't work.
> Perhaps I am doing something wrong and you could help me?

Is that the _only_ PCI device you have tried to assign? Did you try to
assign other PCI devices which have the function number being zero?
> and xm dmesg this:
> 
> (XEN) domctl.c:853:d0 XEN_DOMCTL_assign_device: assign device
> (0:14.2) failed

That is not very useful. Wish it gave you the return code at least.
If you are comfortable with adding printks in the Xen hypervisor I would 
modify it a bit to see what was the 'ret' value and why
'intel_iommu_assign_device' function failed.

> 
> 
> So can anyone tell me what I am doing wrong??

Please also attach the full serial long, including the Xen one - and run
it with 'loglvl=all iommu=verbose'.

  reply	other threads:[~2010-06-17 13:14 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <z2n56ae3d9b1005081631sf3c31fafsb24b018c70b11b1a@mail.gmail.com>
2010-05-09 18:01 ` IOMMU and AMD 890fx Leonardo Prosperi
2010-05-10  4:43   ` Huang2, Wei
2010-05-10  6:16     ` Pasi Kärkkäinen
2010-05-10  6:38     ` Sander Eikelenboom
2010-06-03  4:07       ` Leonardo Prosperi
2010-06-03  8:19         ` Sander Eikelenboom
2010-06-03  8:53           ` Joop Boonen
2010-06-03  9:23             ` Sander Eikelenboom
2010-06-03 10:51               ` Jens Krehbiel-Gräther
2010-06-03 11:11                 ` Sander Eikelenboom
2010-06-04  6:14                   ` Huang2, Wei
2010-06-06  9:08                     ` Jens Krehbiel-Gräther
     [not found]                   ` <4C0FF901.6090708@amd.com>
2010-06-10  7:12                     ` Jens Krehbiel-Gräther
2010-06-10  7:23                       ` Sander Eikelenboom
2010-06-10 10:21                         ` Jens Krehbiel-Gräther
2010-06-10 18:01                         ` Jens Krehbiel-Gräther
2010-06-03 11:26                 ` Joerg Roedel
2010-06-03 11:50                   ` Sander Eikelenboom
2010-06-03 11:51                   ` Andre Przywara
2010-06-03 13:41                     ` Jens Krehbiel-Gräther
2010-06-03 15:05                       ` Joerg Roedel
2010-06-10 18:49                     ` Andrew Oakley
2010-06-10 19:12                       ` Wei Huang
2010-06-10 19:15                         ` Andrew Oakley
2010-06-14 11:08                           ` Jens Krehbiel-Gräther
2010-06-14 11:30                             ` Joerg Roedel
2010-06-14 13:49                             ` Andre Przywara
2010-06-15 21:37                               ` Joop Boonen
2010-06-15 22:40                                 ` Huang2, Wei
2010-06-16 22:09                                   ` Jens Krehbiel-Gräther
2010-06-17 13:14                                     ` Konrad Rzeszutek Wilk [this message]
2010-06-17 17:16                                       ` Wei Huang
2010-06-17 23:35                                         ` Jens Krehbiel-Gräther
2010-06-18 14:24                                           ` Sander Eikelenboom
2010-06-19  7:48                                             ` Jens Krehbiel-Gräther
2010-06-21 15:00                                             ` Jens Krehbiel-Gräther
2010-06-21 15:39                                               ` Joerg Roedel
2010-06-18 17:36                                           ` Huang2, Wei
2010-06-19  7:46                                             ` Jens Krehbiel-Gräther
     [not found]                                       ` <4C1A5882 <4C20E51D.1000406@jkg-it-services.de>
     [not found]                                         ` <EE335F95F28A664DB4A21289D2AA053B42F7C382@SAUSEXMBP01.amd.com>
2010-06-23 12:45                                           ` Jens Krehbiel-Gräther
2010-06-17  8:20                                   ` Jens Krehbiel-Gräther
2010-06-26 20:49                                 ` Joop Boonen
2010-07-06 14:54                       ` Andrew Oakley
2010-07-06 15:03                         ` Sander Eikelenboom
2010-07-07  7:47                         ` Sander Eikelenboom
2010-07-07 10:37                           ` Jens Krehbiel-Gräther
2010-07-07 13:53                             ` Sander Eikelenboom
2010-07-07 18:28                             ` Sander Eikelenboom

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=20100617131430.GB3474@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=Andre.Przywara@amd.com \
    --cc=Wei.Huang2@amd.com \
    --cc=andrew@ado.is-a-geek.net \
    --cc=joop_boonen@web.de \
    --cc=joro@8bytes.org \
    --cc=leo.prosperi@gmail.com \
    --cc=linux@eikelenboom.it \
    --cc=xen-devel@lists.xensource.com \
    --cc=xen@jkg-it-services.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.