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

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

To: "Shan, Haitao" <haitao.shan@xxxxxxxxx>
Subject: Re: [Xen-devel] Re: [PATCH] Handle MSI irq storm
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Thu, 03 Jul 2008 10:24:00 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 03 Jul 2008 02:24:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C4925653.23779%keir.fraser@xxxxxxxxxxxxx>
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+D4qxw0AnTb6V8UsSMvI8BwAGIrDfAABHUbAAAdev+QAAb5xs
Thread-topic: [Xen-devel] Re: [PATCH] Handle MSI irq storm
User-agent: Microsoft-Entourage/11.4.0.080122
On 3/7/08 10:11, "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx> wrote:

>  1. Push your INPROGRESS logic inside of hvm_do_IRQ_dpci() (you'll have to
> create new flag in place of using IRQ_INPROGRESS, obviously). Have
> hvm_do_IRQ_dpci() return one of three statuses: not handled, handled, and
> already pending. Don't bother clearing the flag in the hvm eoi function.
> It's not really a requirement for this scheme to work.

Errm, actually it *is* a requirement to clear the flag in the eoi function.
That's the whole point of how you'll detect spurious interrupts delivered to
HVM guests. Ignore my ridiculous last sentence above. :-)

 -- Keir



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