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] Interrupt synchronisation and HVM

To: James Harper <james.harper@xxxxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Interrupt synchronisation and HVM
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Fri, 25 Jul 2008 08:09:18 +0100
Cc:
Delivery-date: Fri, 25 Jul 2008 00:10:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D01490029@trantor>
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: AcjuGCB1rA6bC/FxTNi4IWNnmz7YQwAC1+cNAAAIUmAAAG5Lcw==
Thread-topic: [Xen-devel] Interrupt synchronisation and HVM
User-agent: Microsoft-Entourage/11.4.0.080122
On 25/7/08 08:02, "James Harper" <james.harper@xxxxxxxxxxxxxxxx> wrote:

> Just to clarify, if I have masked the interrupts via
> HVM_PARAM_CALLBACK_IRQ = 0, it is safe to do nothing when the interrupt
> occurs right? I don't need to unset the 'pending' bits or anything?

Yes, as soon as HVM_PARAM_CALLBACK_IRQ=0 the 'interrupt wire' is
de-asserted. You only get a single spurious interrupt if the wire status was
latched by the PIC or IO-APIC before you cleared HVM_PARAM_CALLBACK_IRQ.

 -- Keir



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

<Prev in Thread] Current Thread [Next in Thread>