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] vmx_init_env must be called on eve

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] vmx_init_env must be called on every processor
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 08 Apr 2008 02:00:50 -0700
Delivery-date: Tue, 08 Apr 2008 02:01:55 -0700
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 Alex Williamson <alex.williamson@xxxxxx>
# Date 1205528532 21600
# Node ID 82fa2e6cb592b0d8be6251ea8849250b3f960b2d
# Parent  d2a3b823b7aab1355c7ac86ebd9c8151e11edee7
[IA64] vmx_init_env must be called on every processor

Signed-off-by: Anthony Xu <anthony.xu@xxxxxxxxx>
---
 xen/arch/ia64/linux-xen/smpboot.c |    4 ++++
 xen/arch/ia64/vmx/vmx_init.c      |    2 ++
 2 files changed, 6 insertions(+)

diff -r d2a3b823b7aa -r 82fa2e6cb592 xen/arch/ia64/linux-xen/smpboot.c
--- a/xen/arch/ia64/linux-xen/smpboot.c Fri Mar 14 15:00:27 2008 -0600
+++ b/xen/arch/ia64/linux-xen/smpboot.c Fri Mar 14 15:02:12 2008 -0600
@@ -64,6 +64,7 @@
 #ifdef XEN
 #include <xen/domain.h>
 #include <asm/hw_irq.h>
+#include <asm/vmx.h>
 #ifndef CONFIG_SMP
 cpumask_t cpu_online_map = CPU_MASK_CPU0;
 EXPORT_SYMBOL(cpu_online_map);
@@ -442,6 +443,9 @@ start_secondary (void *unused)
        smp_callin();
 
 #ifdef XEN
+       if (vmx_enabled)
+               vmx_init_env(0, 0);
+
        startup_cpu_idle_loop();
 #else
        cpu_idle();
diff -r d2a3b823b7aa -r 82fa2e6cb592 xen/arch/ia64/vmx/vmx_init.c
--- a/xen/arch/ia64/vmx/vmx_init.c      Fri Mar 14 15:00:27 2008 -0600
+++ b/xen/arch/ia64/vmx/vmx_init.c      Fri Mar 14 15:02:12 2008 -0600
@@ -105,6 +105,8 @@ no_vti:
 }
 
 /*
+ *  ** This function must be called on every processor **
+ *
  * Init virtual environment on current LP
  * vsa_base is the indicator whether it's first LP to be initialized
  * for current domain.

_______________________________________________
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] vmx_init_env must be called on every processor, Xen patchbot-unstable <=