qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [4904] Revert "fix power management timer overflow handling" (Avi Kivity).
@ 2008-07-19 14:11 Andrzej Zaborowski
  0 siblings, 0 replies; only message in thread
From: Andrzej Zaborowski @ 2008-07-19 14:11 UTC (permalink / raw)
  To: qemu-devel

Revision: 4904
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4904
Author:   balrog
Date:     2008-07-19 14:11:22 +0000 (Sat, 19 Jul 2008)

Log Message:
-----------
Revert "fix power management timer overflow handling" (Avi Kivity).

The fix is bogus, causing sci to be deferred for longer and longer.

Noticed by Alex Williamson.

Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

Modified Paths:
--------------
    trunk/hw/acpi.c

Modified: trunk/hw/acpi.c
===================================================================
--- trunk/hw/acpi.c	2008-07-19 14:09:20 UTC (rev 4903)
+++ trunk/hw/acpi.c	2008-07-19 14:11:22 UTC (rev 4904)
@@ -105,7 +105,6 @@
     if ((s->pmen & TMROF_EN) && !(pmsts & TMROF_EN)) {
         expire_time = muldiv64(s->tmr_overflow_time, ticks_per_sec, PM_FREQ);
         qemu_mod_timer(s->tmr_timer, expire_time);
-        s->tmr_overflow_time += 0x800000;
     } else {
         qemu_del_timer(s->tmr_timer);
     }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-19 14:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-19 14:11 [Qemu-devel] [4904] Revert "fix power management timer overflow handling" (Avi Kivity) Andrzej Zaborowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).