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]Fix CMOS time error after waking up from S3 by /proc/

To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>
Subject: [Xen-devel] [patch]Fix CMOS time error after waking up from S3 by /proc/acpi/alarm
From: "Chen, Huacai" <huacai.chen@xxxxxxxxx>
Date: Thu, 19 Jun 2008 22:25:36 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 19 Jun 2008 07:26:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcjSGFdZuIfLnHvlRkGiBMxDUTUT/w==
Thread-topic: [patch]Fix CMOS time error after waking up from S3 by /proc/acpi/alarm
Hi, Keir

This is a patch for Domain0. When writing /proc/acpi/alarm to wakeup up
in adjust mode, this patch read the "century" filed and add it to the
"year" field before writing. This avoids the CMOS time error (2000 years
decrement) after waking up.

Signed-off-by: Huacai Chen <huacai.chen@xxxxxxxxx>

Attachment: acpi_dom0_alarm.patch
Description: acpi_dom0_alarm.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]Fix CMOS time error after waking up from S3 by /proc/acpi/alarm, Chen, Huacai <=