All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Gleb Natapov <gleb@redhat.com>
Cc: kvm@vger.kernel.org
Subject: Re: [PATCH 3/8] Add S3 state to DSDT. Handle resume event in the BIOS.
Date: Sun, 26 Oct 2008 16:58:52 +0200	[thread overview]
Message-ID: <490485AC.1010905@redhat.com> (raw)
In-Reply-To: <20081023140515.10303.38088.stgit@gleb-debian.qumranet.com.qumranet.com>

Gleb Natapov wrote:
> Signed-off-by: Gleb Natapov <gleb@redhat.com>
> ---
>
>  bios/acpi-dsdt.dsl |   33 ++++++++++++++++++-----
>  bios/rombios.c     |   35 +++++++++++++++++++++++++
>  bios/rombios32.c   |   74 ++++++++++++++++++++++++++++++++++++++++++++++++----
>  3 files changed, 130 insertions(+), 12 deletions(-)
>
> diff --git a/bios/acpi-dsdt.dsl b/bios/acpi-dsdt.dsl
> index 577b3fe..02f53a1 100755
> --- a/bios/acpi-dsdt.dsl
> +++ b/bios/acpi-dsdt.dsl
> @@ -65,6 +65,32 @@ DefinitionBlock (
>  	gen_processor(14, E)
>      }
>  
> +    /*
> +     * S3 (suspend-to-ram), S4 (suspend-to-disc) and S5 (power-off) type codes:
> +     * must match piix4 emulation.
> +     */
> +    Name (\_S3, Package (0x04)
> +    {
> +        0x01,  /* PM1a_CNT.SLP_TYP */
> +        0x01,  /* PM1b_CNT.SLP_TYP */
> +        Zero,  /* reserved */
> +        Zero   /* reserved */
> +    })
> +    Name (\_S4, Package (0x04)
> +    {
> +        Zero,  /* PM1a_CNT.SLP_TYP */
> +        Zero,  /* PM1b_CNT.SLP_TYP */
> +        Zero,  /* reserved */
> +        Zero   /* reserved */
> +    })
> +    Name (\_S5, Package (0x04)
> +    {
> +        Zero,  /* PM1a_CNT.SLP_TYP */
> +        Zero,  /* PM1b_CNT.SLP_TYP */
> +        Zero,  /* reserved */
> +        Zero   /* reserved */
> +    })
> +
>      Scope (\)
>      {
>          /* Debug Output */
> @@ -626,13 +652,6 @@ DefinitionBlock (
>          }
>      }
>  
> -    /* S5 = power off state */
> -    Name (_S5, Package (4) {
> -        0x00, // PM1a_CNT.SLP_TYP
> -        0x00, // PM2a_CNT.SLP_TYP
> -        0x00, // reserved
> -        0x00, // reserved
> -    })
>      Scope (\_GPE)
>      {
>   
Any reason for the code movement?


-- 
error compiling committee.c: too many arguments to function


  reply	other threads:[~2008-10-26 14:58 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-23 14:05 [PATCH 0/8] Support for S3 ACPI state (suspend to memory) Gleb Natapov
2008-10-23 14:05 ` [PATCH 1/8] Move PIC initialization out of line to save space in post code area Gleb Natapov
2008-10-23 14:05 ` [PATCH 2/8] Handle suspend in qemu Gleb Natapov
2008-10-23 14:05 ` [PATCH 3/8] Add S3 state to DSDT. Handle resume event in the BIOS Gleb Natapov
2008-10-26 14:58   ` Avi Kivity [this message]
2008-10-23 14:05 ` [PATCH 4/8] Disable init of SMM Gleb Natapov
2008-10-23 14:05 ` [PATCH 5/8] Execute rombios32 code from rom address 0xe0000 Gleb Natapov
2008-10-23 14:05 ` [PATCH 6/8] Don't use unreserved memory in BIOS Gleb Natapov
2008-10-23 14:05 ` [PATCH 7/8] Add DPMS support to cirrus vga bios Gleb Natapov
2008-10-23 14:05 ` [PATCH 8/8] Don't power down vga card on entering S3 state Gleb Natapov
2008-10-23 15:45   ` Anthony Liguori
2008-10-23 16:12 ` [PATCH 0/8] Support for S3 ACPI state (suspend to memory) Anthony Liguori
2008-10-23 16:38   ` Avi Kivity
2008-10-23 18:17     ` Anthony Liguori
2008-10-23 19:51       ` Avi Kivity
     [not found]   ` <20081023173748.GA13097@redhat.com>
2008-10-23 18:18     ` Anthony Liguori
     [not found]       ` <20081023182153.GA13492@redhat.com>
2008-10-23 18:41         ` Anthony Liguori
2008-10-23 22:04 ` Sebastian Herbszt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=490485AC.1010905@redhat.com \
    --to=avi@redhat.com \
    --cc=gleb@redhat.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.