All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] hvmloader: add "wakeup from S4 on RTC alarm" bit to ACPI FADT
@ 2011-02-04 13:52 Paolo Bonzini
  2011-02-04 15:04 ` [PATCH] hvmloader: add "wakeup from S4 on RTC alarm"bit " Keir Fraser
  0 siblings, 1 reply; 12+ messages in thread
From: Paolo Bonzini @ 2011-02-04 13:52 UTC (permalink / raw)
  To: xen-devel

# HG changeset patch
# User Paolo Bonzini <pbonzini@redhat.com>
# Date 1296827299 -3600
# Node ID c923816861a96328aaf3d5ba8939fd9b4c441cd0
# Parent  4cd3bd56fc0343031085b7e466e3022816b1b5dc
hvmloader: add "wakeup from S4 on RTC alarm" bit to ACPI FADT

Testing Xen with Microsoft's Windows logo tests reveals a non-fatal
failure in the "CHAOS" test (more precisely in the PwrTest subjob).

The test expects to be able to hibernate the machine and have it
power up again via the RTC.  We do not really care about implementing
the exact timing in the management (and neither does MS) so their
request can be easily by manually restarting the VM or even via
on_poweroff="restart" (granted, that's not something you'd usually do).

Ok?

Paolo

diff --git a/tools/firmware/hvmloader/acpi/static_tables.c b/tools/firmware/hvmloader/acpi/static_tables.c
--- a/tools/firmware/hvmloader/acpi/static_tables.c
+++ b/tools/firmware/hvmloader/acpi/static_tables.c
@@ -71,7 +71,8 @@ struct acpi_20_fadt Fadt = {
     .flags = (ACPI_PROC_C1 |
               ACPI_WBINVD |
               ACPI_FIX_RTC | ACPI_TMR_VAL_EXT |
-              ACPI_USE_PLATFORM_CLOCK),
+              ACPI_USE_PLATFORM_CLOCK |
+              ACPI_RTC_S4),
 
     .reset_reg = {
         .address_space_id    = ACPI_SYSTEM_IO,

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2011-02-07 14:47 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-04 13:52 [PATCH] hvmloader: add "wakeup from S4 on RTC alarm" bit to ACPI FADT Paolo Bonzini
2011-02-04 15:04 ` [PATCH] hvmloader: add "wakeup from S4 on RTC alarm"bit " Keir Fraser
2011-02-04 15:22   ` Paul Durrant
2011-02-04 15:57     ` Paolo Bonzini
2011-02-04 16:00       ` Paul Durrant
2011-02-04 16:02         ` [PATCH] hvmloader: add "wakeup from S4 on RTC alarm" bit " Paolo Bonzini
2011-02-04 16:17         ` [PATCH] hvmloader: add "wakeup from S4 on RTC alarm"bit " Tim Deegan
2011-02-04 16:22           ` Paolo Bonzini
2011-02-07 10:28             ` Tim Deegan
2011-02-07 12:17               ` Ian Jackson
2011-02-07 14:47               ` Stefano Stabellini
2011-02-04 15:28   ` Paolo Bonzini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.