WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: [PATCH] Handle MSI irq storm

To: "Shan, Haitao" <haitao.shan@xxxxxxxxx>
Subject: [Xen-devel] Re: [PATCH] Handle MSI irq storm
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Thu, 03 Jul 2008 09:10:47 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 03 Jul 2008 01:11:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <823A93EED437D048963A3697DB0E35DE017FD97E@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acjcy8F+D4qxw0AnTb6V8UsSMvI8BwAGIrDf
Thread-topic: [PATCH] Handle MSI irq storm
User-agent: Microsoft-Entourage/11.4.0.080122
I thought that there already was storm-avoidance logic included, because of
the other storm scenario you used to be able to reproduce? Also this patch
looks like it will only avoid storms destined for an HVM guest. A non-HVM
irq will have IRQ_INPROGRESS cleared before interrupt delivery is
re-enabled. So if a storm does occur, it will look like the previous
interrupt was already handled when it in fact wasn't?

In the hvm EOI function you clear IRQ_INPROGRESS but do not ->enable() the
irq line. Is that correct?

 -- Keir

On 3/7/08 06:15, "Shan, Haitao" <haitao.shan@xxxxxxxxx> wrote:

>  <<handle_msi_irq_storm.patch>> Hi, Keir,
> 
> This patch handles MSI irq storm. Unluckily, I have observed this
> phenomenon again. This will happen when some kind of MSI-X capable NIC
> is assigned to an HVM guest. The basic idea is to mask the interrupt on
> receiving the second interrupt and set a timer to unmask after 1ms.
> Can you have a look and give some comments on that? Thanks!
> 
> Best Regards
> Shan Haitao 



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel