All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Tom Rotenberg <tom.rotenberg@gmail.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: Bug when disabling/enabling a PT device with MSI enabled
Date: Tue, 24 Nov 2009 14:48:15 -0500	[thread overview]
Message-ID: <20091124194815.GB29566@phenom.dumpdata.com> (raw)
In-Reply-To: <8686c3cd0911241042n1b6f84a9u3623518baa021cc2@mail.gmail.com>

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 -  this 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

  reply	other threads:[~2009-11-24 19:48 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-24 18:42 Bug when disabling/enabling a PT device with MSI enabled Tom Rotenberg
2009-11-24 19:48 ` Konrad Rzeszutek Wilk [this message]
2009-11-24 20:27   ` Tom Rotenberg
2009-11-24 20:46     ` Konrad Rzeszutek Wilk
2009-11-25  2:25 ` Kamala Narasimhan
2009-11-25  7:42   ` Tom Rotenberg
2009-11-25  8:27   ` Tom Rotenberg
2009-11-25  9:10     ` Jiang, Yunhong
2009-11-25  9:17       ` Jiang, Yunhong
2009-11-25  9:29         ` Tom Rotenberg
2009-11-25  9:38           ` Jiang, Yunhong
2009-11-25  9:54             ` Tom Rotenberg
2009-11-25 14:47               ` Jiang, Yunhong
2009-11-25 14:50                 ` Tom Rotenberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091124194815.GB29566@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=tom.rotenberg@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.