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

RE: [Xen-ia64-devel] [PATCH] [RESEND] Merge vpsr.i withevtchn_upcall_mas

To: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-ia64-devel] [PATCH] [RESEND] Merge vpsr.i withevtchn_upcall_mask tosolve one trickish bug
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Thu, 30 Mar 2006 11:07:37 +0800
Delivery-date: Thu, 30 Mar 2006 03:09:02 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
Thread-index: AcZTphR7pqkuR8gbSQibAS8b17PS+wAAKapA
Thread-topic: [Xen-ia64-devel] [PATCH] [RESEND] Merge vpsr.i withevtchn_upcall_mask tosolve one trickish bug
Hi, Alex,
        Please help apply this one which is also the base requirement for
more coming efforts. :-)

Thanks,
Kevin
>From:Tian, Kevin
>Sent: 2006年3月30日 11:00
>Per agreement on the summit, xen/ia64 will move to event channel
>model same as xen/x86, under which event is the layer under pirq
>(external interrupt), virq, and ipi with the latter three bound
>to event ports. Within that model, no external interrupt will be
>injected directly and evtchn_upcall_mask is the flag to  control
>whether events are deliverable.
>
>So xenlinux needs to operate evtchn_upcall_mask at all places
>where it originally operates vpsr.i. However these two flags are
>presented at different shared area, and thus xenlinux can't ensure
>atomical update on two flags which leaves severe stability issues.
>One severe bug comes for this reason where some hypercall may be
>restarted infinitely when events pending.
>
>Actually based on description of future model, events become the
>superset of external interrupts and thus evtchn_upcall_mask super-
>set of vpsr.i (interrupt_delivery_enable). We can merge two flags
>into one by removing the latter. By this way, we ensure correctness
>and most importantly conform to common code which always assumes
>upon evtchn_upcall_mask.
>
>Signed-off-by Kevin Tian <kevin.tian@xxxxxxxxx>
>
>(Thanks for Isaku's comments)
>
>- Kevin

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

<Prev in Thread] Current Thread [Next in Thread>
  • RE: [Xen-ia64-devel] [PATCH] [RESEND] Merge vpsr.i withevtchn_upcall_mask tosolve one trickish bug, Tian, Kevin <=