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] x86: fix dom0 S3 when x2apic is used.

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] x86: fix dom0 S3 when x2apic is used.
From: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
Date: Thu, 18 Mar 2010 17:22:25 +0800
Accept-language: zh-CN, en-US
Acceptlanguage: zh-CN, en-US
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 18 Mar 2010 02:23:27 -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: AcrGfIVyLuB4EBRRSRmVPNzvcWmd4w==
Thread-topic: [PATCH] x86: fix dom0 S3 when x2apic is used.
1) Some variables and functions in xen/arch/x86/genapic/x2apic.c should not be
marked with __init* as they will be used during s3 resume;
2) In do_suspend_lowlevel -> restore_rest_processor_state -> mcheck_init,
lapic is accessed, but x2apic hasn't been re-enabled yet (x2apic is re-enabled()
in device_power_up -> lapic_resume). The patch moves mcheck_init to a later
place.

Thanks,
-- Dexuan
 

Attachment: fix_s3_when_x2apic_is_enabled.patch
Description: fix_s3_when_x2apic_is_enabled.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] x86: fix dom0 S3 when x2apic is used., Cui, Dexuan <=