[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] x86: Fix APIC 0x40 error when CPU online and Host s3 resume



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1236856614 0
# Node ID dc5441bf3ddcfb14045333c9992fd919c5d79a24
# Parent  8ecf3ecc888e6dc7ddf39c078929f748745a84f9
x86: Fix APIC 0x40 error when CPU online and Host s3 resume

disable_APIC_timer actually is not useful here. Actually it will
trigger a local APIC error when masking the LVT entry when vector is
zero (before timer is inited) on Intel P6 family. This APIC error(40)
appears when online the offlined CPU and Host S3 resume.

Signed-off-by: Liping Ke <liping.ke@xxxxxxxxx>
Signed-off-by: Gang Wei <gang.wei@xxxxxxxxx>
---
 xen/arch/x86/smpboot.c |    4 +---
 1 files changed, 1 insertion(+), 3 deletions(-)

diff -r 8ecf3ecc888e -r dc5441bf3ddc xen/arch/x86/smpboot.c
--- a/xen/arch/x86/smpboot.c    Thu Mar 12 11:14:22 2009 +0000
+++ b/xen/arch/x86/smpboot.c    Thu Mar 12 11:16:54 2009 +0000
@@ -385,9 +385,7 @@ void __devinit smp_callin(void)
        /*
         * Save our processor parameters
         */
-       smp_store_cpu_info(cpuid);
-
-       disable_APIC_timer();
+       smp_store_cpu_info(cpuid);
 
        /*
         * Allow the master to continue.

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.