Re: DMAR faults from unrelated device when vfio is used

2013-02-07 Thread Richard Weinberger
Am Thu, 07 Feb 2013 15:49:58 -0700 schrieb Alex Williamson : > > If I whitelist pcieport USB3 works within the guests. :-) > > Binding 1c.0 and 1c.6 is no longer needed. > > Next week I'll run some more tests with USB3 devices. > > Great! Thanks for the test. I assume you didn't need to do

Re: DMAR faults from unrelated device when vfio is used

2013-02-07 Thread Alex Williamson
On Thu, 2013-02-07 at 23:23 +0100, Richard Weinberger wrote: > Hi, > > Am Wed, 06 Feb 2013 15:45:37 -0700 > schrieb Alex Williamson : > > > On Wed, 2013-02-06 at 21:25 +0100, Richard Weinberger wrote: > > > Hi, > > > > > > Am Wed, 06 Feb 2013 11:47:20 -0700 > > > schrieb Alex Williamson : > >

Re: DMAR faults from unrelated device when vfio is used

2013-02-07 Thread Richard Weinberger
Hi, Am Wed, 06 Feb 2013 15:45:37 -0700 schrieb Alex Williamson : > On Wed, 2013-02-06 at 21:25 +0100, Richard Weinberger wrote: > > Hi, > > > > Am Wed, 06 Feb 2013 11:47:20 -0700 > > schrieb Alex Williamson : > > > Does the card work with pci-assign or are both broken? > > > > It works with

Re: DMAR faults from unrelated device when vfio is used

2013-02-07 Thread Richard Weinberger
Hi, Am Wed, 06 Feb 2013 15:45:37 -0700 schrieb Alex Williamson alex.william...@redhat.com: On Wed, 2013-02-06 at 21:25 +0100, Richard Weinberger wrote: Hi, Am Wed, 06 Feb 2013 11:47:20 -0700 schrieb Alex Williamson alex.william...@redhat.com: Does the card work with pci-assign or

Re: DMAR faults from unrelated device when vfio is used

2013-02-07 Thread Alex Williamson
On Thu, 2013-02-07 at 23:23 +0100, Richard Weinberger wrote: Hi, Am Wed, 06 Feb 2013 15:45:37 -0700 schrieb Alex Williamson alex.william...@redhat.com: On Wed, 2013-02-06 at 21:25 +0100, Richard Weinberger wrote: Hi, Am Wed, 06 Feb 2013 11:47:20 -0700 schrieb Alex Williamson

Re: DMAR faults from unrelated device when vfio is used

2013-02-07 Thread Richard Weinberger
Am Thu, 07 Feb 2013 15:49:58 -0700 schrieb Alex Williamson alex.william...@redhat.com: If I whitelist pcieport USB3 works within the guests. :-) Binding 1c.0 and 1c.6 is no longer needed. Next week I'll run some more tests with USB3 devices. Great! Thanks for the test. I assume you

Re: DMAR faults from unrelated device when vfio is used

2013-02-06 Thread Alex Williamson
On Wed, 2013-02-06 at 21:25 +0100, Richard Weinberger wrote: > Hi, > > Am Wed, 06 Feb 2013 11:47:20 -0700 > schrieb Alex Williamson : > > Does the card work with pci-assign or are both broken? > > It works with pci-assign. :-\ When you tested this, did you detach the group from vfio or use it

Re: DMAR faults from unrelated device when vfio is used

2013-02-06 Thread Richard Weinberger
Hi, Am Wed, 06 Feb 2013 11:47:20 -0700 schrieb Alex Williamson : > Does the card work with pci-assign or are both broken? It works with pci-assign. :-\ > Possible there's a bug in how we're managing the vector table and pba > here. Can you get to the monitor and run 'into mtree' and provide

Re: DMAR faults from unrelated device when vfio is used

2013-02-06 Thread Alex Williamson
On Wed, 2013-02-06 at 19:09 +0100, Richard Weinberger wrote: > Hi, > > Am Tue, 05 Feb 2013 13:36:53 -0700 > schrieb Alex Williamson : > > > Ugh, the infamous and useless error 10. It could be anything. > > > I've got a system with onboard usb3, let me see what windows does > > > with it here

Re: DMAR faults from unrelated device when vfio is used

2013-02-06 Thread Richard Weinberger
Hi, Am Tue, 05 Feb 2013 13:36:53 -0700 schrieb Alex Williamson : > > Ugh, the infamous and useless error 10. It could be anything. > > I've got a system with onboard usb3, let me see what windows does > > with it here first. Thanks, > > Well, I've got an Etron USB3 HBA and (un)fortunately it

Re: DMAR faults from unrelated device when vfio is used

2013-02-06 Thread Richard Weinberger
Hi, Am Tue, 05 Feb 2013 13:36:53 -0700 schrieb Alex Williamson alex.william...@redhat.com: Ugh, the infamous and useless error 10. It could be anything. I've got a system with onboard usb3, let me see what windows does with it here first. Thanks, Well, I've got an Etron USB3 HBA and

Re: DMAR faults from unrelated device when vfio is used

2013-02-06 Thread Alex Williamson
On Wed, 2013-02-06 at 19:09 +0100, Richard Weinberger wrote: Hi, Am Tue, 05 Feb 2013 13:36:53 -0700 schrieb Alex Williamson alex.william...@redhat.com: Ugh, the infamous and useless error 10. It could be anything. I've got a system with onboard usb3, let me see what windows does

Re: DMAR faults from unrelated device when vfio is used

2013-02-06 Thread Richard Weinberger
Hi, Am Wed, 06 Feb 2013 11:47:20 -0700 schrieb Alex Williamson alex.william...@redhat.com: Does the card work with pci-assign or are both broken? It works with pci-assign. :-\ Possible there's a bug in how we're managing the vector table and pba here. Can you get to the monitor and run

Re: DMAR faults from unrelated device when vfio is used

2013-02-06 Thread Alex Williamson
On Wed, 2013-02-06 at 21:25 +0100, Richard Weinberger wrote: Hi, Am Wed, 06 Feb 2013 11:47:20 -0700 schrieb Alex Williamson alex.william...@redhat.com: Does the card work with pci-assign or are both broken? It works with pci-assign. :-\ When you tested this, did you detach the group

Re: DMAR faults from unrelated device when vfio is used

2013-02-05 Thread Richard Weinberger
Am Tue, 05 Feb 2013 13:36:53 -0700 schrieb Alex Williamson : > > Ugh, the infamous and useless error 10. It could be anything. > > I've got a system with onboard usb3, let me see what windows does > > with it here first. Thanks, > > Well, I've got an Etron USB3 HBA and (un)fortunately it works

Re: DMAR faults from unrelated device when vfio is used

2013-02-05 Thread Alex Williamson
On Tue, 2013-02-05 at 08:37 -0700, Alex Williamson wrote: > On Tue, 2013-02-05 at 14:31 +0100, David Gstir wrote: > > Am Montag, den 04.02.2013, 08:49 -0700 schrieb Alex Williamson: > > > > > Can you clarify what you mean by assign? Are you actually assigning the > > > root ports to the qemu

Re: DMAR faults from unrelated device when vfio is used

2013-02-05 Thread Alex Williamson
On Tue, 2013-02-05 at 14:31 +0100, David Gstir wrote: > Am Montag, den 04.02.2013, 08:49 -0700 schrieb Alex Williamson: > > > Can you clarify what you mean by assign? Are you actually assigning the > > root ports to the qemu guest (1c.0 & 1c.6)? vfio will require they be > > owned by vfio-pci

Re: DMAR faults from unrelated device when vfio is used

2013-02-05 Thread David Gstir
Am Montag, den 04.02.2013, 08:49 -0700 schrieb Alex Williamson: > Can you clarify what you mean by assign? Are you actually assigning the > root ports to the qemu guest (1c.0 & 1c.6)? vfio will require they be > owned by vfio-pci to make use of 3:00.0, but assigning them to the guest > is not

Re: DMAR faults from unrelated device when vfio is used

2013-02-05 Thread David Gstir
Am Montag, den 04.02.2013, 08:49 -0700 schrieb Alex Williamson: Can you clarify what you mean by assign? Are you actually assigning the root ports to the qemu guest (1c.0 1c.6)? vfio will require they be owned by vfio-pci to make use of 3:00.0, but assigning them to the guest is not

Re: DMAR faults from unrelated device when vfio is used

2013-02-05 Thread Alex Williamson
On Tue, 2013-02-05 at 14:31 +0100, David Gstir wrote: Am Montag, den 04.02.2013, 08:49 -0700 schrieb Alex Williamson: Can you clarify what you mean by assign? Are you actually assigning the root ports to the qemu guest (1c.0 1c.6)? vfio will require they be owned by vfio-pci to make

Re: DMAR faults from unrelated device when vfio is used

2013-02-05 Thread Alex Williamson
On Tue, 2013-02-05 at 08:37 -0700, Alex Williamson wrote: On Tue, 2013-02-05 at 14:31 +0100, David Gstir wrote: Am Montag, den 04.02.2013, 08:49 -0700 schrieb Alex Williamson: Can you clarify what you mean by assign? Are you actually assigning the root ports to the qemu guest (1c.0

Re: DMAR faults from unrelated device when vfio is used

2013-02-05 Thread Richard Weinberger
Am Tue, 05 Feb 2013 13:36:53 -0700 schrieb Alex Williamson alex.william...@redhat.com: Ugh, the infamous and useless error 10. It could be anything. I've got a system with onboard usb3, let me see what windows does with it here first. Thanks, Well, I've got an Etron USB3 HBA and

Re: DMAR faults from unrelated device when vfio is used

2013-02-04 Thread Alex Williamson
On Mon, 2013-02-04 at 11:10 +0100, David Gstir wrote: > Hi! > > I get the following error messages over and over again when using vfio > in qemu-kvm: > > [ 1692.021403] dmar: DMAR:[DMA Read] Request device [00:02.0] fault addr > 1a45aa9000 > [ 1692.021403] DMAR:[fault reason 12] non-zero

DMAR faults from unrelated device when vfio is used

2013-02-04 Thread David Gstir
Hi! I get the following error messages over and over again when using vfio in qemu-kvm: [ 1692.021403] dmar: DMAR:[DMA Read] Request device [00:02.0] fault addr 1a45aa9000 [ 1692.021403] DMAR:[fault reason 12] non-zero reserved fields in PTE [ 1692.021416] dmar: DRHD: handling fault status

DMAR faults from unrelated device when vfio is used

2013-02-04 Thread David Gstir
Hi! I get the following error messages over and over again when using vfio in qemu-kvm: [ 1692.021403] dmar: DMAR:[DMA Read] Request device [00:02.0] fault addr 1a45aa9000 [ 1692.021403] DMAR:[fault reason 12] non-zero reserved fields in PTE [ 1692.021416] dmar: DRHD: handling fault status

Re: DMAR faults from unrelated device when vfio is used

2013-02-04 Thread Alex Williamson
On Mon, 2013-02-04 at 11:10 +0100, David Gstir wrote: Hi! I get the following error messages over and over again when using vfio in qemu-kvm: [ 1692.021403] dmar: DMAR:[DMA Read] Request device [00:02.0] fault addr 1a45aa9000 [ 1692.021403] DMAR:[fault reason 12] non-zero reserved