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] irq_guest_eoi_timer interaction with MSI

To: Jan Beulich <jbeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] irq_guest_eoi_timer interaction with MSI
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 25 Nov 2008 10:47:31 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 25 Nov 2008 02:47:53 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <492BDD85.76E4.0078.0@xxxxxxxxxx>
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: AclO6zdedhDzErreEd2gdwAX8io7RQ==
Thread-topic: [Xen-devel] irq_guest_eoi_timer interaction with MSI
User-agent: Microsoft-Entourage/11.4.0.080122
On 25/11/08 10:12, "Jan Beulich" <jbeulich@xxxxxxxxxx> wrote:

>>>> Keir Fraser <keir.fraser@xxxxxxxxxxxxx> 24.11.08 18:02 >>>
>> Setting the need-a-hypercall bit looks racey. Don't you need to set the bit,
>> then check the guest didn't unmask meanwhile?
> 
> What would the action be in that case? Try send_guest_pirq() a second
> time, and not arm the timer (along with clearing all the bits again) if one
> of the guests is now able to accept it? Would seem too complicated to me
> (the more that then the HVM case would need to be taken care of
> explicitly), given that all we try to avoid is a 1ms gap in delivering the
> next event. But it would be doable of course.

Yes, I think it would be something like that. As you say, the patch you
propose is a strict improvement on the current state of affairs, so we can
just go with that and extend it only if it proves necessary.

 -- Keir



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