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

[XenPPC] [pushed][ppc] Make sure IRQs are enabled while processing hcall

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [pushed][ppc] Make sure IRQs are enabled while processing hcalls
From: jimix@xxxxxxxxxxxxxx
Date: Wed, 29 Mar 2006 12:34:48 -0500
Delivery-date: Wed, 29 Mar 2006 17:34:20 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
changeset:   9664:7c52c6507ea3
user:        jimix@xxxxxxxxxxxxxxxxxxxxx
date:        Wed Mar 29 12:28:58 2006 -0500
summary:     [ppc] Make sure IRQs are enabled while processing hcalls

diff -r cdf8ac2329d1 -r 7c52c6507ea3 xen/arch/ppc/hcalls.c
--- a/xen/arch/ppc/hcalls.c     Wed Mar 29 12:22:26 2006 -0500
+++ b/xen/arch/ppc/hcalls.c     Wed Mar 29 12:28:58 2006 -0500
@@ -77,6 +77,8 @@ void do_hcall(struct cpu_user_regs *regs
 {
     ulong num = regs->gprs[3];
 
+    local_irq_enable();
+
     if ((num & XEN_MARK(0)) == XEN_MARK(0)) {
         /* it's a Xen call */
         num &= ~XEN_MARK(0);



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

<Prev in Thread] Current Thread [Next in Thread>
  • [XenPPC] [pushed][ppc] Make sure IRQs are enabled while processing hcalls, jimix <=