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

[Xen-devel] [PATCH] Enable x2APIC only when BSP did so

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Enable x2APIC only when BSP did so
From: "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>
Date: Tue, 19 Aug 2008 18:39:03 -0700
Accept-language: en-US
Acceptlanguage: en-US
Delivery-date: Tue, 19 Aug 2008 18:39:30 -0700
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckCZYPvF1kzBpEETmiDG0FiLgfOTQ==
Thread-topic: [PATCH] Enable x2APIC only when BSP did so
The following (attached) patch ensures that APs enable x2APIC only when the BSP 
did so. Please apply.

Signed-off-by: Jun Nakajima <jun.nakajikma@xxxxxxxxx>
---
diff -r 7c10be016e43 xen/arch/x86/smpboot.c
--- a/xen/arch/x86/smpboot.c    Tue Aug 19 10:51:41 2008 +0100
+++ b/xen/arch/x86/smpboot.c    Tue Aug 19 12:50:55 2008 -0700
@@ -325,7 +325,7 @@ void __devinit smp_callin(void)
         */
        wait_for_init_deassert(&init_deasserted);

-       if ( x2apic_is_available() )
+       if ( x2apic_enabled )
                enable_x2apic();

        /*

Jun
---
Intel Open Source Technology Center


Attachment: x2apic_smp.patch
Description: x2apic_smp.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Enable x2APIC only when BSP did so, Nakajima, Jun <=