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

[Xen-devel] Re: [pvops xen/next ][iommu] attenpt to passthrough PCI-e us

On Mon, Mar 22, 2010 at 10:23:00PM +0100, Sander Eikelenboom wrote:
> Hello Pasi,
> 
> Ok added a few lines about it to that page.
> 

Ok. Are those options only needed for pvops domU kernel,
or also for linux-2.6.18-xen guests? 

-- Pasi

> 
> Sander
> 
> Monday, March 22, 2010, 9:49:16 PM, you wrote:
> 
> > On Mon, Mar 22, 2010 at 09:35:50PM +0100, Sander Eikelenboom wrote:
> >> Hi Konrad,
> >> 
> >> Thx again and again and again :-)
> >> Works like a charm by adding these to the domU kernel options.
> >> I saw a lot of your hard work on the swiotlb on LKML as well, would be 
> >> nice if it would be accepted together with pci-front,
> >> that would make mainline kernels as domU work with pci-passthrough as well.
> >> 
> >> I now got it running with the linux 2.6.33 tree from your git tree, which 
> >> is of course also very recent :-)
> >> 
> >> Now running on:
> >> hypervisor: xen-4.0.0-rc6
> >> dom0: xen-next
> >> domU: 2.6.33 tree with pcifront and swiotlb from Konrad's git tree, and 
> >> with some additional patches to het isochronous URB's working on the USB 
> >> 3.0 xHCI driver from linux-usb mailing lists.
> >> 
> >> 
> >> Pasi, perhaps a good thing to point out in the passthrough wiki pages (at 
> >> least when using pvops kernels),
> >>
> 
> > Yeah.. hmm.. so what should I add? You can also add it yourself ;)
> 
> > The current version is here:
> > http://wiki.xensource.com/xenwiki/XenPCIpassthrough
> 
> > still a work-in-progress.. 
> 
> >> BTW how do you handle tables in the wiki's ?
> >> Because i tried with the xen-hypervisor-boot-options page, but it was a 
> >> real pain in the *ss to set it up.
> >> 
> 
> > iirc in the GUI editing mode you can just right-click on the table and 
> > add/delete rows/columns etc? 
> 
> > -- Pasi
> 
> >> 
> >> --
> >> Sander
> >> 
> >> 
> >> 
> >> Monday, March 22, 2010, 8:12:37 PM, you wrote:
> >> 
> >> > On Mon, Mar 22, 2010 at 11:15:24AM +0100, Sander Eikelenboom wrote:
> >> >> Hello Weidong/Konrad,
> >> >> 
> >> >> 1) With iommu=0, the DMAR fault is gone (of course), but
> >> >>         > (XEN) traps.c:2309:d1 Domain attempted WRMSR 000000000000008b 
> >> >> from 00000a07:00000000 to 00000000:00000000.
> >> >>         Stays in xm-dmesg, the pv guests is booted, and lspci shows the 
> >> >> pci device. But the device doesn't function properly.
> >> 
> >> > How does it not function properly? Was this related to the IOMMU error ?
> >> > Did you point it out to me previously and I missed it? If so, can you
> >> > resend it to me please.
> >> 
> >> > If the problem is with the message about needing 'swiotlb=force' to be
> >> > passed, 'iommu=soft swiotlb=force' should take care of that. 
> >> 
> >> 
> >> 
> >> 
> >> -- 
> >> Best regards,
> >>  Sander                            mailto:linux@xxxxxxxxxxxxxx
> >> 
> 
> 
> 
> -- 
> Best regards,
>  Sander                            mailto:linux@xxxxxxxxxxxxxx
> 

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

<Prev in Thread] Current Thread [Next in Thread>