From: Tom Rotenberg Subject: Re: Bug when disabling/enabling a PT device with MSI enabled Date: Tue, 24 Nov 2009 22:27:38 +0200 Message-ID: <8686c3cd0911241227p210af882w25b43a81b4522f13@mail.gmail.com> References: <8686c3cd0911241042n1b6f84a9u3623518baa021cc2@mail.gmail.com> <20091124194815.GB29566@phenom.dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20091124194815.GB29566@phenom.dumpdata.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Konrad Rzeszutek Wilk Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Can u please supply more details? how can i fix this issue? I think that when the hardware reset occured, the MSI was disabled, and that needs to be re-enabled again... no? On Tue, Nov 24, 2009 at 9:48 PM, Konrad Rzeszutek Wilk wrote: > On Tue, Nov 24, 2009 at 08:42:49PM +0200, Tom Rotenberg wrote: >> Hi, >> >> I am using the xen-3,4, and i am doing pass-through for a device with >> MSI enabled (the device of-course supports MSI) to a domU with Windows >> XP. When i disable and then re-enable the device using Windows device >> manager, everything looks like it's working fine, but the device seems >> to malfunction. >> After digging a little bit, i saw that the problem is, because the bit >> of the interrupt-status (bit 3) in the status register (offset 0x6 in >> the PCI config space) was turned on somehow - =A0this proibably caused >> the MSI to malfunction (because the IntX assertion was enabled - thus >> disabling the MSI) - and this lead to the problem i experienced. >> >> Any ideas on how to solve this issue? > > Looks like QEMU is not doing its job. It ought to be tracking > when an MSI devices transforms to a INTx PCI device (and vice-versa) and > make the appropiate Xen calls. Look in ioemu-dir/hw/pass-through.c >