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-ia64-devel

[Xen-ia64-devel] [PATCH][HVM] timing in which isr is set is changed

To: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-ia64-devel] [PATCH][HVM] timing in which isr is set is changed
From: Tomonari Horikoshi <t.horikoshi@xxxxxxxxxxxxxx>
Date: Mon, 19 Mar 2007 18:31:54 +0900
Delivery-date: Mon, 19 Mar 2007 02:31:05 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi all.

When the HVM guest is used with vcpu=5, the hypervisor said "redir 10 not set 
for 180 EOI",
and the HVM guest is Hung.

When the hypervisor with a vcpu context delivers to another vcpu,
EOI might be sent before ISR is set.
( between 107-110. )

We should modify to call viosapic_delver() after ISR setting.


101 static void service_iosapic(struct viosapic *viosapic)
102 {
103     int irq;
104
105     while ( (irq = iosapic_get_highest_irq(viosapic)) != -1 )
106     {
107         viosapic_deliver(viosapic, irq);
108
109         if ( viosapic->redirtbl[irq].trig_mode == SAPIC_LEVEL )
110             viosapic->isr |= (1UL << irq);
111
112         viosapic->irr &= ~(1UL << irq);
113     }
114 }


Best regards,
 Horikoshi

Attachment: xen-fix-ioapic.patch
Description: Binary data

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>