qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v5 0/5] Support for S3 ACPI state (suspend to memory) in BIOS
@ 2008-11-27 11:02 Gleb Natapov
  2008-11-27 11:02 ` [Qemu-devel] [PATCH v5 1/5] Add S3 state to DSDT. Handle resume event in the BIOS Gleb Natapov
                   ` (5 more replies)
  0 siblings, 6 replies; 24+ messages in thread
From: Gleb Natapov @ 2008-11-27 11:02 UTC (permalink / raw)
  To: bochs-developers; +Cc: qemu-devel

Hello,

This patch series adds S3 (suspend to RAM) ACPI state to BIOS. Most
changes concern themselves with preventing BIOS from using memory
locations available to a guest OS.

Changelog:

v2:
- Don't disable SMM.
- Jump to resume vector ASAP. Don't execute entire POST.
- Use smp_cpus directly for smp initialization instead of special memory
  location.

v3:
- Stack pointer for rombios32 code depends on EBDA settings
- Fix .data and .rodata* section overlap
- Various small fixes

v4:
- If resume vector is NULL return to normal POST

v5:
- Call smm_init() at S3 resume boot
- Shadow BIOS before looking for resume vector

---

Gleb Natapov (5):
      Don't power down vga card on entering S3 state.
      Don't use unreserved memory in BIOS.
      Execute rombios32 code from rom address 0xe0000.
      Preserve memory content during SMM init.
      Add S3 state to DSDT. Handle resume event in the BIOS.


 bios/Makefile.in      |    1 
 bios/acpi-dsdt.dsl    |   45 +++++-
 bios/acpi-dsdt.hex    |  376 +++++++++++++++++++++++++------------------------
 bios/rombios.c        |   77 ++++++++--
 bios/rombios.h        |    1 
 bios/rombios32.c      |  132 ++++++++++++++---
 bios/rombios32.ld     |   10 +
 bios/rombios32start.S |   11 +
 8 files changed, 414 insertions(+), 239 deletions(-)

-- 
        Gleb.

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

end of thread, other threads:[~2008-12-14 22:05 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-27 11:02 [Qemu-devel] [PATCH v5 0/5] Support for S3 ACPI state (suspend to memory) in BIOS Gleb Natapov
2008-11-27 11:02 ` [Qemu-devel] [PATCH v5 1/5] Add S3 state to DSDT. Handle resume event in the BIOS Gleb Natapov
2008-12-07  2:57   ` [Qemu-devel] Re: [Bochs-developers] " Kevin O'Connor
2008-12-07  9:20     ` Gleb Natapov
2008-12-07 15:10       ` Kevin O'Connor
2008-12-07 16:31         ` Gleb Natapov
2008-12-09 22:26       ` [Qemu-devel] Re: [Bochs-developers] [PATCH v5 1/5] Add S3 state to DSDT.Handle " Sebastian Herbszt
2008-12-10  0:06         ` Kevin O'Connor
2008-12-10 10:22           ` Gleb Natapov
2008-12-09 13:38     ` [Qemu-devel] Re: [Bochs-developers] [PATCH v5 1/5] Add S3 state to DSDT. Handle " Gleb Natapov
2008-12-09 15:12       ` [Qemu-devel] " Stanislav
2008-12-14 22:02       ` [Qemu-devel] Re: [Bochs-developers] [PATCH v5 1/5] Add S3 state to DSDT.Handle " Sebastian Herbszt
2008-11-27 11:02 ` [Qemu-devel] [PATCH v5 2/5] Preserve memory content during SMM init Gleb Natapov
2008-11-27 11:02 ` [Qemu-devel] [PATCH v5 3/5] Execute rombios32 code from rom address 0xe0000 Gleb Natapov
2008-11-27 11:02 ` [Qemu-devel] [PATCH v5 4/5] Don't use unreserved memory in BIOS Gleb Natapov
2008-11-27 11:02 ` [Qemu-devel] [PATCH v5 5/5] Don't power down vga card on entering S3 state Gleb Natapov
2008-11-27 12:17 ` [Qemu-devel] [PATCH v5 0/5] Support for S3 ACPI state (suspend to memory) in BIOS Carl-Daniel Hailfinger
2008-11-27 12:35   ` Gleb Natapov
2008-11-27 18:59     ` [Bochs-developers] " Stanislav
2008-11-27 19:07       ` Carl-Daniel Hailfinger
2008-11-27 20:04         ` Stanislav
2008-11-27 21:04           ` Carl-Daniel Hailfinger
2008-11-29 19:42             ` Stanislav
2008-12-04 10:04               ` Carl-Daniel Hailfinger

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).