From: Sander Eikelenboom Subject: Re: [pvops xen/next ][iommu] attenpt to passthrough PCI-e usb controllor to PV domU SUCCESS :-) Date: Mon, 22 Mar 2010 22:23:00 +0100 Message-ID: <1096247138.20100322222300@eikelenboom.it> References: <1017192770.20100321221949@eikelenboom.it> <1A42CE6F5F474C41B63392A5F80372B21D641D6D@shsmsx501.ccr.corp.intel.com> <1057357311.20100322111524@eikelenboom.it> <20100322191237.GB31521@phenom.dumpdata.com> <1609670718.20100322213550@eikelenboom.it> <20100322204916.GQ1878@reaktio.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20100322204916.GQ1878@reaktio.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: =?iso-8859-15?Q?Pasi_K=E4rkk=E4inen?= Cc: "xen-devel@lists.xensource.com" , Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org Hello Pasi, Ok added a few lines about it to that page. -- 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, >>=20 >> 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 n= ice if it would be accepted together with pci-front, >> that would make mainline kernels as domU work with pci-passthrough as we= ll. >>=20 >> I now got it running with the linux 2.6.33 tree from your git tree, whic= h is of course also very recent :-) >>=20 >> 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. >>=20 >>=20 >> Pasi, perhaps a good thing to point out in the passthrough wiki pages (a= t 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..=20 >> 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. >>=20 > iirc in the GUI editing mode you can just right-click on the table and ad= d/delete rows/columns etc?=20 > -- Pasi >>=20 >> -- >> Sander >>=20 >>=20 >>=20 >> Monday, March 22, 2010, 8:12:37 PM, you wrote: >>=20 >> > On Mon, Mar 22, 2010 at 11:15:24AM +0100, Sander Eikelenboom wrote: >> >> Hello Weidong/Konrad, >> >>=20 >> >> 1) With iommu=3D0, the DMAR fault is gone (of course), but >> >> > (XEN) traps.c:2309:d1 Domain attempted WRMSR 00000000000000= 8b from 00000a07:00000000 to 00000000:00000000. >> >> Stays in xm-dmesg, the pv guests is booted, and lspci shows t= he pci device. But the device doesn't function properly. >>=20 >> > 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. >>=20 >> > If the problem is with the message about needing 'swiotlb=3Dforce' to = be >> > passed, 'iommu=3Dsoft swiotlb=3Dforce' should take care of that.=20 >>=20 >>=20 >>=20 >>=20 >> --=20 >> Best regards, >> Sander mailto:linux@eikelenboom.it >>=20 --=20 Best regards, Sander mailto:linux@eikelenboom.it