All of lore.kernel.org
 help / color / mirror / Atom feed
From: Qing He <qing.he@intel.com>
To: Keir Fraser <keir.fraser@eu.citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	Shohei Fujiwara <fujiwara-sxa@necst.nec.co.jp>
Subject: Re: [PATCH 0/6] MSI-INTx interrupt translation for HVM
Date: Mon, 2 Mar 2009 17:24:40 +0800	[thread overview]
Message-ID: <20090302092440.GA22064@ub-qhe2> (raw)
In-Reply-To: <C5D14DB9.3DB4%keir.fraser@eu.citrix.com>

On Mon, 2009-03-02 at 16:47 +0800, Keir Fraser wrote:
> On 02/03/2009 07:19, "Shohei Fujiwara" <fujiwara-sxa@necst.nec.co.jp> wrote:
> 
> > Today, I found the hypervisor issues EOI ASAP. So Qing's explanation
> > reflected the implementation of the hypervisor.
> > 
> > xen/drivers/passthrough/io.c:
> > void hvm_dirq_assist(struct vcpu *v)
> > {
> > ...
> >             if ( hvm_irq_dpci->mirq[irq].flags & HVM_IRQ_DPCI_TRANSLATE )
> >             {
> >                 /* for translated MSI to INTx interrupt, eoi as early as
> > possible */
> >                 __msi_pirq_eoi(d, irq);
> >             }
> 
> Ah, well the passthrough-specific logic is not something I'm so familiar
> with! That above code indeed doesn't look correct. :-)

I recently learned that some device may keep issuing MSI until it is explicitly
cleared by software. In that case it just behaves like level-triggered
interrupt, and doing something like the code above will cause interrupt storm.
This is reflected in cs. 19065.

Do you mean this issue?

Thanks,
Qing


> 
>  -- Keir
> 
> 

  reply	other threads:[~2009-03-02  9:24 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-08  9:06 [PATCH 0/6] MSI-INTx interrupt translation for HVM Qing He
2009-01-08  9:06 ` [PATCH 1/6] passthrough: MSI-INTx " Qing He
2009-01-08  9:06 ` [PATCH 2/6] ioemu:passthrough: MSI-INTx interrupt translation support Qing He
2009-01-08  9:06 ` [PATCH 3/6] pci: add pci option support for XML-RPC server Qing He
2009-01-08  9:06 ` [PATCH 4/6] pci: add pci option support for XenAPI server Qing He
2009-01-08  9:06 ` [PATCH 5/6] pci: add config options for MSI-INTx translation in HVM Qing He
2009-01-08  9:06 ` [PATCH 6/6] passthough: MSI-INTx translation documentation Qing He
2009-01-08 10:44 ` [PATCH 0/6] MSI-INTx interrupt translation for HVM Shohei Fujiwara
2009-01-08 14:52   ` Qing He
2009-01-09  4:26     ` Shohei Fujiwara
2009-01-09  6:57       ` Qing He
2009-01-13  9:05         ` Shohei Fujiwara
2009-01-13  9:28           ` Qing He
2009-01-14  6:39             ` Shohei Fujiwara
2009-01-14  7:38               ` Qing He
2009-01-14  8:26                 ` Shohei Fujiwara
2009-01-14  9:17                   ` Qing He
2009-01-15  2:35                     ` Shohei Fujiwara
2009-01-15  6:25                       ` Qing He
2009-01-16  4:34                         ` Shohei Fujiwara
2009-02-27  2:41     ` Shohei Fujiwara
2009-03-01 14:55       ` Keir Fraser
2009-03-02  7:19         ` Shohei Fujiwara
2009-03-02  8:47           ` Keir Fraser
2009-03-02  9:24             ` Qing He [this message]
2009-03-02  9:40               ` Keir Fraser
2009-03-02 10:27                 ` Shohei Fujiwara

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=20090302092440.GA22064@ub-qhe2 \
    --to=qing.he@intel.com \
    --cc=fujiwara-sxa@necst.nec.co.jp \
    --cc=keir.fraser@eu.citrix.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.