[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5 0/5] Support for S3 ACPI state (suspend to me
From: |
Carl-Daniel Hailfinger |
Subject: |
Re: [Qemu-devel] [PATCH v5 0/5] Support for S3 ACPI state (suspend to memory) in BIOS |
Date: |
Thu, 27 Nov 2008 13:17:16 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.17) Gecko/20080922 SUSE/1.1.12-0.1 SeaMonkey/1.1.12 |
Hi,
On 27.11.2008 12:02, Gleb Natapov wrote:
> 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.
>
I see the problem you're facing with the overwrite and it looks there
might be a cleaner solution: If you can lock the CPU cache so that
writes don't get passed through to RAM, you're free to use any area
(with a few contraints) for stack without having to worry about
clobbering memory contents there.
That method is called Cache-as-RAM and I'm currently trying to implement
it in Qemu. I haven't looked into Bochs yet, but it should be doable
there as well.
coreboot (a free x86 firmware/BIOS replacement) is using Cache-as-RAM
and I believe quite a few commercial BIOSes use that technique as well.
Regards,
Carl-Daniel
- [Qemu-devel] [PATCH v5 0/5] Support for S3 ACPI state (suspend to memory) in BIOS, Gleb Natapov, 2008/11/27
- [Qemu-devel] [PATCH v5 1/5] Add S3 state to DSDT. Handle resume event in the BIOS., Gleb Natapov, 2008/11/27
- [Qemu-devel] [PATCH v5 2/5] Preserve memory content during SMM init., Gleb Natapov, 2008/11/27
- [Qemu-devel] [PATCH v5 3/5] Execute rombios32 code from rom address 0xe0000., Gleb Natapov, 2008/11/27
- [Qemu-devel] [PATCH v5 4/5] Don't use unreserved memory in BIOS., Gleb Natapov, 2008/11/27
- [Qemu-devel] [PATCH v5 5/5] Don't power down vga card on entering S3 state., Gleb Natapov, 2008/11/27
- Re: [Qemu-devel] [PATCH v5 0/5] Support for S3 ACPI state (suspend to memory) in BIOS,
Carl-Daniel Hailfinger <=
- Re: [Qemu-devel] [PATCH v5 0/5] Support for S3 ACPI state (suspend to memory) in BIOS, Gleb Natapov, 2008/11/27
- RE: [Bochs-developers] [Qemu-devel] [PATCH v5 0/5] Support for S3 ACPI state (suspend to memory) in BIOS, Stanislav, 2008/11/27
- Re: [Bochs-developers] [Qemu-devel] [PATCH v5 0/5] Support for S3 ACPI state (suspend to memory) in BIOS, Carl-Daniel Hailfinger, 2008/11/27
- RE: [Bochs-developers] [Qemu-devel] [PATCH v5 0/5] Support for S3 ACPI state (suspend to memory) in BIOS, Stanislav, 2008/11/27
- Re: [Bochs-developers] [Qemu-devel] [PATCH v5 0/5] Support for S3 ACPI state (suspend to memory) in BIOS, Carl-Daniel Hailfinger, 2008/11/27
- RE: [Bochs-developers] [Qemu-devel] [PATCH v5 0/5] Support for S3 ACPI state (suspend to memory) in BIOS, Stanislav, 2008/11/29