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/
Home Products Support Community News


[Xen-devel] ia64 event channels

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: [Xen-devel] ia64 event channels
From: Matt Chapman <matthewc@xxxxxx>
Date: Tue, 14 Jun 2005 14:32:43 -0600
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 14 Jun 2005 20:31:47 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
This is the one change we've made to architecture-independent code
for event channels.  Rather than polling the event channel flags
on every return, we pend an interrupt in evtchn_set_pending.

This might be better abstracted into some architecture-dependent
header file, but I'm not sure where.  We could add an asm/event.h,
though it does seem a bit excessive to add a file just for one
trivial hook.


===== event.h 1.26 vs 1.27 =====
--- 1.26/xen/include/xen/event.h        Fri Jun  3 10:42:09 2005
+++ 1.27/xen/include/xen/event.h        Fri Jun 10 17:26:21 2005
@@ -34,6 +34,9 @@
         /* The VCPU pending flag must be set /after/ update to evtchn-pend. */
         set_bit(0, &v->vcpu_info->evtchn_upcall_pending);
+#ifdef __ia64__
+       vcpu_pend_interrupt(v, s->arch.evtchn_vector);
          * NB1. 'vcpu_flags' and 'processor' must be checked /after/ update of

Xen-devel mailing list

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