From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wright Subject: Re: PCI passthrough resource remapping Date: Wed, 31 Mar 2010 08:15:55 -0700 Message-ID: <20100331151555.GB25786@x200.localdomain> References: <3b1f68ef1003291600t1175f794vd3f47cdafca48a8@mail.gmail.com> <20100329234752.GM3204@x200.localdomain> <3b1f68ef1003291721v6fcb01edha4f0424ba0ab24f8@mail.gmail.com> <20100330020805.GS3204@x200.localdomain> <3b1f68ef1003301527p2dd9928alf2f6ead85d678634@mail.gmail.com> <20100330235838.GU11934@x200.localdomain> <3b1f68ef1003301747k675f0de0t1b8dec8581e3f4b2@mail.gmail.com> <20100331013217.GB29127@x200.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Chris Wright , Alexander Graf , kvm list To: Kenni Lund Return-path: Received: from mx1.redhat.com ([209.132.183.28]:6704 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752545Ab0CaPQD (ORCPT ); Wed, 31 Mar 2010 11:16:03 -0400 Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: * Kenni Lund (kenni@kelu.dk) wrote: > 2010/3/31 Chris Wright : > > * Kenni Lund (kenni@kelu.dk) wrote: > >> 2010/3/31 Chris Wright : > >> >> So I suppose I'll need to get rid of this shared IRQ before I c= an > >> >> conclude anything on the patch in git. Hmm, is there some cleav= er way > >> >> of fixing this in Linux, or do I have to fix it by changing BIO= S IRQ > >> >> settings, disabling hardware and/or moving the hardware around = in > >> >> various PCI slots? > >> > > >> > The way I typically work around this is simply unbinding the dri= ver from > >> > the device in the host (and thus freeing the irq). > >> > >> Doh...anyway, I went all the way, found a USB->PS2 adaptor, disabl= ed > >> the onboard USB controller and PATA controller in BIOS, and now go= t > >> "kvm_assigned_intx_device" for all 4 IRQs :) > > > > A little extreme...but hey, that works ;-) =A0I'm still curious wha= t's > > going on w/ your PCI card and the irq routing. =A0Something is susp= ect. >=20 > I'll not be able to do any further testing for the next two weeks, bu= t > if you want me to perform some tests, test patches etc., just write > what you want me to do and I'll do it in two weeks. Thanks for your willingness to do some tests. I'll poke around a bit and see if I can come up w/ something useful for you to try out. thanks, -chris