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-changelog

[Xen-changelog] [xen-unstable] [IA64] HVM domains need to trigger do_sof

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] HVM domains need to trigger do_softirq for PAL_HALT_LIGHT too
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 09 Dec 2006 15:43:54 +0000
Delivery-date: Sat, 09 Dec 2006 07:45:29 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID 62686b2e13ea44a9831a00e4a724cfbdecb9d4c5
# Parent  439051df45f3d43793e4b0370da0b55ef0b3dc75
[IA64] HVM domains need to trigger do_softirq for PAL_HALT_LIGHT too

call do_softirq() to enter scheduler when VTI does PAL_HALT_LIGHT,
like xen-ia64-unstable.hg changeset:

12520:bcd2960d6dfd018de58fc0113c37d30edbe802c5

Signed-off-by: Zhang Xin <xing.z.zhang@xxxxxxxxx>
---
 xen/arch/ia64/xen/fw_emul.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletion(-)

diff -r 439051df45f3 -r 62686b2e13ea xen/arch/ia64/xen/fw_emul.c
--- a/xen/arch/ia64/xen/fw_emul.c       Thu Nov 30 15:57:42 2006 -0700
+++ b/xen/arch/ia64/xen/fw_emul.c       Thu Nov 30 15:57:47 2006 -0700
@@ -32,6 +32,7 @@
 #include <asm/uaccess.h>
 #include <xen/console.h>
 #include <xen/hypercall.h>
+#include <xen/softirq.h>
 
 static DEFINE_SPINLOCK(efi_time_services_lock);
 
@@ -611,8 +612,10 @@ xen_pal_emulator(unsigned long index, u6
            case PAL_HALT_LIGHT:
                if (VMX_DOMAIN(current)) {
                        /* Called by VTI.  */
-                       if (!is_unmasked_irq(current))
+                       if (!is_unmasked_irq(current)) {
                                do_sched_op_compat(SCHEDOP_block, 0);
+                               do_softirq();
+                       }
                        status = PAL_STATUS_SUCCESS;
                }
                break;

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] HVM domains need to trigger do_softirq for PAL_HALT_LIGHT too, Xen patchbot-unstable <=